CodeSnuffler Forgejo End-to-End historical review range codesnuffler-forgejo-live-20260711T105227629Z-a93dd2a2-fd4 #58
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "change_forgejo_end_to_end"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Exercise the live Forgejo webhook review pipeline against a stable historical CodeSnuffler diff.
Run marker: codesnuffler-forgejo-live-20260711T105227629Z-a93dd2a2-fd4.
Run started at: 2026-07-11T10:52:27.629Z.
Fixture range: f9d210eccd0075b6b39b606cea9b1376719aa062..d8a3fc420b055e04df1d203706b89b1f1261a9c1.
This stable two-commit AI Harness range is expected to produce actionable findings.
CodeSnuffler Review Findings
Findings
1. Dev-shell auth ignores existing frontend persona query parameter
app/dev_shell.py:320-356Details for this finding were posted as an inline review comment on the changed line.
Open finding in CodeSnuffler
Fix via CodeSnuffler
2. Persona field remains in public AI review policy schema
app/settings/ai_review_policy/schemas.py:72-77This PR removes
persona_idfrom several AI tool contracts, butAiReviewPolicyAiToolInstanceChoiceResponsestill exposespersona_id, and the generated frontend type still contains it. The repository instructions explicitly require removing old fields and generated frontend API types when standardizing a schema shape, so this leaves a stale public contract and frontend consumers on the removed naming.Open finding in CodeSnuffler
Fix via CodeSnuffler
Suggested fix: Replace
persona_idwith the current identity fields needed by the UI, at minimuminstance_id, regenerate frontend API types, and update AI review policy frontend consumers to use the new field names.@ -316,3 +318,3 @@async def dev_shell_websocket(websocket: WebSocket) -> None:command_id = websocket.query_params.get("command", "bash")persona_id = websocket.query_params.get("persona_id")instance_id = websocket.query_params.get("instance_id")CodeSnuffler finding: Dev-shell auth ignores existing frontend persona query parameter
Severity: High Category: Correctness
The websocket now only reads
instance_id, but the current dev-shell frontend still sendspersona_idwhen opening a login shell. For non-primary plugin instances, login/auth sessions will silently use the defaultprimarystorage instead of the selected instance, so credentials can be written to or read from the wrong auth directory. Update the frontend query parameter and generated/consuming types together, or otherwise keep this boundary consistent with the newinstance_idcontract.Commit: Open commit
d8a3fc420b05Open finding in CodeSnuffler
Fix via CodeSnuffler
Suggested fix: Change
frontend/src/dev-shell/components/DevShellTerminal.vueto sendinstance_idand update any callers/props naming that still exposepersonaIdfor this websocket flow.Pull request closed