Skip to content

feat(release): add superdoc to stable orchestrator (chain-aware fail-stop)#3204

Open
caio-pizzol wants to merge 1 commit intomainfrom
release-orchestrator-pr2-superdoc
Open

feat(release): add superdoc to stable orchestrator (chain-aware fail-stop)#3204
caio-pizzol wants to merge 1 commit intomainfrom
release-orchestrator-pr2-superdoc

Conversation

@caio-pizzol
Copy link
Copy Markdown
Contributor

Stacked on #3201. Brings superdoc into the stable release orchestrator so its v* tag drives docs-stable promotion in the same workflow that releases tools, eliminating the cross-workflow concurrency-eviction problem for stable superdoc releases.

The orchestrator now groups packages by `chain`. Within a chain, fail-stop applies (CLI failure skips SDK/MCP). Across chains, failures are independent - a tools failure no longer skips superdoc and vice versa.

  • `release-superdoc.yml` stops auto-firing on stable; main pushes still publish prereleases, and workflow_dispatch is preserved for recovery.
  • `promote-stable-docs.yml` triggers off the orchestrator. The conclusion gate now accepts both success and failure so a tools-chain failure that follows a successful superdoc release still promotes docs. The inner git-tag detection (compare tags merged at the run's head_sha vs origin/stable) remains the source of truth, so tools-only runs leave docs-stable alone.
  • The orchestrator workflow's `name:` field is unchanged so the workflow_run trigger and concurrency group continue to match without coordinated edits. A rename is best as a follow-up cleanup PR.

Must stay the same: SDK output contract (`sdk_python_snapshot_`, `sdk_release_`); CLI/SDK/MCP recovery paths.

Verified: `node --test scripts/tests/release-local.test.mjs` → 23 pass, 2 fail (the two failures are pre-existing on `main` and unrelated to this change).

@caio-pizzol caio-pizzol requested a review from a team as a code owner May 7, 2026 21:37
Copy link
Copy Markdown

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 7e3439340b

ℹ️ About Codex in GitHub

Codex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".

Comment thread .github/workflows/promote-stable-docs.yml
Base automatically changed from release-orchestrator-pr1-descriptors to main May 7, 2026 21:41
@caio-pizzol caio-pizzol force-pushed the release-orchestrator-pr2-superdoc branch 2 times, most recently from d1570ac to ecba8c3 Compare May 7, 2026 21:54
…stop)

Adds superdoc to the stable orchestrator so the v* tag drives docs-stable
promotion in the same workflow that releases tools, removing the cross-
workflow concurrency-eviction problem for stable superdoc releases.

The orchestrator now groups packages by chain. Within a chain, fail-stop
applies as before (CLI failure skips SDK/MCP). Across chains, failures
are independent: a tools failure does not skip superdoc and vice versa.

Workflow rewiring:
- release-superdoc.yml stops auto-firing on stable; main pushes still
  publish prereleases, and workflow_dispatch is preserved for recovery.
- promote-stable-docs.yml triggers off release-stable.yml. The conclusion
  gate now accepts both success and failure - a tools-chain failure that
  follows a successful superdoc release should still promote docs. The
  inner git-tag detection (compare tags merged at the run's head_sha vs
  origin/stable) remains the source of truth, so tools-only runs still
  leave docs-stable alone.
- release-stable.yml header comments + step name updated to reflect the
  broader scope; the workflow's name field is unchanged so the existing
  workflow_run trigger and concurrency group continue to match. A rename
  is best as a follow-up cleanup PR.

Stacked on #3201 (descriptor refactor).
@caio-pizzol caio-pizzol force-pushed the release-orchestrator-pr2-superdoc branch from ecba8c3 to bea5ba8 Compare May 7, 2026 21:59
@codecov-commenter
Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants