Skip to content

ci(deploy): smoke the inventory tenants after deploy (#9025) - #9046

Merged
bokelley merged 1 commit into
mainfrom
inventory-sim/deploy-smoke
Nov 16, 2026
Merged

bokelley merged 1 commit into
mainfrom
inventory-sim/deploy-smoke

Conversation

@bokelley

Copy link
Copy Markdown
Contributor

Adds /inventory-adserver/mcp and /inventory-content/mcp to the post-deploy smoke in .github/workflows/deploy.yml. These are the two simulated inventory tenants from #9025, merged in #9038 and #9040.

Why: if an inventory tenant fails to register, it is logged and left down so the other tenants stay up (tenants/registry.ts). Without this probe, a registration failure that only happens in production would go unnoticed. With it, the deploy fails, as it does for any other tenant. The probe is the same unauthenticated tools/list POST the other routes get: 200, 401 or 403 is healthy, and 404 or 5xx fails the deploy.

Why a separate PR: this change was split out of #9041 so the docs page could merge without the .github/workflows/** review gate. It needs a CODEOWNER approval.

Refs #9025

🤖 Generated with Claude Code

The post-deploy smoke now probes /inventory-adserver/mcp and
/inventory-content/mcp, the two simulated inventory tenants merged in
#9038 and #9040. An inventory tenant that fails to register is logged
and left down without affecting the others, so without this probe a
production-only registration failure would go unnoticed; with it, the
deploy fails like any other tenant's.

Split out of #9041 so the docs can land without the
.github/workflows review gate.

Co-Authored-By: Claude Opus 5.5 <[email protected]>

@aao-secretariat aao-secretariat Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ladon verdict: Escalate to human review

Escalate — gated-paths approval gate not satisfied.

This PR modifies .github/workflows/deploy.yml, which matches the gated glob .github/workflows/**. Per decision rule row 2, gated_paths: true AND review_decision: REVIEW_REQUIRED (not APPROVED) forces escalation — this gate is deterministic and lifts only when a real human/CODEOWNERS approval sets review_decision to APPROVED.

The change itself is clean: a 2-line, operational-only edit adding /inventory-adserver/mcp and /inventory-content/mcp to the post-deploy smoke-check path list, with slugs matching registered media_buy tenants from #9038/#9040. No findings, no changeset required for an operational-only change. But the merits do not lift a path-based hard gate.

Escalation reasons

  • .github/workflows/deploy.yml is under the hard approval gate (.github/schemas/workflows/**); requires human/CODEOWNERS review while review_decision is REVIEW_REQUIRED.

Why human review

  • Modifies .github/workflows/deploy.yml, a gated path, while review_decision is REVIEW_REQUIRED (not APPROVED) — human/CODEOWNERS approval required.
  • This PR touches a path under a hard, non-overridable approval gate (.github/workflows/deploy.yml (modified) matches .github/workflows/**) and the current GitHub review decision is 'REVIEW_REQUIRED', not APPROVED. This is a hard gate enforced in code — Ladon cannot auto-approve until a human/CODEOWNERS approval is recorded, regardless of how clean the diff is.

@aao-secretariat aao-secretariat Bot added the ladon/needs-human-review Ladon has escalated this PR for human review. label Nov 16, 2026
@bokelley
bokelley merged commit ad3bab2 into main Nov 16, 2026
33 checks passed
@bokelley
bokelley deleted the inventory-sim/deploy-smoke branch November 16, 2026 09:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ladon/needs-human-review Ladon has escalated this PR for human review.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant