Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

api_v1 integration suite red: agreement_mock references nonexistent column

Đang mở
#552 2 bình luận 0 reaction 1 người được giao Xem trên GitHub

@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

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. 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.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của bcgov/range-api

Tất cả issue của bcgov/range-api

Issue tương tự

Thêm issue về TypeScript

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.