Repository navigation
Retire the ~/.bash_logout workaround now v0 carries the build-lectures fix - #120
Merged
Merged
Conversation
CONTRIBUTING release step 5, discharged for v0.10.0. `bjc-smoke` carried `rm -f ~/.bash_logout` because build-jupyter-cache reaches build-lectures at the pinned @v0 ref, and that copy still ended its login-shell build step with the `exit` builtin — which ~/.bash_logout corrupts on hosted runners. v0 now points at b3af228, which carries `(exit "$BUILD_EXIT_CODE")`, so the workaround is obsolete. Removing it is not just tidying. While the step was present the job destroyed the very condition that triggers the bug, so it could not have detected a bash_logout-class regression reaching consumers through the pinned chain. Removal restores that coverage, and this PR is the proof: it touches a covered path, so bjc-smoke runs with ~/.bash_logout present on the runner and must go green unaided. Also blanks the "Currently outstanding" register in CONTRIBUTING rather than leaving it pointing at a step that no longer exists — a stale tripwire is worse than none, since the next releaser would hunt for something already gone. Side effect worth noting: the `needs: env-seed` comment on bjc-smoke is now accurate. It claimed the internal setup-environment@v0 could reuse env-seed's conda cache, but v0's cache path differed from the PR's, and `path` is part of the actions/cache version — so the keys matched while the versions did not and reuse never actually happened. v0.10.0 ships the path fix, so it does now. Refs #116, #100 Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
Contributor
There was a problem hiding this comment.
Pull request overview
Removes a now-obsolete hosted-runner workaround from the action test harness after @v0 has advanced to a release that includes the build-lectures login-shell exit-status fix, and updates the release checklist “tripwire” accordingly.
Changes:
- Remove the
rm -f ~/.bash_logoutworkaround step from thebjc-smokejob in the action harness. - Update
CONTRIBUTING.mdrelease step 5 to mark “Currently outstanding” workarounds as none, while retaining the instruction to register future temporary workarounds.
Reviewed changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.
| File | Description |
|---|---|
| CONTRIBUTING.md | Clears the “currently outstanding” workaround register and keeps the guidance to record future @v0 workarounds. |
| .github/workflows/test-actions.yml | Drops the ~/.bash_logout removal step so bjc-smoke exercises the real hosted-runner condition again. |
This was referenced Aug 5, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Discharges CONTRIBUTING release step 5 for v0.10.0, and closes item 1 of #116 — the one knowingly-temporary thing in the tree.
Why it existed
build-jupyter-cachecallsbuild-lecturesat a pinned@v0ref, and GitHub forbids expressions inuses:, so that copy could not pick up a sibling fix until the floating tag moved. Until then it still ended its login-shell build step with theexitbuiltin, which~/.bash_logoutcorrupts on hosted runners —clear_consolefails headless atSHLVL=1and its status overrides the one passed toexit, turning a successful build into exit 1.bjc-smokeneutralised the logout hook to work around it.v0now points atb3af228(v0.10.0), which carries(exit "$BUILD_EXIT_CODE"). Verified from a fresh clone of the remote tag: the fixed form is present and the oldexit $BUILD_EXIT_CODEis gone.Why removal is coverage, not tidying
While the step was present, the job destroyed the very condition that triggers the bug — so it could not have detected a
bash_logout-class regression reaching consumers through the pinned chain. Removal restores that.This PR is its own proof. It touches
.github/workflows/test-actions.yml, a covered path, so the harness runs on it andbjc-smokemust go green with~/.bash_logoutpresent on the runner and no workaround. That green run is the evidence thatv0'sbuild-lecturespropagates status correctly through the pinned chain — the first time that has ever been tested.The tripwire
CONTRIBUTING step 5's "Currently outstanding" register is blanked rather than left pointing at a step that no longer exists. A stale tripwire is worse than none: the next releaser would grep for something already gone, conclude the instruction was noise, and be that much less likely to trust it when it does matter. The instruction to add an entry when introducing a workaround stays.
Side effect
The
needs: env-seedcomment onbjc-smokeis now accurate. It claimed the internalsetup-environment@v0could reuseenv-seed's conda cache "(same key format today)", butv0's cache path differed from the PR's andpathis part of theactions/cacheversion — so the keys matched while the versions did not, and reuse never actually happened. v0.10.0 ships the path fix, so it does now. Expectbjc-smoketo get slightly faster.Remaining
@v0in the fileFour references remain, all permanent explanatory comments about the structural limitation (lines 36, 39, 465, 472) — not workarounds, and they should stay.
Refs #116, #100
🤖 Generated with Claude Code