You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 7a42c64
Browse filesBrowse the repository at this point in the historyBrowse files
Fixed Admin System Health limit severity so configured limits are PASS, `NOT AVAILABLE` usage does not automatically produce WARN, and WARN is reserved for missing or invalid limit configuration.
14
+
15
+
## Requirement Checklist
16
+
17
+
- PASS - Environment Limits can be PASS when all required limit variables are configured with valid positive integer values.
- Static System Health contract validation for severity, exact pressure labels, no forbidden pressure wording, and no inline HTML script/style/event handlers.
36
+
- Targeted Playwright:
37
+
-`npx playwright test tests/playwright/tools/AdminPlatformToolsWireframes.spec.mjs tests/playwright/tools/AssetToolMockRepository.spec.mjs -g "System Health|Tool Votes side menu includes Admin platform wireframes|Infrastructure storage connectivity actions call Local API and hide secrets|Infrastructure storage path status reports missing env path as ERROR|Infrastructure storage path status reports invalid env path as ERROR|Infrastructure storage path status reports DEV match only|Infrastructure storage path status reports IST match only|Assets DEV storage upload list read and delete use configured projects prefix"`
- Confirmed limit status now derives from configured limit validation, not usage availability.
45
+
- Confirmed usage may remain `NOT AVAILABLE` without lowering Environment Limits severity.
46
+
- Confirmed no secrets or full connection strings are exposed.
47
+
48
+
## Full Samples Decision
49
+
50
+
SKIP
51
+
52
+
Full samples smoke was not run because this PR only changes Admin System Health limit severity and targeted tests. Sample JSON, game samples, and `start_of_day` folders were not touched.
Added a service-contract foundation that separates configured limits, current usage, and pressure calculation for future System Health usage reporting.
14
+
15
+
## Requirement Checklist
16
+
17
+
- PASS - Configured limits are represented separately from current usage.
18
+
- PASS - Current usage is represented separately and may be `NOT AVAILABLE`.
19
+
- PASS - Current usage contract can also carry numeric usage when a provider integration supplies it later.
20
+
- PASS - Pressure calculation is represented separately from limits and usage.
21
+
- PASS - Pressure is calculated only when both a configured numeric limit and numeric usage exist.
22
+
- PASS - Cloudflare billing integration is not required.
23
+
- PASS - Provider-specific future integration points are documented in `docs_build/codex/decisions/system-health-usage-reporting.md`.
- Static System Health contract validation for `configuredLimit`, `currentUsage`, and `pressureCalculation` separation.
34
+
- Targeted Playwright System Health validation through `AdminPlatformToolsWireframes.spec.mjs`.
35
+
36
+
## Manual Validation Notes
37
+
38
+
PASS
39
+
40
+
- Confirmed the API payload includes separate `configuredLimit`, `currentUsage`, and `pressureCalculation` objects for each limit row.
41
+
- Confirmed the documentation names R2 and Local DB future telemetry integration points.
42
+
- Confirmed no Cloudflare billing dependency or credential exposure was added.
43
+
44
+
## Full Samples Decision
45
+
46
+
SKIP
47
+
48
+
Full samples smoke was not run because this PR only adds Admin System Health usage-reporting contract structure and documentation. Sample JSON, game samples, and `start_of_day` folders were not touched.
0 commit comments