api_v1 integration suite red: agreement_mock references nonexistent column
@brijesh-amin ya está trabajando en esto.
Desde el 8/10/2026.
Evaluación
Este issue todavía no se ha evaluado.
Descripción
Description
Every api_v1 spec that seeds agreements fails in setup (beforeEach insert), so none of the route tests execute — with or without any other change. The insert fails with column "agreement_exemption_status_id" of relation "agreement" does not exist.
Root cause
__mocks__/fixtures/agreement_mock.json includes an agreement_exemption_status_id key, but no migration creates that column and current prod schema has no such column on agreement (it carries exemption_status instead). Runtime code is unaffected (it reads the value from a join alias). Likely fallout from the agreement-exemption refactor combined with the Jenkins Test stage being commented out, so the suite has been red unrun.
Impact
- No api_v1 integration coverage is currently executable, including the updated expectations for #550. Unit specs are unaffected.
Plan
- Align the fixture (and any specs asserting on that key) with the real schema.
- Get the suite green via make local-test (Docker); note local-test-setup also needs FTA credentials for the seed step, or a schema-only path.
- Consider re-enabling the Test stage in Jenkinsfile.
- Lenguaje dominante
- TypeScript
- Estrellas
- 1
- Forks
- 7
- Merge medio
- 49 min
- PR fusionados (30 d)
- 1
Preparar el entorno
- Incluye un Dockerfile o un archivo de Docker Compose
- Sin plantilla de pull request
- Sin guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de bcgov/range-api
-
bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 63/100
-
Renew MyRange SSL certificate (expires Apr 14, 2027)Posiblemente ocupada @brijesh-amin la tomó hace 13 días. Abierto
-
#523 - Reduce any usage in db2 model/query layerQuizá libre de nuevo @brijesh-amin la tomó hace 86 días y no hay ningún pull request abierto. Abierto
-
#523 - TypeScript hardening for runtime-critical pathQuizá libre de nuevo @brijesh-amin la tomó hace 86 días y no hay ningún pull request abierto. Abierto
-
#523 - Centralize and type environment configurationQuizá libre de nuevo @brijesh-amin la tomó hace 86 días y no hay ningún pull request abierto. Abierto
Todos los issues de bcgov/range-api
Issues similares
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 77/100
Los mantenedores suelen responder en 1 día
-
Dificultad 1/5 Menos de una hora Aptitud para principiantes 72/100
cline/mcp-marketplace#2932 ·
-
community first-timers-only good first issue hacktoberfest help wanted low hanging fruit up-for-grabs
Dificultad 1/5 Menos de una hora Aptitud para principiantes 82/100
lingdojo/kana-dojo#32188 · 1 comentario · 5 reacciones ·
Los mantenedores suelen responder en 1 día
-
triage
Dificultad 2/5 1-3 horas Aptitud para principiantes 76/100
Portkey-AI/gateway#1844 ·
Los mantenedores suelen responder en 1 día
-
needs triage
Dificultad 2/5 1-3 horas Aptitud para principiantes 61/100
rjsf-team/react-jsonschema-form#5495 ·
Los mantenedores suelen responder en 2 días