Skip to content

release-train: staging -> main - #484

Merged
tracebloc-release-train[bot] merged 3 commits into
mainfrom
release-train/to-main
Aug 11, 2026
Merged

release-train: staging -> main#484
tracebloc-release-train[bot] merged 3 commits into
mainfrom
release-train/to-main

Conversation

@LukasWodka

@LukasWodka LukasWodka commented Aug 11, 2026

Copy link
Copy Markdown
Contributor

Automated promotion by the release train (RFC-0008 D14). Head is the train-managed release-train/to-main branch (a mirror of staging), so it never collides with a human PR. Merged only when the fr-gate is green.


Note

Low Risk
Documentation and local-only Makefile/git hook changes; no runtime or CI behavior changes beyond optional contributor tooling.

Overview
Developer workflow: make setup now installs a git pre-push hook that runs make check before each push (skippable with git push --no-verify). A new make install-hooks target installs or refreshes that hook without re-running the full setup; it uses git rev-parse --git-path hooks, refuses to overwrite a non–tracebloc pre-push hook, and unsets Git env vars in the hook so linked worktrees don’t break nested git during tests.

Docs: Org engineer kanban guidance adds that every ticket must have a Status (new work starts in Backlog), with bugs labeled work-type:bug going straight to Ready.

Reviewed by Cursor Bugbot for commit e115479. Bugbot is set up for automated code reviews on this repo. Configure here.

LukasWodka and others added 3 commits August 11, 2026 08:48
…backend#1606) (#482)

* chore(devex): install a make check pre-push hook via make setup (backend#1606)

Step 4 of backend#1606, fanned out to cli. `make setup` now installs a
git pre-push hook that runs `make check`, factored into a standalone,
independently runnable `install-hooks` target. Mirrors the merged
reference e2e-test-agent#46.

Honest by construction: the hook catches forgetting, not defiance
(`git push --no-verify` always skips it); it refuses to clobber a
foreign pre-push hook; and it resolves the hooks dir via
`git rev-parse --git-path hooks`, so it is worktree/submodule-safe.

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

* chore(devex): install-hooks comment — 'rerun make setup', not 'venv' (backend#1606)

The copied block said 'need not rebuild the (minutes-long) venv', which is false for cli (Go) and client (tool-check only) and loose elsewhere. Generalise to 'need not rerun the full make setup' — true in every repo.

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

* fix(devex): clear git's hook env in the pre-push hook so `make check` survives worktrees (backend#1606)

Bugbot (Medium) on cli#482: git exports GIT_DIR/GIT_WORK_TREE/etc into hook
processes. `make check` runs `go test`, whose buildvcs probe shells out to git
under that env and fails with "exit status 128" in a linked worktree/submodule —
so a green tree could still block every push, in exactly the worktree case the
install claims to be safe in.

Fix: the generated hook now `unset`s the git hook-env vars before `exec make
check`, so the checks run as if invoked from the shell (git rediscovers the repo
from the CWD). Harmless in normal clones; only affects the broken-in-worktree
case. cli is the only Go repo, but the hook content is uniform across the fleet,
so this same change lands in every install-hooks target.

Verified: Makefile parses; generated hook is valid `sh -n`; the unset clears
GIT_DIR/GIT_WORK_TREE for the child.

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

* fix(devex): fail install-hooks if the hook write/chmod fails, don't report false success (backend#1606)

Bugbot (Low) on cli#482: the install steps were ';'-chained, so a failed printf or chmod still exited 0 and printed 'installed'. Git skips a non-executable hook, so make setup could look green while no hook runs. Chain with '&&' so any failure fails the recipe. Uniform across the fleet.

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

---------

Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com>
Managed sync from tracebloc/.github/org-standards.md.

Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
@LukasWodka

Copy link
Copy Markdown
Contributor Author

bugbot run

@cursor cursor 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.

✅ Bugbot reviewed your changes and found no new issues!

Comment @cursor review or bugbot run to trigger another review on this PR

Reviewed by Cursor Bugbot for commit e115479. Configure here.

@tracebloc-release-train tracebloc-release-train Bot added gate-nudge Toggled by the release train to (re-)fire the fr-gate and removed gate-nudge Toggled by the release train to (re-)fire the fr-gate labels Aug 11, 2026
@tracebloc-release-train
tracebloc-release-train Bot merged commit 5deff71 into main Aug 11, 2026
34 checks passed
@tracebloc-release-train
tracebloc-release-train Bot deleted the release-train/to-main branch August 11, 2026 09:58
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