Repository navigation
fix(alpha): explain build pull request publication failures - #327
Merged
Merged
Conversation
tbhb-agent
added a commit
that referenced
this pull request
Nov 23, 2026
Why The fake `agy` test script used the Python interpreter path as its shebang. On a host whose interpreter path is long, the kernel refused to run it with `ENOEXEC`, so four tests in `test_agy_otel.py` failed there. Behavior change None for the product. The fixture now writes a short `/bin/sh` script that prints the version or stream file and exits with the recorded code. Deviations from the task A Codex run found this while building #327 and left it on a local branch. This pull request contains only that fix. Risk Only the fixture changes. A shell without `dirname` or `cat` would break it, and every supported host has both. Verification `pytest tests/test_agy_otel.py` passed 8 tests on this host, and `ruff check` and `ruff format --check` passed. CI runs the full Bazel suite. Generated-by: LLM effort=medium;harness=claude-code:2.1.322;model=anthropic:claude-sonnet-5-5;session=sha-256-64:24ed779d56b187de;started_at=2026-11-15T16:51:11Z;surface=cli
Generated-by: LLM effort=high;harness=codex:0.171.0;model=openai:gpt-6.2-sol;session=sha-256-64:ec35558d6fb1a9a1;surface=exec
tbhb-agent
force-pushed
the
agent/tools-push-split4
branch
from
November 23, 2026 10:08
c97f8a0 to
9ad71f4
Compare
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.
Why
A run returned the same status when the push failed and when only the pull request failed, so a pushed branch with no pull request looked like a failed push. A scan finding in a draft also logged more than the rule ID.
Behavior change
If the driver pushes the branch and can't open the pull request, it returns 5 and logs a
pr not opened:line with the cause. A draft scan finding logs only the rule ID and the line number. The status command shows the latest publication reason next to the return code.Deviations from the task
This pull request is the part of the original change that #323 dropped to fit the size limit.
Risk
A branch can exist on the remote when a run returns 5. A caller that retries every nonzero result can then attempt a second push, while a caller that reads only zero versus nonzero doesn't notice.
Verification
Per the run's report,
pytestpassed 1,624 targeted tests with 100% line and branch coverage for the changed modules, andruffpassed. The run measured 182 added Code lines against its parent. CI runs the full Bazel suite at the head.Opened-by: LLM effort=medium;harness=claude-code:2.1.322;model=anthropic:claude-sonnet-5-5;session=sha-256-64:24ed779d56b187de;surface=cli
Assisted-by: LLM effort=medium;harness=claude-code:2.1.322;model=anthropic:claude-sonnet-5-5;session=sha-256-64:24ed779d56b187de;surface=cli