Skip to content

PR_26177_CHARLIE_031-environment-health-comparison#180

Merged
ToolboxAid merged 1 commit into
mainfrom
pr/26177-CHARLIE-031-environment-health-comparison
Jun 25, 2026
Merged

PR_26177_CHARLIE_031-environment-health-comparison#180
ToolboxAid merged 1 commit into
mainfrom
pr/26177-CHARLIE-031-environment-health-comparison

Conversation

@ToolboxAid

Copy link
Copy Markdown
Owner

Summary

  • Adds a server-owned Environment Health Comparison payload and table.
  • Shows Local (VS Code), DEV, IST, UAT, and PROD with clear Current / Not Configured / Unavailable states.
  • Keeps peer environments reference-only and preserves noCrossEnvironmentChecks.

Stack

  • Base: pr/26177-CHARLIE-030-r2-storage-health-expanded-validation

Validation

  • PASS: node --check src/dev-runtime/server/local-api-router.mjs
  • PASS: node --check assets/theme-v2/js/admin-system-health.js
  • PASS: node --test tests/api/admin-system-health/contract.test.mjs
  • PASS: node --test tests/dev-runtime/AdminHealthOperations.test.mjs
  • PASS: npx playwright test tests/playwright/tools/AdminHealthOperationsPage.spec.mjs --workers=1 --reporter=line
  • PASS: git diff --check

Artifact

  • tmp/PR_26177_CHARLIE_031-environment-health-comparison_delta.zip

Do not merge without Owner approval.

@ToolboxAid ToolboxAid force-pushed the pr/26177-CHARLIE-030-r2-storage-health-expanded-validation branch from 3acec8b to 8455fb6 Compare June 25, 2026 19:27
@ToolboxAid ToolboxAid force-pushed the pr/26177-CHARLIE-031-environment-health-comparison branch from 7fe5f7b to 1a63c19 Compare June 25, 2026 19:31
@ToolboxAid ToolboxAid marked this pull request as ready for review June 25, 2026 19:32

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 1a63c192d2

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

rows,
secretEditingAllowed: false,
secretsExposed: false,
status: rows.some((row) => row.activeCheck) ? "PASS" : "WARN",

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P2 Badge Use active row status for comparison status

When the current identity itself is warning, such as when the environment is inferred from GAMEFOUNDRY_ENVIRONMENT_LABEL without an approved storage prefix, the active comparison row is correctly marked WARN above, but this return value still reports environmentComparison.status as PASS merely because an active row exists. API consumers using the section status will see a healthy comparison even though the only actively checked environment is warning; compute this from the active row status instead of active-row existence.

Useful? React with 👍 / 👎.

@ToolboxAid ToolboxAid changed the base branch from pr/26177-CHARLIE-030-r2-storage-health-expanded-validation to main June 25, 2026 19:50
@ToolboxAid ToolboxAid merged commit 65e65de into main Jun 25, 2026
1 check passed
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