api_v1 integration suite red: agreement_mock references nonexistent column
@brijesh-amin ci sta già lavorando.
Dal 8/10/2026.
Valutazione
Questa issue non è ancora stata valutata.
Descrizione
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.
- Lingua principale
- TypeScript
- Stelle
- 1
- Fork
- 7
- Merge medio
- 49m
- PR unite (30g)
- 1
Preparare l'ambiente
- Include un Dockerfile o un file Docker Compose
- Nessun modello di pull request
- Nessuna guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di bcgov/range-api
-
bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 63/100
-
Renew MyRange SSL certificate (expires Apr 14, 2027)Forse già presa @brijesh-amin l’ha presa 11 giorni fa. Aperta
-
#523 - Reduce any usage in db2 model/query layerForse di nuovo libera @brijesh-amin l’ha presa 84 giorni fa e non c’è nessuna pull request aperta. Aperta
-
#523 - TypeScript hardening for runtime-critical pathForse di nuovo libera @brijesh-amin l’ha presa 84 giorni fa e non c’è nessuna pull request aperta. Aperta
-
#523 - Centralize and type environment configurationForse di nuovo libera @brijesh-amin l’ha presa 84 giorni fa e non c’è nessuna pull request aperta. Aperta
Tutte le issue di bcgov/range-api
Issue simili
-
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 72/100
yjh051108/dsh-routing-suite#216 ·
-
kind/bug priority/needs-triage
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
I maintainer di solito rispondono entro 1 giorno
-
Dependencies view: `getParent` loops forever on untitled documents, extension host runs out of memoryForse già presa Una pull request collegata a questa issue è aperta o già unita. Apertabug
Difficoltà 2/5 1-3 ore Idoneità per principianti 70/100
I maintainer di solito rispondono entro 1 giorno
-
enhancement good first issue
Difficoltà 2/5 Mezza giornata Idoneità per principianti 66/100
apache/fineract-consumer-facing#175 ·
I maintainer di solito rispondono entro 1 giorno
-
bug
Difficoltà 2/5 Meno di un'ora Idoneità per principianti 82/100
awslabs/visual-asset-management-system#413 ·
I maintainer di solito rispondono entro 1 giorno