Skip to content

OBPIH-7580 add new root causes to cycle count reporting#5625

Merged
ewaterman merged 1 commit intorelease/0.9.6from
bug/OBPIH-7580-missing-CC-report-root-causes
Nov 14, 2025
Merged

OBPIH-7580 add new root causes to cycle count reporting#5625
ewaterman merged 1 commit intorelease/0.9.6from
bug/OBPIH-7580-missing-CC-report-root-causes

Conversation

@ewaterman
Copy link
Member

@ewaterman ewaterman self-assigned this Nov 14, 2025
@github-actions github-actions bot added type: bug Addresses unintended behaviours of the app domain: frontend Changes or discussions relating to the frontend UI labels Nov 14, 2025
ERROR_IN_OUTBOUND: 'Error in outbound',
BIN_LOCATION_MISSING: 'Bin location missing',
MISPLACED: 'Misplaced',
OTHER: 'Other',
Copy link
Member Author

Choose a reason for hiding this comment

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

I had two thoughts while making this change:

  1. This const is named "reasonCodes" but it only has cycle count reason codes. We should consider renaming it for clarity
  2. Do we even need this list? The CC resolution flow fetches this list from the backend via API so hopefully we can do the same for reporting. That way we can get properly translated reason codes too.

I'll leave that refactor for after the release though

Copy link
Collaborator

@kchelstowski kchelstowski Nov 14, 2025

Choose a reason for hiding this comment

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

I agree we should not have done this like that. We must have missed that during code reviews back in the past. I'm fine with doing it properly past release. Would you mind creating a small ticket for that so that we don't forget about it?

@codecov
Copy link

codecov bot commented Nov 14, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
⚠️ Please upload report for BASE (release/0.9.6@cdaecac). Learn more about missing BASE report.

Additional details and impacted files
@@               Coverage Diff               @@
##             release/0.9.6   #5625   +/-   ##
===============================================
  Coverage                 ?   8.51%           
  Complexity               ?    1127           
===============================================
  Files                    ?     712           
  Lines                    ?   45640           
  Branches                 ?   10913           
===============================================
  Hits                     ?    3887           
  Misses                   ?   41174           
  Partials                 ?     579           

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

@ewaterman ewaterman merged commit b5d9fa1 into release/0.9.6 Nov 14, 2025
7 checks passed
@ewaterman ewaterman deleted the bug/OBPIH-7580-missing-CC-report-root-causes branch November 14, 2025 17:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

domain: frontend Changes or discussions relating to the frontend UI type: bug Addresses unintended behaviours of the app

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants