api_v1 integration suite red: agreement_mock references nonexistent column
@brijesh-amin がすでに取り組んでいます。
2026年10月8日 から。
評価
この issue はまだ評価されていません。
説明
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.
- 主要言語
- TypeScript
- スター
- 1
- フォーク
- 7
- 平均マージ
- 49分
- マージ済み PR(30日)
- 1
環境構築
- Dockerfile または Docker Compose ファイルあり
- プルリクエストのテンプレートなし
- コントリビューションガイドなし
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
bcgov/range-api のほかの issue
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 63/100
-
Renew MyRange SSL certificate (expires Apr 14, 2027)対応中かも @brijesh-amin が 15 日前に担当しました。 オープン
-
#523 - Reduce any usage in db2 model/query layer再び着手できるかも @brijesh-amin が 88 日前に担当しましたが、オープン中のプルリクエストはありません。 オープン
-
#523 - TypeScript hardening for runtime-critical path再び着手できるかも @brijesh-amin が 88 日前に担当しましたが、オープン中のプルリクエストはありません。 オープン
-
#523 - Centralize and type environment configuration再び着手できるかも @brijesh-amin が 88 日前に担当しましたが、オープン中のプルリクエストはありません。 オープン
bcgov/range-api の issue をすべて見る
似ている issue
-
ai-driven-qa bug claude Minor
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
linagora/twake-contacts-frontend#241 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
メンテナーはふだん 1 日以内に返信
-
ui(ListToolbar): search takes the full row on a phone instead of sharing it with the result countオープン
難易度 2/5 1〜3時間 初心者へのやさしさ 64/100
メンテナーはふだん 1 日以内に返信
-
priority:high
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
ahmedkhaleel2004/gitdiagram#228 ·