Skip to content

chore: add CODEOWNERS for web/ and the heimdall-ui agent skill - #185

Closed
oly-agents[bot] wants to merge 2 commits into
mainfrom
chore/web-codeowners
Closed

oly-agents[bot] wants to merge 2 commits into
mainfrom
chore/web-codeowners

Conversation

@oly-agents

@oly-agents oly-agents Bot commented Nov 30, 2026 •

Copy link
Copy Markdown
Contributor

No description provided.

Route web/ and .agents/skills/heimdall-ui.md to the UI team so the
main + releases ruleset (code-owner review required) asks them to review.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-authored-by: Gaurav Warale <gaurav.warale@pattern.com>
@argus-pattern

argus-pattern Bot commented Nov 30, 2026

Copy link
Copy Markdown

👀 Reviewing 66d1d5c.

Comment thread .github/CODEOWNERS Resolved
Comment thread .github/CODEOWNERS Resolved

@argus-pattern argus-pattern 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.

Argus review of 66d1d5c. Checked: the CODEOWNERS location (no other CODEOWNERS file exists, so .github/CODEOWNERS is the one GitHub uses), the path patterns (/web/ and /.agents/skills/heimdall-ui.md both exist and match), last-match-wins ordering, the main + releases ruleset (require_code_owner_review: true), GitHub's CODEOWNERS validator, and the acceptance criteria in the task. The PR keeps .agents/pattern-agents.json out of scope as the task requires. It also lists the team handle and backend sign-off under Blockers. 2 inline findings.

@patterninc/frontend-leads has no access to heimdall, so GitHub ignored it.
@patterninc/nexus owns Pattern UI in pattern-exp and passes the CODEOWNERS
validator here. Give the file itself an owner so the UI lines cannot be
removed without review.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-authored-by: Gaurav Warale <gaurav.warale@pattern.com>
@oly-agents

oly-agents Bot commented Nov 30, 2026

Copy link
Copy Markdown
Contributor Author

Escalating 1 section that I cannot resolve: the failed build check (job) on 8560fb6.

This PR did not cause the failure.

  • This PR changes only .github/CODEOWNERS. The failing test is web/src/test/integration/clusters.test.tsx › "applies a filter typed in the filter menu, then removes it". The test does not read any file in this diff.
  • The build check passed on this branch at 09:06 UTC. The same test failed with the same error on docs(web): add UI ADRs and dependency upgrade runbook #187 (docs/web-adrs-dependency-runbook, run 46390304880). That PR changes only docs, and its next commit passed.
  • On a local machine, the test passed 5 of 5 runs on its own. Under full CPU load it failed 1 of 6 runs and 1 of 12 runs, with the same error: AssertionError: expected null to be '7.1.0'.

What the test shows. I added temporary logging to the test (not committed). While the test typed 7.1.0, the field lost characters. The API requests were version=7, 7.1, 7.1., 7., and then no version. When waitFor stopped after 3 s, the field was empty. My theory: the Version field is a controlled input whose value comes from nuqs URL state, and on a slow runner an older URL update can overwrite newer keystrokes. This theory is not proven.

Why I did not re-run or fix it. Oly refused the CI re-run: oly ci-rerun --pr https://github.com/patterninc/heimdall/pull/185 --check build returned ci_rerun_disabled (CI re-runs are turned off; escalate the check to a human). I made no test or code change, because this PR does not own that test.

