Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

api_v1 integration suite red: agreement_mock references nonexistent column

Open
#552 2 comments 0 reactions 1 assignee View on GitHub

@brijesh-amin is already working on this.

Since Oct 8, 2026.

Assessment

This issue has not been assessed yet.

Description

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.
Dominant language
TypeScript
Stars
1
Forks
7
Avg merge
49m
Merged PRs (30d)
1

Getting set up

  • Ships a Dockerfile or Docker Compose file
  • No pull request template
  • No contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from bcgov/range-api

All issues in bcgov/range-api

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.