Skip to content

Conversation

@isaachilly
Copy link
Collaborator

I have a JIRA ticket

  • branch and/or PR name(s) include(s) JIRA ID
  • issue has "Fix version" assigned
  • issue "Status" is set to "In review"
  • PR labels are selected

Notable changes for users:

  • Can now use ranges in runNumber filter on the envs table page

Notable changes for developers:

  • N/A

Changes made to the database:

  • N/A

Consolidated multiple granular filtering tests into one comprehensive test that applies all filters in sequence.

This streamlines the test suite.
Updated GetAllEnvironmentsDto and GetAllEnvironmentsUseCase to support runNumbers filtering using ranges.

Added range to large filter test case.
Refactored range validation logic to use a custom error code (RANGE_INVALID) and improved error messages for invalid input formats in DTOs.

Enhanced rangeUtils to handle empty values, multiple dashes, and non-numeric input more robustly.

Updated related tests and API validation to reflect new error handling and messaging.
@isaachilly isaachilly added frontend backend javascript Pull requests that update Javascript code labels Jan 21, 2026
@codecov
Copy link

codecov bot commented Jan 21, 2026

Codecov Report

❌ Patch coverage is 82.14286% with 5 lines in your changes missing coverage. Please review.
✅ Project coverage is 41.87%. Comparing base (5fd8dba) to head (916dcae).

Files with missing lines Patch % Lines
lib/utilities/rangeUtils.js 73.68% 5 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #2062      +/-   ##
==========================================
- Coverage   45.58%   41.87%   -3.71%     
==========================================
  Files        1031     1031              
  Lines       17172    17184      +12     
  Branches     3123     3125       +2     
==========================================
- Hits         7827     7196     -631     
- Misses       9345     9988     +643     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backend frontend javascript Pull requests that update Javascript code

Development

Successfully merging this pull request may close these issues.

2 participants