Skip to content

Update SITREP browser fixture for core graph - #66

Merged
erinepshovel-code merged 1 commit into
mainfrom
agent/fix-sitrep-browser-count-20260906
Sep 6, 2026
Merged

erinepshovel-code merged 1 commit into
mainfrom
agent/fix-sitrep-browser-count-20260906

Conversation

@erinepshovel-code

Copy link
Copy Markdown
Contributor

Repairs the two Playwright assertions that still expected the old five-project SITREP. The production build, deterministic portfolio projection, 11-project/0-missing-report generation, unit tests, generated-site tests, links, and performance gates already passed; this updates only the browser fixture to the new explicit 11-member core graph.

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Sep 6, 2026

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review Completed 2026-09-06T19:03:53.854335Z e55e9f9 PR opened
ℹ️ 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" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@erinepshovel-code
erinepshovel-code merged commit 68c9f02 into main Sep 6, 2026
4 checks passed

@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: e55e9f9e75

ℹ️ 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".

Comment on lines +8 to +9
await expect(page.getByRole('navigation', { name: 'Repository situation index' }).locator('a')).toHaveCount(11);
await expect(page.locator('.sitrep-card')).toHaveCount(11);

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 Allow the committed SITREP fallback in browser counts

When refresh:sitrep enters its supported fallback path—for example, after a transient GitHub/control-plane failure or with OFFLINE=1—a clean checkout copies the committed last-known-good snapshot, which still contains five projects, so the template renders five navigation links and cards. The Pages and pull-request workflows run this browser suite after the build without rejecting SITREP fallback data, so these exact 11 assertions turn a recoverable refresh failure into a failed release check; derive the expectation from the rendered snapshot or ensure fallback data always projects all 11 members.

Useful? React with 👍 / 👎.

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