Skip to content

test(hub): restore the tenant, credential and incident regression tests - #848

Merged
TheGreatAxios merged 1 commit into
mainfrom
test-restore-boundary-tests
Nov 5, 2026
Merged

TheGreatAxios merged 1 commit into
mainfrom
test-restore-boundary-tests

Conversation

@TheGreatAxios

Copy link
Copy Markdown
Contributor

Summary

  • Webhook bridge: a hook loads only for its tenant, an unknown hook is 404, a lookup by name without a tenant misses, and a Bitbucket repository with the GitHub one's name is never treated as it.
  • GitHub App setup: the callback refuses with 403 and never exchanges the code when replacement authority is absent.
  • GitHub App credentials: installation tokens are cached per repository, and the internal installation selector header never reaches GitHub.
  • Sign-in: the caller's address comes only from the header a detected host sets.
  • Local sidecars: boot retires every sidecar earlier boots left behind, and each allocation gets its own sidecar whose destroy stops it and removes its files.
  • Policy file: without a webhook a merged policy file is read within a minute, and a name both hosts hold is read only for the host asked.
  • Manager routes: malformed, non-JSON and oversized bodies are refused before the store is touched, and /openapi.json documents each manager route.

Verification

  • bun --conditions=intx-src test on the seven touched files against local Postgres: 51 pass, 0 fail.
  • bun run check and bun run lint pass.

Refs CL-12132

@linear-code

linear-code Bot commented Nov 5, 2026

Copy link
Copy Markdown

CL-12132

@corbits-triage

corbits-triage Bot commented Nov 5, 2026 •

Copy link
Copy Markdown
Contributor

Merged before Triage finished on 3745dc4.

@TheGreatAxios
TheGreatAxios merged commit ced3620 into main Nov 5, 2026
19 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant