- parsers/ package: rust / python / go / typescript / generic
- parser registry with language+recipe -> fallback resolution
- fingerprint hash (kind+file+line+code) for cross-run dedup
- runner.py post-exec hook: parse log, persist findings, count on job row
(extraction runs before mark_job_finished so callers polling on terminal
status see findings_count populated atomically)
- db.insert_finding / list_findings / increment_findings_count DAOs already
shipped in wave 1; wired here
- GET /jobs/{id}/findings now returns real data (server route already
shipped; was returning empty list because nothing populated the table)
- tests/test_parsers/: 6 modules + 11 fixtures (rust/python/go/typescript)
- tests/test_runner_findings.py: 3 integration tests
- README: tick steps 2-6, add Findings section
Suite: 108 passing (62 wave-1 + 46 new).
Spec: memory/spec-crafting-table.md
16 lines
431 B
JSON
16 lines
431 B
JSON
[
|
|
{
|
|
"code": "F401",
|
|
"message": "`os` imported but unused",
|
|
"filename": "/work/src/app.py",
|
|
"location": {"row": 3, "column": 1},
|
|
"end_location": {"row": 3, "column": 10},
|
|
"fix": {"applicability": "safe", "message": "Remove unused import"}
|
|
},
|
|
{
|
|
"code": "E501",
|
|
"message": "Line too long (102 > 88 characters)",
|
|
"filename": "/work/src/app.py",
|
|
"location": {"row": 42, "column": 89}
|
|
}
|
|
]
|