GeezerVison is showing github.com — fix(server): clarify Forgejo conflict and validation failures by rynfar · Pull Request #862 · pylon-code/pylon
Conversation
rynfar
commented
Sep 27, 2026
•
edited
Loading
Uh oh!
There was an error while loading. Please reload this page.
Forgejo API failures currently give users generic copy even for conflict (409) and invalid-request (422) responses. This change gives those statuses specific, stable descriptions while preserving the observed HTTP status and reason for authentication, forbidden, rate-limit, and not-found failures. Error bodies are not read, so a broken body stream cannot erase a known status.
This is a partial, privacy-preserving adaptation of T3 #11593. It deliberately does not display the server's exact merge-rejection message: an untrusted Forgejo response can contain confidential text or HTML. The exact rejection reason remains unavailable from this path. The remaining web UI hunks of #11593 are outside this PR; its iOS terminal fix already landed in #770.
Validation: vp test run apps/server/src/sourceControl/SourceControlDiscovery.test.ts (27 passed); vp run --filter t3 typecheck; scoped vp lint; git diff --check. An independent adversarial review found that the initial response-body parser could leak short secrets and lose HTTP classification when its stream failed; both were removed and re-reviewed at the final head.
Model: GPT-6 Sol. Harness: Pylon.
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
vercel
Bot
commented
Sep 27, 2026
•
edited
Loading
Uh oh!
There was an error while loading. Please reload this page.
|
The latest updates on your projects. Learn more about Vercel for GitHub.
1 Skipped Deployment
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
rynfar
changed the title
fix(server): surface safe Forgejo API errors
fix(server): clarify Forgejo conflict and validation failures
Sep 27, 2026
Thread transfer impact
✅ Thread transfer remains within every enforced ceiling.
| Provider |
Metric |
Main baseline |
This PR |
Impact |
PR ceiling |
|
| Codex |
Total thread wire |
14.0 KiB |
14.0 KiB |
−18 B (−0.1%) |
15.1 KiB |
✅ |
| Codex |
Thread snapshot wire |
7.3 KiB |
7.3 KiB |
+6 B (+0.1%) |
7.3 KiB |
✅ |
| Codex |
Live turn WebSocket wire |
6.7 KiB |
6.7 KiB |
−24 B (−0.3%) |
7.8 KiB |
✅ |
| Codex |
Live turn WebSocket decoded |
58.0 KiB |
58.0 KiB |
0 B (0.0%) |
66.4 KiB |
✅ |
| Codex |
Live turn messages |
9 |
9 |
0 (0.0%) |
21 |
✅ |
| Claude |
Total thread wire |
14.0 KiB |
14.0 KiB |
−14 B (−0.1%) |
15.1 KiB |
✅ |
| Claude |
Thread snapshot wire |
7.3 KiB |
7.3 KiB |
−1 B (−0.0%) |
7.3 KiB |
✅ |
| Claude |
Live turn WebSocket wire |
6.7 KiB |
6.7 KiB |
−13 B (−0.2%) |
7.8 KiB |
✅ |
| Claude |
Live turn WebSocket decoded |
58.9 KiB |
58.9 KiB |
0 B (0.0%) |
66.4 KiB |
✅ |
| Claude |
Live turn messages |
9 |
9 |
0 (0.0%) |
21 |
✅ |
Baseline: 69f26bc · PR result: 0ab82f4 · Source CI: success
Scenario and decoded snapshot size
10 historical turns, 5 command tools per turn, 878.9 KiB retained MCP result per historical turn, and a 1.05 MiB retained result in the measured turn.
- Codex decoded thread snapshot: 115.7 KiB
- Claude decoded thread snapshot: 116.4 KiB
Updated in place by a trusted workflow. PR artifacts are strictly validated and never executed.
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Assignees
No one assigned
Milestone
No milestone
Development
Successfully merging this pull request may close these issues.
Uh oh!
There was an error while loading. Please reload this page.
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.