Skip to content

Rebase the rebuilt paper.pdf before pushing - #365

Merged
neuromechanist merged 1 commit into
devfrom
fix/draft-pdf-push-race
Sep 24, 2026
Merged

neuromechanist merged 1 commit into
devfrom
fix/draft-pdf-push-race

Conversation

@neuromechanist

Copy link
Copy Markdown
Member

The Draft PDF run on the epic #324 merge commit (d79328b) failed.

  • Cause: auto-bump-dev.yml pushed the version bump to dev while the PDF was building, so the plain git push of the rebuilt PDF was rejected as not up to date.

  • Why it matters now: since Epic #324: first-class MLX and reference-faithful fitting #364, the PDF is committed back only on dev and main, which makes that race the common case after a merge.

  • Fix: the commit step now rebases onto the branch head before pushing, and retries up to three times. The bump never touches paper.pdf, so the rebase cannot conflict.

  • actionlint clean

After this merges, a manual run of the workflow on dev rebuilds the PDF for the merged paper.

auto-bump-dev.yml can push to dev while the PDF builds, which
rejected the plain push after the epic #324 merge. Checked with
actionlint.
@neuromechanist
neuromechanist merged commit 7dab117 into dev Sep 24, 2026
10 checks passed
@neuromechanist
neuromechanist deleted the fix/draft-pdf-push-race branch September 24, 2026 07:46
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