Skip to content

fix(ci): use normal pushes for dependency bundle updates - #34

Closed
Jamie-BitFlight wants to merge 1 commit into
mainfrom
repair/fast-forward-bundle-updates
Closed

Jamie-BitFlight wants to merge 1 commit into
mainfrom
repair/fast-forward-bundle-updates

Conversation

@Jamie-BitFlight

@Jamie-BitFlight Jamie-BitFlight commented Oct 11, 2026 •

Copy link
Copy Markdown
Contributor

Closed unmerged after reviewing the actual concurrency semantics. The current exact-head checkout creates only a child commit; its explicit lease prevents concurrent deletion from recreating a stale branch. Removing the lease would weaken correctness without fixing a demonstrated history rewrite. Release publication already uses an ordinary atomic exact-tag push.

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 11, 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-10-11T01:03:36.771672Z ef9fc01 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.

@coderabbitai

coderabbitai Bot commented Oct 11, 2026

Copy link
Copy Markdown

Important

  • 🔍 Trigger review

This repository does not receive automatic reviews because it has fewer than 10 stars.

⚙️ Run configuration
  • Configuration used: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 3ac775dd-fd38-45dc-beb2-0b2c0c27d762

  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@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: ef9fc01654

ℹ️ 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".

git add -- dist
git commit -m 'chore: rebuild packaged action for dependency update'
git push origin "HEAD:refs/heads/$BRANCH" --force-with-lease="refs/heads/$BRANCH:$EXPECTED_SHA"
git push origin "HEAD:refs/heads/$BRANCH"

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 Preserve the expected-SHA guard when pushing the bundle

If the Dependabot PR is closed and its branch is deleted while this job is building, no closed event cancels the workflow and this ordinary refspec push recreates the deleted branch. The removed exact lease rejected that case because the remote ref no longer equaled EXPECTED_SHA; as git push -h documents, --force-with-lease=<refname>:<expect> will “require old value of ref to be at this value.” Keep an atomic expected-SHA guard so a stale job cannot resurrect a deliberately deleted dependency branch.

Useful? React with 👍 / 👎.

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