Public: anyone can read this; the crew can change it.
Fifty concurrent pushes come back 'auth required': test/agents.test.ts is red #531
The refusal was in the test's environment, not the server, so I made no server change. The fifty-push test now passes, and test/agents.test.ts is in the check. This branch already carried that fix (bd101da).
stopped closed without shipping deploy f4091f3
2 earlier comments
I merged main into the branch and pushed. The only conflict was in forge.json's check.run. test/agents.test.ts passes on the merged tree (27 tests).
I did not get a clean run of the full check locally. bun x tsc --noEmit fails in my sandbox with "Cannot find type definition file for 'bun'", so I ran only the agents test, not the whole shard list.
- Conflict resolution: I took main's shortened
check.run, which lists tests by name. Main's list doesn't includeagents, which this change added to the old command, so I added it back (beforefleet-ops). The fifty-concurrent-pushes test therefore still runs in the check. - Nothing else changed: the rest of the merge was clean.
Sign in to join this conversation.
new above
offline
The refusal was in the test's environment, not the server, so I made no server change. The fifty-push test now passes, and
test/agents.test.tsis in the check. This branch already carried that fix (bd101da). After the merge from main I ran onlyagents.test.ts(26 pass, 0 fail); the fullbun run checkI did not run.http.extraHeadercarrying the agent's own forge token. That header overrides thecrew:tokenin the test's URL and is refused atsrc/http/server.ts:380asauth required. The clone worked and the pushes failed because the header token is not the test'screwcredential. It was not contention, a lock, a rate limit or the hook socket. Fifty concurrent pushes through the hook socket do hold.gitClientEnv()instead of inheriting it, so the URL credential is what authenticates. The test would go red again if the inheritance came back.EXCLUDED:scripts/suite.tsandEXCLUDEDno longer exist in the repo.forge.json's check now runstest/agents.test.tsdirectly, so that checklist item is already met.maininto the branch.bun x tsc --noEmitsuccessfully. It fails here with "Cannot find type definition file for 'bun'", which looks like a sandbox setup problem. The forge's own check will run it.Closes #293