Repository navigation
fix(github): a refused App JWT names GitHub's reason - #3116
Conversation
|
The steps of the job:
|
|
Advisory pre-merge review (automated; a person decides). Recommendation: merge after two minor fixes. Fix the PR title and rebase onto The code change is correct. It delivers all of issue #2491. Four lenses (fidelity, tests, correctness and scope, standards) found no defect in the code.
Behavior change, checked: only HTTP 401 on the App token exchange changes. The error now names GitHub's reason, the request line and the status. It no longer says Checks that I and the lenses ran:
|
🤖 I have created a release *beep* *boop* --- ## [0.39.0](v0.38.0...v0.39.0) (2026-11-02) ### Features * **ci:** uv, test, serve and mcp dry runs list their requests ([#3135](#3135)) ([666e183](666e183)) * **k8s:** serve gemini-3.8-flash and two Claude models ([#3117](#3117)) ([1fa3a31](1fa3a31)), closes [#3113](#3113) * **repos:** request plans for repos, branches, ssh and tls ([#3129](#3129)) ([174b82c](174b82c)) * **roadmap:** move unworkable scope to new issues during refine ([#3130](#3130)) ([a0b2cb5](a0b2cb5)) ### Bug Fixes * **github:** a refused App JWT names GitHub's reason ([#3116](#3116)) ([5ac0bea](5ac0bea)) * **roadmap:** make the alternatives check search before a verdict ([#3127](#3127)) ([099c689](099c689)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). Co-authored-by: dan-petty-release[bot] <346998822+dan-petty-release[bot]@users.noreply.github.com>
Closes #2491
Issue #2491: when GitHub refuses the App's JWT with HTTP 401, the error message tells the operator to run
gh auth loginor setGH_TOKEN. A process that acts as the App has no gh login, so the advice is wrong. The message also drops GitHub's reason, for example "A JSON web token could not be decoded". The spec requirement "A failed exchange names the App and the reason" asks for the reason.Change:
openspec/changes/archive/2026-11-01-2491-a-refused-jwt-exchange-of-the/