schema_validations DB table is write-only — validation data accumulates with zero product-code readers
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 68/100
Research direction
Start with the webhook-allowlist diagnostic pattern in cmd_doctor.py and the SchemaValidator.validate() insert path at tokenjam/core/db.py:1224; check the schema_validations schema and existing query in tests/integration/test_db.py. Add a doctor check and a test that exercises it against validation failures. Done means tj doctor reports recent failure counts and a sample of errors from real data.
Written by the indexing model from the issue text.
Description
Severity: Medium
Model: sonnet
Where: tokenjam/core/db.py:1224 (SchemaValidator.validate() insert path). Present on main
and self-improve-loop.
Observed: Every span ingest runs SchemaValidator.validate(), which inserts a pass/fail-plus-errors
row into the schema_validations table at tokenjam/core/db.py:1224. There are zero product-code
readers anywhere in the tree — the only SELECT against the table in the whole repo is in
tests/integration/test_db.py. No CLI command, no API route, and no tj doctor check surfaces this
data. A whole validation subsystem accumulates rows no user can ever see.
Fix direction: Surface it. The most natural fit is a tj doctor check reporting recent
validation-failure counts and samples — cmd_doctor.py already has this exact pattern for other
diagnostics (e.g. the webhook-allowlist check), so a new check can follow that shape: query recent
schema_validations failures, summarize counts, print a sample of failing errors.
Done when: A tj doctor check (or equivalent surfaced path) reports schema-validation failures
from real data, with a test exercising it.
- Dominant language
- Python
- Stars
- 122
- Forks
- 35
- Avg merge
- 1d 18h
- Merged PRs (30d)
- 8
Getting set up
- Ships a Dockerfile or Docker Compose file
- Has a pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from Metabuilder-Labs/tokenjam
-
documentation
Difficulty 2/5 1-3 hours Newbie friendliness 85/100
Metabuilder-Labs/tokenjam#786 ·
Maintainers usually reply within 1 day
-
enhancement good first issue help wanted
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
Metabuilder-Labs/tokenjam#759 ·
Maintainers usually reply within 1 day
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
Metabuilder-Labs/tokenjam#728 ·
Maintainers usually reply within 1 day
-
bug help wanted
Difficulty 2/5 1-3 hours Newbie friendliness 85/100
Metabuilder-Labs/tokenjam#591 ·
Maintainers usually reply within 1 day
-
bug good first issue help wanted
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
Metabuilder-Labs/tokenjam#559 ·
Maintainers usually reply within 1 day
All issues in Metabuilder-Labs/tokenjam
Similar issues
-
[Bug] Unit tests reach real Bedrock call paths without patching the modelPossibly taken @proton0210 claimed this today. Openbug
Difficulty 2/5 1-3 hours Newbie friendliness 67/100
aws-samples/sample-aws-genai-db-modernizer#1318 · 1 comment ·
Maintainers usually reply within 1 day
-
pyarrow-25.0.1-cp310-cp310-manylinux_2_28_x86_64.whl: 1 vulnerabilities (highest severity is: 5.3)OpenMend: dependency security vulnerability
Difficulty 2/5 1-3 hours Newbie friendliness 62/100
capitalone/locopy#394 ·
-
[Bug] Unhandled ValueError terminates watchdog thread when GISRC value contains multiple colonsOpenbug
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
Maintainers usually reply within 1 day
-
sdk-typescript: unquoted COPY globs in shell form are silently dropped from the image build contextOpenbug javascript
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
Maintainers usually reply within 1 day
-
enhancement
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
ietf-tools/datatracker#11922 · 1 comment ·
Maintainers usually reply within 1 day