Proposed fix (on main, not in this PR). The same pattern is in Jobs.tsx and Commands.tsx, so their filter tests can fail in the same way. Possible fixes:

  • Keep a local draft value in TextFilterControl (web/src/components/FilterMenu/FilterControl.tsx) and write it to the URL with a debounce, so the URL state is not the field's direct value.
  • Or, in the test, wait until the field shows the typed value (expect(input).toHaveValue('7.1.0')) before the request assertion.
  • Until it is fixed, quarantine the test with tags: ['flaky'] (added by web: add list-page bundle budget, Stryker mutation config, flaky-test quarantine #189).

I did not open a Flaky check: build issue. No issue exists, and the skill opens one only when a check recurs (re-runs spent, or a re-run on another branch).

A person with repo access must re-run the failed job: gh run rerun 46392627748 --failed --repo patterninc/heimdall. Fix in this PR? I recommend no.

@oly-agents

oly-agents Bot commented Nov 30, 2026

Copy link
Copy Markdown
Contributor Author

Recheck 1 of 2 for the failed build check on 8560fb6. Nothing has changed, and a person must act.

Current state

  • build still fails on this head (job). The cause is the flaky web filter test described in my earlier comment. This PR changes only .github/CODEOWNERS.
  • main did not move: this branch is 0 commits behind main. Updating the branch will not change the result.
  • I tried the re-run again: oly ci-rerun --pr https://github.com/patterninc/heimdall/pull/185 --check build returned ci_rerun_disabled (CI re-runs are turned off; escalate the check to a human) (retryable=false).

New evidence: the same flake occurred again on #193 at 10:12 UTC (run 46397663527). The failing test was commands.test.tsx › "applies a filter typed in the filter menu, then removes it", with AssertionError: expected null to be 'spark'. The commit between #193's last pass and this failure changes only web/README.md, web/e2e/jobs.spec.ts and web/playwright.config.ts. Vitest does not run those files. So the flake now occurs in two filter tests (clusters and commands) on three branches.

What a person must do

  1. Re-run the failed job: gh run rerun 46392627748 --failed --repo patterninc/heimdall. Or use Re-run failed jobs on the job page.
  2. Approve this PR. The agent-pr-approval gate needs 1 approval from a person with write access who is not gauravwarale. That person is the co-author, so their approval does not count.
  3. Optional, on main: fix or quarantine the filter tests, as described in my earlier comment. web: add list-page bundle budget, Stryker mutation config, flaky-test quarantine #189 adds the tags: ['flaky'] quarantine and is still open.

@oly-agents

oly-agents Bot commented Nov 30, 2026

Copy link
Copy Markdown
Contributor Author

Recheck 2 of 2 (final) for the failed build check on 8560fb6. Nothing has changed, and a person must act. Oly will not check this PR again.

Current state

  • build still fails on attempt 1 (job). The cause is the flaky web filter test described in my earlier comments. This PR changes only .github/CODEOWNERS, so it cannot cause this failure.
  • This branch is 0 commits behind main. Updating the branch will not change the result.
  • oly ci-rerun --pr https://github.com/patterninc/heimdall/pull/185 --check build still returns ci_rerun_disabled (retryable=false).
  • The agent-pr-approval check still shows "0 of 1" approvals.

What a person must do

  1. Re-run the failed job: gh run rerun 46392627748 --failed --repo patterninc/heimdall. Or use Re-run failed jobs on the job page.
  2. Approve this PR. You must have write access, and you must not be gauravwarale. That person is a co-author, so their approval does not count.
  3. Optional, on main: fix or quarantine the flaky filter tests in clusters.test.tsx and commands.test.tsx. web: add list-page bundle budget, Stryker mutation config, flaky-test quarantine #189 adds the quarantine and is still open.

@oly-agents

oly-agents Bot commented Dec 1, 2026

Copy link
Copy Markdown
Contributor Author

Escalating 1 section that I cannot resolve: the failed build check, attempt 2 (job) on 8560fb6.

Evidence that this PR did not cause it

  • The same flaky test failed again: src/test/integration/clusters.test.tsx > Clusters list page > applies a filter typed in the filter menu, then removes it (AssertionError: expected null to be '7.1.0'). The other 107 tests passed.
  • This PR changes only .github/CODEOWNERS. The test does not use that file.
  • I ran this test file 5 times on this head (pnpm vitest run src/test/integration/clusters.test.tsx). All 5 runs passed.
  • The PR has no merge conflict with main.
  • I cannot re-run it: oly ci-rerun --pr https://github.com/patterninc/heimdall/pull/185 --check build returns ci_rerun_disabled (retryable=false).

What a person must do

  1. Re-run the failed job again: gh run rerun 46392627748 --failed --repo patterninc/heimdall.
  2. Approve this PR to clear agent-pr-approval. The approver must not be gauravwarale, who is a co-author.
  3. Fix in this PR? I recommend no. The fix is to make the filter test stable, or to quarantine it, on main. web: add list-page bundle budget, Stryker mutation config, flaky-test quarantine #189 (open) adds a quarantine.

@oly-agents

oly-agents Bot commented Dec 1, 2026

Copy link
Copy Markdown
Contributor Author

Recheck 1 of 2 for the failed build check on 8560fb6 (job). Nothing changed since 09:56 UTC. A person must still do the steps below.

What I checked

What a person must do

  1. Re-run the failed job: gh run rerun 46392627748 --failed --repo patterninc/heimdall.
  2. Approve this PR to clear agent-pr-approval. The approver must not be gauravwarale, who is a co-author.
  3. On main, not in this PR: fix the filter test in web/src/test/integration/clusters.test.tsx, or tag it flaky with the steps in web: add list-page bundle budget, Stryker mutation config, flaky-test quarantine #189's web/AGENTS.md after web: add list-page bundle budget, Stryker mutation config, flaky-test quarantine #189 merges.

@oly-agents

oly-agents Bot commented Dec 1, 2026

Copy link
Copy Markdown
Contributor Author

Recheck 2 of 2 (final) for the failed build check on 8560fb6 (job). Nothing changed since my recheck at 11:12 UTC. I will not check this again. A person must do the steps below.

What I checked (15:20 UTC)

  • The PR head is still 8560fb6. build is still red from attempt 2, with the same flaky test: clusters.test.tsx > Clusters list page > applies a filter typed in the filter menu, then removes it.
  • main is still 82bab47, and build is green there. An update from main does not fix this, so I did not push.
  • I still cannot re-run it: oly ci-rerun --pr https://github.com/patterninc/heimdall/pull/185 --check build returns ci_rerun_disabled (retryable=false).
  • web: add list-page bundle budget, Stryker mutation config, flaky-test quarantine #189 (the quarantine setup) is still open and does not tag this test.

What a person must do

  1. Re-run the failed job: gh run rerun 46392627748 --failed --repo patterninc/heimdall.
  2. Approve this PR to clear agent-pr-approval. The approver must not be gauravwarale, who is a co-author.
  3. On main, not in this PR: fix the filter test in web/src/test/integration/clusters.test.tsx, or tag it flaky with the steps in web: add list-page bundle budget, Stryker mutation config, flaky-test quarantine #189's web/AGENTS.md after web: add list-page bundle budget, Stryker mutation config, flaky-test quarantine #189 merges.

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