Skip to content

fix(console): label weekend run-status gaps as non-trading days - #993

Merged
Pigbibi merged 3 commits into
mainfrom
fix/health-non-trading-day-20261031
Oct 31, 2026
Merged

Pigbibi merged 3 commits into
mainfrom
fix/health-non-trading-day-20261031

Conversation

@Pigbibi

@Pigbibi Pigbibi commented Oct 31, 2026

Copy link
Copy Markdown
Contributor

Summary

  • /api/runtime/today now reports market_session: weekend|trading_day (weekends are the only provable closure without a holiday source).
  • For non-crypto platforms, a missing record on a weekend is non_trading_weekend instead of today_record_missing.
  • The run-status page shows a localized note on weekends so 0/N records no longer reads as an outage.

Test plan

  • node --test tests/fe8a_runtime_today_validation.mjs (incl. new weekend case)
  • node tests/runtime_today_request_reuse_validation.mjs
  • node tests/console_design_api_validation.mjs
  • node tests/console_v2_i18n_validation.mjs
  • node --test tests/fe8b_fix03_ui_validation.mjs
  • npx tsc --noEmit

On Saturdays and Sundays the run-status page showed 0/N accounts with
today's records and "no data" rows, which read like a data outage. There is
no market-holiday source in the Worker, so only weekends are provable.

Classify the business day as weekend/trading_day, tag missing records on
weekends as non_trading_weekend for non-crypto platforms, and show a
localized note on the health page.
@Pigbibi
Pigbibi merged commit 556d243 into main Oct 31, 2026
10 checks passed
@Pigbibi
Pigbibi deleted the fix/health-non-trading-day-20261031 branch October 31, 2026 12:02
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.

1 participant