Skip to content

Conversation

@loneil
Copy link
Collaborator

@loneil loneil commented Dec 12, 2025

Issue #: /bcgov/entity#31203

Description of changes:
Bump version nums in version.py

  • colin-api
  • legal-api

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of the lear license (Apache 2.0).

This comment was marked as resolved.

Signed-off-by: Lucas <lucasoneil@gmail.com>
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 2 out of 2 changed files in this pull request and generated no new comments.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@codecov
Copy link

codecov bot commented Dec 12, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 29.66%. Comparing base (d995156) to head (59a545a).
⚠️ Report is 98 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #3912   +/-   ##
=======================================
  Coverage   29.66%   29.66%           
=======================================
  Files          39       39           
  Lines        3486     3492    +6     
=======================================
+ Hits         1034     1036    +2     
- Misses       2452     2456    +4     
Flag Coverage Δ
colinapi 29.66% <100.00%> (+<0.01%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

Files with missing lines Coverage Δ
colin-api/src/colin_api/version.py 100.00% <100.00%> (ø)
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

"""

__version__ = '2.160.0' # pylint: disable=invalid-name
__version__ = '2.161.0' # pylint: disable=invalid-name
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

did colin actually have updates since the last release?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No it didn't, would the practice be for the version num to match the release version from the parent Lear repo? Or should we just bump it if it's actually been changed?

Copy link
Collaborator

@argush3 argush3 Dec 15, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@loneil Was talking with Vysakh about how we want to deal with release versioning last Friday.

Before updating to use poetry, we were using version.py to track release versioning for our BE services. Before pushing to Test, we would only update the versioning for the BE services that had code changes.

I think moving forward we would like to follow what the FE is doing. That is whenever code updates are made we bump the version numbers in pyproject.toml and that saves us from having to update versioning numbers before pushing to Test. To make this happen, we still need to update the business api such that the /meta/info endpoint is pulling the versioning info from the toml file instead of versioning.py. The other queue services are already doing this I believe.

For this release, I think we can just stick to updating version numbers for affected components. i.e. remove colin versioning as there were no changes. But you can wait until tuesday to see which BE services are affected in the end.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sounds good thanks, yeah I'd noticed the 3.0.0 in the new pyproject for legal-api

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

(moot in this case as the colin-api has been updated since, so keeping version bump)

Copy link
Collaborator

@severinbeauvais severinbeauvais left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM but I'd hold on to this PR until you're ready to deploy to Test because there may be more changes between now and then.

@loneil
Copy link
Collaborator Author

loneil commented Dec 12, 2025

LGTM but I'd hold on to this PR until you're ready to deploy to Test because there may be more changes between now and then.

Yeah Test just delayed until tuesday so I will put back in draft for now.

@loneil loneil marked this pull request as draft December 12, 2025 17:33
@loneil loneil marked this pull request as ready for review December 16, 2025 17:42
@loneil loneil merged commit 949d803 into bcgov:main Dec 16, 2025
15 checks passed
@loneil loneil deleted the chore/31203releaseVersion21610 branch December 17, 2025 00:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants