CodeSnuffler Forgejo End-to-End historical review range codesnuffler-forgejo-live-20260713T193414948Z-3a29b1bf-33d #61
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-20260713T193414948Z-3a29b1bf-33d.
Run started at: 2026-07-13T19:34:14.948Z.
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 selected plugin instance
app/dev_shell.py:320Details for this finding were posted as an inline review comment on the changed line.
Open finding in CodeSnuffler
Fix via CodeSnuffler
2. Legacy persona alias remains in runtime model
app/ai_tools/instances.py:226-227The PR standardizes auth identity to
instance_id, butAiToolInstanceConfig.persona_idremains as a runtime alias and several call sites still use it. The repository instructions explicitly forbid retaining compatibility aliases/fallbacks when a field is standardized away; this keeps the old shape alive and makes future cleanup ambiguous.Open finding in CodeSnuffler
Fix via CodeSnuffler
Suggested fix: Remove the
persona_idproperty and update remainingconfig.persona_id/persona_id=runtime call sites to useinstance_id; keep only rejection tests/docs for legacy payloads if needed.@ -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 selected plugin instance
Severity: Medium Category: Correctness
dev_shell_websocketnow readsinstance_id, butfrontend/src/dev-shell/components/DevShellTerminal.vuestill sends the selected setup instance aspersona_id. In the AI tool setup flow this means interactive login sessions for non-primary instances fall back toprimary, so credentials are written/read from the wrong auth storage.Commit: Open commit
d8a3fc420b05Open finding in CodeSnuffler
Fix via CodeSnuffler
Suggested fix: Update the frontend websocket query parameter to
instance_idwhereDevShellTerminalbuilds the URL, and cover a non-primary setup/login case.Pull request closed