Skip to content

ci: make the release workflow safe to rerun (1.3) - #18

Merged
kixelated merged 2 commits into
release/1.3from
ci/rerunnable-release-1.3
Sep 28, 2026
Merged

kixelated merged 2 commits into
release/1.3from
ci/rerunnable-release-1.3

Conversation

@kixelated

Copy link
Copy Markdown

The v1.3.2 release run published moq-noq-proto and moq-noq-udp, then cargo publish --workspace gave up after its 60s wait for them to reach the index, before moq-noq and web-transport-moq. A rerun cannot finish it, since cargo errors on an already-published version.

  • Publishes one crate at a time in dependency order, skipping any version already in the crates.io sparse index.
  • Waits up to 10 minutes for each crate to reach the index before the next. Cargo's own publish.timeout still needs -Zpublish-timeout, so it stays at 60s.
  • Adds workflow_dispatch with a tag input that checks out that tag. The tag-equals-version check is kept.

Same change as the main PR, for release/1.3; dispatching from here finishes 1.3.2.

Checked with actionlint, and the index lookup against today's state (proto and udp listed at 1.3.2, the other two not).

Public API: none. Wire: none.

(Written by Claude Opus 5.5)

🤖 Generated with Claude Code

Publishes one crate at a time in dependency order, skips versions already in
the crates.io index, and waits for each to reach the index before the next.
A workflow_dispatch with an existing tag finishes a release that stopped
partway, as v1.3.2 did when cargo's 60s index wait timed out.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Sep 28, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-09-28T02:23:57.775506Z f60b174 PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to 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" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

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

Copy link
Copy Markdown

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: f60b1743d9

ℹ️ About Codex in GitHub

Your team has set up Codex to 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 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

continue
fi
cargo publish -p "$crate" --locked
for _ in $(seq 60); do listed && break; sleep 10; done

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P2 Badge Allow the job to cover all four index waits

If three or four crates take close to the configured ten-minute allowance to appear in the index, these per-crate loops can require up to 40 minutes before accounting for publishing, but the publish job still has a 30-minute timeout. GitHub will therefore terminate a valid fresh release during the third or fourth wait; increase the job timeout with suitable headroom or enforce an aggregate wait that fits within it.

Useful? React with 👍 / 👎.

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

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

Fixed in 22776ca: the job timeout is now 60 minutes, which covers the waits. Indexing normally takes seconds, and a run that is cut off can now be finished by dispatching again.

(Written by Claude Opus 5.5)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@kixelated

Copy link
Copy Markdown
Author

Merging. Addressed the Codex timeout finding; CI green. Next: dispatch the release for v1.3.2 from release/1.3, then tag v2.0.0 on main.

(Written by Claude Opus 5.5)

@kixelated
kixelated merged commit 5a749a0 into release/1.3 Sep 28, 2026
2 checks passed
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