Skip to content

fix: avoid force push in codex workflows to work with v0.95.0 git safety - #2981

Merged
jackye1995 merged 2 commits into
lancedb:mainfrom
jackye1995:fix-codex-bump
Feb 5, 2026
Merged

jackye1995 merged 2 commits into
lancedb:mainfrom
jackye1995:fix-codex-bump

Conversation

@jackye1995

@jackye1995 jackye1995 commented Feb 5, 2026 •

Copy link
Copy Markdown
Contributor

Summary

  • Codex CLI v0.95.0 (PR #10258) hardened git command safety so force push (git push -f, --force, --force-with-lease, +refspec) now requires approval, which blocks it in non-interactive exec mode.
  • This broke the codex-update-lance-dependency workflow — the job succeeded but failed to push the branch or create the PR.
  • Replace force push with gh api branch deletion followed by regular git push.
  • Also update the script to bump Java lance-core version which was missing previously

Test plan

🤖 Generated with Claude Code

Codex CLI v0.95.0 hardened git command safety so force push (`git push -f`)
now requires approval, which blocks it in non-interactive exec mode. Replace
force push with `gh api` branch deletion followed by regular `git push`.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <[email protected]>
@github-actions github-actions Bot added the bug Something isn't working label Feb 5, 2026
Add step to update the <lance-core.version> property in java/pom.xml
when bumping Lance dependencies.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <[email protected]>
@jackye1995
jackye1995 merged commit 6fd8586 into lancedb:main Feb 5, 2026
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants