CodeSnuffler Forgejo End-to-End historical review range codesnuffler-forgejo-live-20260630T012810915Z-8a0f006b-c1c #47
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-20260630T012810915Z-8a0f006b-c1c.
Run started at: 2026-06-30T01:28:10.915Z.
Fixture range: f9d210eccd0075b6b39b606cea9b1376719aa062..d8a3fc420b055e04df1d203706b89b1f1261a9c1.
This two-commit AI Harness range stops before
404b386cremoved stale persona and old-shape compatibility, so the review is expected to produce actionable findings.CodeSnuffler Review Findings
Findings
1. Remove the remaining persona_id compatibility alias
app/ai_tools/instances.py:226-227This PR removes
persona_idfrom auth-container schemas and payloads, butAiToolInstanceConfigstill exposespersona_idas a property returninginstance_id. That keeps the old shape alive and current code still consumes it, for example storage deletion and runner workspace materialization. Under the repository's no-shim policy, the old field/alias should be removed rather than retained as a compatibility path.Open finding in CodeSnuffler
Generate patch with CodeSnuffler
Suggested fix: Delete the
persona_idproperty and update remaining internal consumers/tests to useinstance_iddirectly; then search forpersona_idand leave only negative tests or docs that explicitly reject the old field.CodeSnuffler Review Findings
Findings
1. Dev-shell auth still sends ignored persona query parameter
frontend/src/dev-shell/components/DevShellTerminal.vue:155The backend now reads
instance_idfrom the websocket query, but the dev-shell terminal still sendspersona_id. For non-primary AI tool instances, runner auth commands will fall back toprimaryinstead of the selected instance.Open finding in CodeSnuffler
Generate patch with CodeSnuffler
Suggested fix: Send
instance_idhere and update the prop naming/callers so the frontend andapp/dev_shell.pyagree on the current field name.2. AI review policy choices still expose old persona_id shape
app/settings/ai_review_policy/schemas.py:72-77This response schema still publishes
persona_idfor AI tool instance choices while the PR standardizes AI tool identity oninstance_id. Under the repo's no-compatibility-shim policy, this old API shape should be removed rather than preserved alongside the new identity fields.Open finding in CodeSnuffler
Generate patch with CodeSnuffler
Suggested fix: Rename the schema/dataclass/frontend generated type and Vue consumers to
instance_id, then remove thepersona_id=instance.instance_idprojection.3. AiToolInstanceConfig retains persona_id compatibility alias
app/ai_tools/instances.py:226-227AiToolInstanceConfig.persona_idremains as a runtime alias forinstance_id, and several callers still read it. The PR removespersona_idfrom some schemas, so keeping this alias is a stale compatibility shim that conflicts with the repository cleanup policy.Open finding in CodeSnuffler
Generate patch with CodeSnuffler
Suggested fix: Delete the
persona_idproperty and update remaining AI-tool callers to useinstance_iddirectly; leave only tests that assert old input fields are rejected where useful.Pull request closed