Split production auto-deploy into scoped redeploy calls #1838

Merged
hongming merged 1 commits from fix/prod-auto-deploy-scoped-rollout into main 2026-05-25 07:56:46 +00:00
Owner

Summary

  • replaces the single long production redeploy-fleet request with CP-planned canary and batch scoped calls
  • uses redeploy-fleet dry-run as SSOT for rollout-eligible tenant slugs
  • writes partial rollout responses on failure so CI summaries keep failed slug evidence

Verification

  • python3 -m compileall -q .gitea/scripts/prod-auto-deploy.py
  • python3 -m pytest .gitea/scripts/tests/test_prod_auto_deploy.py -q
  • python3 .gitea/scripts/lint-workflow-yaml.py --workflow-dir .gitea/workflows
  • git diff --check
## Summary - replaces the single long production redeploy-fleet request with CP-planned canary and batch scoped calls - uses redeploy-fleet dry-run as SSOT for rollout-eligible tenant slugs - writes partial rollout responses on failure so CI summaries keep failed slug evidence ## Verification - python3 -m compileall -q .gitea/scripts/prod-auto-deploy.py - python3 -m pytest .gitea/scripts/tests/test_prod_auto_deploy.py -q - python3 .gitea/scripts/lint-workflow-yaml.py --workflow-dir .gitea/workflows - git diff --check
hongming added 1 commit 2026-05-25 07:40:00 +00:00
Split production auto-deploy into scoped redeploy calls
ci-arm64-advisory / fast-checks (pull_request) Waiting to run
Lint shellcheck (arm64 pilot) / shellcheck-arm64 (pilot) (pull_request) Successful in 11s
Block internal-flavored paths / Block forbidden paths (pull_request) Successful in 4s
CI / Python Lint & Test (pull_request) Successful in 6s
CI / Detect changes (pull_request) Successful in 9s
E2E API Smoke Test / detect-changes (pull_request) Successful in 7s
Handlers Postgres Integration / detect-changes (pull_request) Successful in 6s
E2E Chat / detect-changes (pull_request) Successful in 8s
E2E Staging Canvas (Playwright) / detect-changes (pull_request) Successful in 9s
Lint no tenant GITEA or GITHUB token write / Scan for repo-host token write into tenant workspace surface (pull_request) Successful in 7s
Lint forbidden tenant-env keys / Scan workspace_secrets writers for forbidden env keys (pull_request) Successful in 8s
Lint curl status-code capture / Scan workflows for curl status-capture pollution (pull_request) Successful in 9s
CI / all-required (pull_request) Successful in 2m31s
lint-required-workflows-docker-host-pinned / Lint docker-host pin on docker-touching workflows (pull_request) Successful in 3s
Lint pre-flip continue-on-error / Verify continue-on-error flips have run-log proof (pull_request) Successful in 1m0s
lint-continue-on-error-tracking / lint-continue-on-error-tracking (pull_request) Successful in 1m18s
Secret scan / Scan diff for credential-shaped strings (pull_request) Successful in 5s
lint-required-no-paths / lint-required-no-paths (pull_request) Successful in 1m2s
lint-required-context-exists-in-bp / lint-required-context-exists-in-bp (pull_request) Successful in 1m20s
gate-check-v3 / gate-check (pull_request) Successful in 7s
qa-review / approved (pull_request) Failing after 4s
security-review / approved (pull_request) Failing after 3s
sop-checklist / all-items-acked (pull_request) Successful in 4s
sop-checklist / review-refire (pull_request) Has been skipped
sop-tier-check / tier-check (pull_request) Successful in 4s
Lint workflow YAML (Gitea-1.22.6-hostile shapes) / Lint workflow YAML for Gitea-1.22.6-hostile shapes (pull_request) Successful in 1m15s
Ops Scripts Tests / Ops scripts (unittest) (pull_request) Successful in 1m5s
CI / Platform (Go) (pull_request) Successful in 6s
CI / Canvas (Next.js) (pull_request) Successful in 3s
CI / Shellcheck (E2E scripts) (pull_request) Successful in 2s
E2E API Smoke Test / E2E API Smoke Test (pull_request) Successful in 3s
E2E Chat / E2E Chat (pull_request) Successful in 8s
Handlers Postgres Integration / Handlers Postgres Integration (pull_request) Successful in 8s
E2E Staging Canvas (Playwright) / Canvas tabs E2E (pull_request) Successful in 9s
CI / Canvas Deploy Reminder (pull_request) Has been skipped
9d8291b763
app-fe force-pushed fix/prod-auto-deploy-scoped-rollout from 9d8291b763 to 6285bb55a3 2026-05-25 07:41:21 +00:00 Compare
core-qa approved these changes 2026-05-25 07:49:46 +00:00
core-qa left a comment
Member

Approved after focused review of production auto-deploy scoped rollout fix. Local/sub-agent review found previous blockers addressed: CP dry-run remains SSOT for rollout candidates, and workflow emits partial failure evidence before exiting.

Approved after focused review of production auto-deploy scoped rollout fix. Local/sub-agent review found previous blockers addressed: CP dry-run remains SSOT for rollout candidates, and workflow emits partial failure evidence before exiting.
core-security approved these changes 2026-05-25 07:49:46 +00:00
core-security left a comment
Member

Approved after focused review of production auto-deploy scoped rollout fix. Local/sub-agent review found previous blockers addressed: CP dry-run remains SSOT for rollout candidates, and workflow emits partial failure evidence before exiting.

Approved after focused review of production auto-deploy scoped rollout fix. Local/sub-agent review found previous blockers addressed: CP dry-run remains SSOT for rollout candidates, and workflow emits partial failure evidence before exiting.
Member

APPROVED — QA review of production auto-deploy scoped rollout fix. CP dry-run remains the rollout-candidate SSOT and failure evidence is surfaced before exit.

APPROVED — QA review of production auto-deploy scoped rollout fix. CP dry-run remains the rollout-candidate SSOT and failure evidence is surfaced before exit.
Member

APPROVED — security review of production auto-deploy scoped rollout fix. No token logging added; bearer stays in headers and summaries only print redacted error presence.

APPROVED — security review of production auto-deploy scoped rollout fix. No token logging added; bearer stays in headers and summaries only print redacted error presence.
Author
Owner

/qa-recheck

/qa-recheck
Author
Owner

/security-recheck

/security-recheck
agent-dev-b approved these changes 2026-05-25 07:53:58 +00:00
agent-dev-b left a comment
Member

LGTM

LGTM
core-qa approved these changes 2026-05-25 07:56:31 +00:00
core-security approved these changes 2026-05-25 07:56:31 +00:00
hongming merged commit ef1d35c32b into main 2026-05-25 07:56:46 +00:00
Sign in to join this conversation.
5 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: molecule-ai/molecule-core#1838