Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

api_v1 integration suite red: agreement_mock references nonexistent column

オープン
#552 コメント 2 件 リアクション 0 件 担当者 1 名 GitHub で見る

@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 ファイルあり
  • プルリクエストのテンプレートなし
  • コントリビューションガイドなし

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

bcgov/range-api のほかの issue

bcgov/range-api の issue をすべて見る

似ている issue

TypeScript の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。