Skip to content

Add INFO status to HealthcheckStatus enum#4952

Open
shrutipatel31 wants to merge 1 commit intofacebook:mainfrom
shrutipatel31:export-D94411963
Open

Add INFO status to HealthcheckStatus enum#4952
shrutipatel31 wants to merge 1 commit intofacebook:mainfrom
shrutipatel31:export-D94411963

Conversation

@shrutipatel31
Copy link
Contributor

Summary:
Add a new INFO status level to HealthcheckStatus for healthchecks that are working as expected but have useful information to display to the user.

This is Phase 1 of the healthcheck status redesign. The INFO status represents a "positive passing" state where we want to surface helpful information (e.g., early stopping savings, baseline improvements) without indicating any problem.

Changes:

  • Add INFO = 3 to HealthcheckStatus enum
  • Update is_passing() to return True for both PASS and INFO statuses

Differential Revision: D94411963

Summary:
Add a new INFO status level to HealthcheckStatus for healthchecks that are working as expected but have useful information to display to the user.

This is Phase 1 of the healthcheck status redesign. The INFO status represents a "positive passing" state where we want to surface helpful information (e.g., early stopping savings, baseline improvements) without indicating any problem.

Changes:
- Add INFO = 3 to HealthcheckStatus enum
- Update is_passing() to return True for both PASS and INFO statuses

Differential Revision: D94411963
@meta-cla meta-cla bot added the CLA Signed Do not delete this pull request or issue due to inactivity. label Feb 25, 2026
@meta-codesync
Copy link

meta-codesync bot commented Feb 25, 2026

@shrutipatel31 has exported this pull request. If you are a Meta employee, you can view the originating Diff in D94411963.

@codecov-commenter
Copy link

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 96.83%. Comparing base (da5b6d8) to head (92895af).
⚠️ Report is 1 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #4952   +/-   ##
=======================================
  Coverage   96.83%   96.83%           
=======================================
  Files         594      594           
  Lines       62894    62895    +1     
=======================================
+ Hits        60903    60904    +1     
  Misses       1991     1991           

☔ 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

CLA Signed Do not delete this pull request or issue due to inactivity. fb-exported meta-exported

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants