api_v1 integration suite red: agreement_mock references nonexistent column
@brijesh-amin đang làm issue này rồi.
Từ ngày 8/10/2026.
Đánh giá
Issue này chưa được đánh giá.
Mô tả
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.
- Ngôn ngữ chính
- TypeScript
- Star
- 1
- Fork
- 7
- Merge trung bình
- 49 phút
- Pull request đã merge (30 ngày)
- 1
Chuẩn bị môi trường
- Có Dockerfile hoặc tệp Docker Compose
- Không có mẫu pull request
- Không có hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của bcgov/range-api
-
bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 63/100
-
Renew MyRange SSL certificate (expires Apr 14, 2027)Có thể đã có người làm @brijesh-amin đã nhận 17 ngày trước. Đang mở
-
#523 - Reduce any usage in db2 model/query layerCó thể làm lại được @brijesh-amin đã nhận 90 ngày trước và không có pull request nào đang mở. Đang mở
-
#523 - TypeScript hardening for runtime-critical pathCó thể làm lại được @brijesh-amin đã nhận 90 ngày trước và không có pull request nào đang mở. Đang mở
-
#523 - Centralize and type environment configurationCó thể làm lại được @brijesh-amin đã nhận 90 ngày trước và không có pull request nào đang mở. Đang mở
Tất cả issue của bcgov/range-api
Issue tương tự
-
test: make the #3408 Claude OAuth token fixture obviously fake so secret scanners stop flagging itĐang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
code-yeongyu/senpi#3436 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
community first-timers-only good first issue hacktoberfest help wanted low hanging fruit up-for-grabs
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 78/100
lingdojo/kana-dojo#32505 · 1 bình luận · 5 reaction ·
Maintainer thường phản hồi trong vòng 1 ngày
-
code-quality refactoring
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
github/gh-aw-firewall#10040 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
review-followup
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
griffinwork40/agent-afk#3868 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
area: import-export bug status: needs-triage
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
amatya-aditya/obsidian-rss-dashboard#1191 ·
Maintainer thường phản hồi trong vòng 1 ngày