CodeSnuffler Forgejo End-to-End historical review range codesnuffler-forgejo-live-20260629T134014979Z-a2a9d5da-580 #45
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-20260629T134014979Z-a2a9d5da-580.
Run started at: 2026-06-29T13:40:14.979Z.
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 remaining persona_id compatibility property
app/ai_tools/instances.py:226-227AiToolInstanceConfig.persona_idremains as an alias forinstance_id, and runtime code still reads it. The PR is standardizing the auth identity shape, so this alias is a compatibility shim under AGENTS.md. Remove the property and update remaining AI-tool call sites to useconfig.instance_iddirectly, then re-run the removed-name search to ensure remaining hits are only negative tests or unrelated non-AI-tool personas.Open finding in CodeSnuffler
Generate patch with CodeSnuffler
Suggested fix: Delete the
persona_idproperty and replace AI tool usages such asconfig.persona_idin runner workspace/storage deletion paths withconfig.instance_id.2. AI review policy still exposes old persona_id field
app/settings/ai_review_policy/schemas.py:72-77The configured AI review policy response schema still returns
persona_idfor AI tool instance choices even though this PR removespersona_idfrom the AI tool instance/auth contract. That leaves a public old-shape field in a schema-adjacent API and can keep frontend or automation callers coupled to the removed name.Open finding in CodeSnuffler
Generate patch with CodeSnuffler
Suggested fix: Rename this response field to
instance_id, update the service projection that currently assignspersona_id=instance.instance_id, and update callers/tests to consumeinstance_idonly.CodeSnuffler Review Underway
2026-06-29T13:41:10.542745+00:00forgejo-jason-admin-CodeSnuffler-FJ-pr-45Pull request closed