Skip to content

fix(jangar): fetch main before rollout ancestry check#5568

Merged
gregkonush merged 1 commit intomainfrom
codex/swarm-jangar-control-plane-verify
May 5, 2026
Merged

fix(jangar): fetch main before rollout ancestry check#5568
gregkonush merged 1 commit intomainfrom
codex/swarm-jangar-control-plane-verify

Conversation

@gregkonush
Copy link
Copy Markdown
Member

@gregkonush gregkonush commented May 5, 2026

Summary

  • Fetch origin/main before declaring an Argo-synced revision unavailable during rollout ancestry checks.
  • Add regression coverage for the race where Argo syncs a newer main commit that is not present in the verifier checkout.
  • Use ancestor revision matching for manual jangar-post-deploy-verify reruns with an explicit expected revision.

Related Issues

None. Follow-up to the #5563 post-deploy verification false negative.

Testing

  • PASS: bun install --frozen-lockfile --ignore-scripts
  • PASS: bunx oxfmt --check packages/scripts/src/jangar/verify-deployment.ts packages/scripts/src/jangar/__tests__/verify-deployment.test.ts
  • PASS: bun test packages/scripts/src/jangar/__tests__/verify-deployment.test.ts
  • PASS: bun run --cwd packages/scripts lint (0 errors; existing unrelated warnings remain)
  • PASS: bun run --cwd packages/scripts lint:oxlint:type (0 errors; existing unrelated warnings remain)
  • PASS: go run github.com/rhysd/actionlint/cmd/actionlint@latest -color -ignore 'label "arc-arm64" is unknown' .github/workflows/jangar-build-push.yaml .github/workflows/jangar-release.yml .github/workflows/jangar-deploy-automerge.yml .github/workflows/jangar-post-deploy-verify.yml .github/workflows/jangar-guardrails.yml

Screenshots (if applicable)

N/A

Breaking Changes

None.

Checklist

  • Testing section documents the exact validation performed (or N/A with justification).
  • Screenshots and Breaking Changes sections are handled appropriately (removed or filled in).
  • Documentation, release notes, and follow-ups are updated or tracked.

@gregkonush
Copy link
Copy Markdown
Member Author

gregkonush commented May 5, 2026

Merge gate: passed for #5568 and follow-on Jangar promotion #5572.

Evidence:

Residual risk:

  • /ready still reports execution_trust degraded because jangar-control-plane:verify is stale and torghut-quant:discover has consecutive failures. Serving rollout is healthy, but swarm admissions remain held until those evidence windows are refreshed.

@gregkonush gregkonush force-pushed the codex/swarm-jangar-control-plane-verify branch from 0afd028 to b5f49c4 Compare May 5, 2026 21:32
@gregkonush gregkonush merged commit 0171735 into main May 5, 2026
23 of 24 checks passed
@gregkonush gregkonush deleted the codex/swarm-jangar-control-plane-verify branch May 5, 2026 21:38
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