Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

api_v1 integration suite red: agreement_mock references nonexistent column

Aperta
#552 2 commenti 0 reazioni 1 assegnatario Vedi su GitHub

@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

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di bcgov/range-api

Tutte le issue di bcgov/range-api

Issue simili

Altre issue su TypeScript

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.