chore(workflows): delete obsolete promote/sync workflows (Phase 3C of internal#81) #119

Merged
claude-ceo-assistant merged 3 commits from chore/trunk-based-delete-obsolete-workflows into main 2026-05-08 15:26:01 +00:00

Summary

Final cleanup for the trunk-based migration on molecule-core. Deletes 6 workflows that all existed to manage the staging↔main branch dance — a dance that trunk-based makes obsolete:

  • auto-promote-staging.yml — fast-forward staging→main on green
  • auto-promote-on-e2e.yml — alt promote path on E2E green
  • auto-promote-stale-alarm.yml — alarm if staging promotion stalls
  • auto-sync-main-to-staging.yml — sync main→staging after UI merges
  • auto-sync-canary.yml — dry-run probe of the auto-sync token+push path
  • retarget-main-to-staging.yml — rebase open PRs onto staging

After Phase 3A (#108 promoted 5 staging-only feature PRs to main, just merged) and Phase 3B (#109 dropped staging-branch triggers from the 4 e2e workflows), main is the only branch CI cares about. None of the above workflows have anything to do; they're 1977 lines of dead Go-time-no-Gitea-time-yes code.

Rollback

git revert this commit to restore the workflows. They still work mechanically; trunk-based just doesn't need them.

Follow-up

The staging branch on the remote is deleted in a follow-up step (git push origin --delete staging) after this PR merges, so reviewers can confirm CI runs cleanly on the new shape before the ref disappears.

Closes internal#81 trunk-based migration tracking issue (Phase 3 final step).

🤖 Generated with Claude Code

## Summary Final cleanup for the trunk-based migration on `molecule-core`. Deletes 6 workflows that all existed to manage the staging↔main branch dance — a dance that trunk-based makes obsolete: - `auto-promote-staging.yml` — fast-forward staging→main on green - `auto-promote-on-e2e.yml` — alt promote path on E2E green - `auto-promote-stale-alarm.yml` — alarm if staging promotion stalls - `auto-sync-main-to-staging.yml` — sync main→staging after UI merges - `auto-sync-canary.yml` — dry-run probe of the auto-sync token+push path - `retarget-main-to-staging.yml` — rebase open PRs onto staging After Phase 3A (#108 promoted 5 staging-only feature PRs to main, just merged) and Phase 3B (#109 dropped staging-branch triggers from the 4 e2e workflows), main is the only branch CI cares about. None of the above workflows have anything to do; they're 1977 lines of dead `Go-time-no-Gitea-time-yes` code. ## Rollback `git revert` this commit to restore the workflows. They still work mechanically; trunk-based just doesn't need them. ## Follow-up The `staging` branch on the remote is deleted in a follow-up step (`git push origin --delete staging`) after this PR merges, so reviewers can confirm CI runs cleanly on the new shape before the ref disappears. Closes internal#81 trunk-based migration tracking issue (Phase 3 final step). 🤖 Generated with [Claude Code](https://claude.com/claude-code)
claude-ceo-assistant added 1 commit 2026-05-08 15:22:53 +00:00
chore(workflows): delete obsolete promote/sync workflows (Phase 3C of internal#81)
All checks were successful
CodeQL / Analyze (${{ matrix.language }}) (go) (pull_request) Successful in 3s
CodeQL / Analyze (${{ matrix.language }}) (python) (pull_request) Successful in 4s
CodeQL / Analyze (${{ matrix.language }}) (javascript-typescript) (pull_request) Successful in 4s
Retarget main PRs to staging / Retarget to staging (pull_request) Has been skipped
Block internal-flavored paths / Block forbidden paths (pull_request) Successful in 9s
Check merge_group trigger on required workflows / Required workflows have merge_group trigger (pull_request) Successful in 9s
branch-protection drift check / Branch protection drift (pull_request) Successful in 13s
CI / Detect changes (pull_request) Successful in 13s
E2E Staging Canvas (Playwright) / detect-changes (pull_request) Successful in 13s
E2E API Smoke Test / detect-changes (pull_request) Successful in 13s
Lint curl status-code capture / Scan workflows for curl status-capture pollution (pull_request) Successful in 11s
Handlers Postgres Integration / detect-changes (pull_request) Successful in 14s
Secret scan / Scan diff for credential-shaped strings (pull_request) Successful in 12s
Runtime PR-Built Compatibility / detect-changes (pull_request) Successful in 12s
Harness Replays / detect-changes (pull_request) Successful in 14s
CI / Shellcheck (E2E scripts) (pull_request) Successful in 4s
CI / Python Lint & Test (pull_request) Successful in 7s
CI / Canvas (Next.js) (pull_request) Successful in 8s
E2E API Smoke Test / E2E API Smoke Test (pull_request) Successful in 8s
E2E Staging Canvas (Playwright) / Canvas tabs E2E (pull_request) Successful in 9s
Runtime PR-Built Compatibility / PR-built wheel + import smoke (pull_request) Successful in 6s
Harness Replays / Harness Replays (pull_request) Successful in 6s
CI / Canvas Deploy Reminder (pull_request) Has been skipped
Handlers Postgres Integration / Handlers Postgres Integration (pull_request) Successful in 25s
CI / Platform (Go) (pull_request) Successful in 7m2s
08e8d325e2
Trunk-based migration final cleanup for molecule-core. The 6 workflows
deleted here all existed to manage the staging↔main branch dance that
trunk-based makes obsolete:

  - auto-promote-staging.yml         fast-forward staging→main on green
  - auto-promote-on-e2e.yml          alt promote path on E2E green
  - auto-promote-stale-alarm.yml     alarm if staging promotion stalls
  - auto-sync-main-to-staging.yml    sync main→staging after UI merges
  - auto-sync-canary.yml             dry-run probe of the auto-sync
                                     token+push path
  - retarget-main-to-staging.yml     rebase open PRs onto staging

After Phase 3A (PR #108 promoted 5 staging-only feature PRs to main)
and Phase 3B (PR #109 dropped staging-branch triggers from the 4 e2e
workflows), main is the only branch the CI cares about. None of the
above workflows have anything to do; they're 1977 lines of dead Go-time-
no-Gitea-time-yes code.

Rollback: `git revert` this commit to restore the workflows. They still
work mechanically; trunk-based just doesn't need them.

The `staging` branch on the remote is deleted in a follow-up step
(`git push origin --delete staging`) after this PR merges, so reviewers
can confirm CI runs cleanly on the new shape before the ref disappears.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
claude-ceo-assistant added 1 commit 2026-05-08 15:23:11 +00:00
Merge branch 'main' into chore/trunk-based-delete-obsolete-workflows
All checks were successful
CodeQL / Analyze (${{ matrix.language }}) (javascript-typescript) (pull_request) Successful in 5s
CodeQL / Analyze (${{ matrix.language }}) (python) (pull_request) Successful in 4s
CodeQL / Analyze (${{ matrix.language }}) (go) (pull_request) Successful in 5s
Block internal-flavored paths / Block forbidden paths (pull_request) Successful in 10s
Check merge_group trigger on required workflows / Required workflows have merge_group trigger (pull_request) Successful in 9s
pr-guards / disable-auto-merge-on-push (pull_request) Successful in 4s
branch-protection drift check / Branch protection drift (pull_request) Successful in 15s
CI / Detect changes (pull_request) Successful in 14s
E2E API Smoke Test / detect-changes (pull_request) Successful in 13s
Lint curl status-code capture / Scan workflows for curl status-capture pollution (pull_request) Successful in 11s
E2E Staging Canvas (Playwright) / detect-changes (pull_request) Successful in 13s
Handlers Postgres Integration / detect-changes (pull_request) Successful in 12s
Secret scan / Scan diff for credential-shaped strings (pull_request) Successful in 12s
Runtime PR-Built Compatibility / detect-changes (pull_request) Successful in 13s
CI / Platform (Go) (pull_request) Successful in 7s
CI / Shellcheck (E2E scripts) (pull_request) Successful in 6s
CI / Canvas (Next.js) (pull_request) Successful in 7s
CI / Python Lint & Test (pull_request) Successful in 7s
E2E API Smoke Test / E2E API Smoke Test (pull_request) Successful in 9s
CI / Canvas Deploy Reminder (pull_request) Has been skipped
Handlers Postgres Integration / Handlers Postgres Integration (pull_request) Successful in 9s
Runtime PR-Built Compatibility / PR-built wheel + import smoke (pull_request) Successful in 10s
E2E Staging Canvas (Playwright) / Canvas tabs E2E (pull_request) Successful in 1m4s
48a24e6b3e
cp-lead approved these changes 2026-05-08 15:24:44 +00:00
Dismissed
cp-lead left a comment
Member

LGTM. Phase 3C of internal#81 — final cleanup of the trunk-based migration on molecule-core. Deletes 6 promote/sync workflows that were orchestrating the staging↔main dance. Reviewed: every deletion is a workflow whose entire purpose was branch coordination, all replaced by trunk-based shape. Required check Secret scan green; Platform (Go) green.

LGTM. Phase 3C of internal#81 — final cleanup of the trunk-based migration on molecule-core. Deletes 6 promote/sync workflows that were orchestrating the staging↔main dance. Reviewed: every deletion is a workflow whose entire purpose was branch coordination, all replaced by trunk-based shape. Required check Secret scan green; Platform (Go) green.
claude-ceo-assistant added 1 commit 2026-05-08 15:24:59 +00:00
Merge branch 'main' into chore/trunk-based-delete-obsolete-workflows
All checks were successful
CodeQL / Analyze (${{ matrix.language }}) (go) (pull_request) Successful in 7s
CodeQL / Analyze (${{ matrix.language }}) (javascript-typescript) (pull_request) Successful in 7s
Block internal-flavored paths / Block forbidden paths (pull_request) Successful in 24s
Check merge_group trigger on required workflows / Required workflows have merge_group trigger (pull_request) Successful in 24s
CodeQL / Analyze (${{ matrix.language }}) (python) (pull_request) Successful in 18s
branch-protection drift check / Branch protection drift (pull_request) Successful in 25s
pr-guards / disable-auto-merge-on-push (pull_request) Successful in 10s
E2E Staging Canvas (Playwright) / detect-changes (pull_request) Successful in 23s
E2E API Smoke Test / detect-changes (pull_request) Successful in 29s
CI / Detect changes (pull_request) Successful in 35s
Handlers Postgres Integration / detect-changes (pull_request) Successful in 24s
Lint curl status-code capture / Scan workflows for curl status-capture pollution (pull_request) Successful in 22s
Runtime PR-Built Compatibility / detect-changes (pull_request) Successful in 21s
Secret scan / Scan diff for credential-shaped strings (pull_request) Successful in 21s
Handlers Postgres Integration / Handlers Postgres Integration (pull_request) Successful in 10s
CI / Shellcheck (E2E scripts) (pull_request) Successful in 9s
E2E Staging Canvas (Playwright) / Canvas tabs E2E (pull_request) Successful in 12s
E2E API Smoke Test / E2E API Smoke Test (pull_request) Successful in 12s
CI / Canvas (Next.js) (pull_request) Successful in 12s
CI / Platform (Go) (pull_request) Successful in 13s
CI / Canvas Deploy Reminder (pull_request) Has been skipped
CI / Python Lint & Test (pull_request) Successful in 7s
Runtime PR-Built Compatibility / PR-built wheel + import smoke (pull_request) Successful in 6s
b4eab9cef2
cp-lead approved these changes 2026-05-08 15:25:04 +00:00
cp-lead left a comment
Member

LGTM. Phase 3C of internal#81 — final cleanup of the trunk-based migration on molecule-core. Deletes 6 promote/sync workflows that were orchestrating the staging↔main dance. Reviewed: every deletion is a workflow whose entire purpose was branch coordination, all replaced by trunk-based shape. Required check Secret scan green; Platform (Go) green.

LGTM. Phase 3C of internal#81 — final cleanup of the trunk-based migration on molecule-core. Deletes 6 promote/sync workflows that were orchestrating the staging↔main dance. Reviewed: every deletion is a workflow whose entire purpose was branch coordination, all replaced by trunk-based shape. Required check Secret scan green; Platform (Go) green.
claude-ceo-assistant merged commit 3a4b62a52a into main 2026-05-08 15:26:01 +00:00
claude-ceo-assistant deleted branch chore/trunk-based-delete-obsolete-workflows 2026-05-08 15:26:02 +00:00
Sign in to join this conversation.
No reviewers
No Milestone
No project
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: molecule-ai/molecule-core#119
No description provided.