Skip to content

[test-quarantine] Quarantine QuickGridInteractiveTest.SortByTypeMismatchVirtualizedShowsClearError - #67633

Closed
github-actions[bot] wants to merge 2 commits into
mainfrom
test-quarantine/quickgrid-sort-20260707-71b4e9f345b226f2
Closed

github-actions[bot] wants to merge 2 commits into
mainfrom
test-quarantine/quickgrid-sort-20260707-71b4e9f345b226f2

Conversation

@github-actions

@github-actions github-actions Bot commented Jul 7, 2026

Copy link
Copy Markdown
Contributor

Quarantines QuickGridInteractiveTest.SortByTypeMismatchVirtualizedShowsClearError due to intermittent StaleElementReferenceException failures observed across 11 CI builds on main and merged PRs over the past 30 days.

Tracking issue: https://github.com/dotnet/aspnetcore/issues/#aw_quickgrid_sort

Generated by Daily Test Quarantine Management · 793.6 AIC · ⌖ 9.06 AIC · ⊞ 2.9K · ◷

…sClearError

Test has been failing intermittently with StaleElementReferenceException.
Failures observed in 11 CI builds across main branch and merged PRs.

Co-authored-by: Copilot <[email protected]>
@github-actions
github-actions Bot requested a review from a team as a code owner July 7, 2026 11:49
@ilonatommy

Copy link
Copy Markdown
Member

Introduced in #67413. @BharatRamsf3693, can you please take a look? The test turned out to be flaky.

@wtgodbe

wtgodbe commented Jul 7, 2026

Copy link
Copy Markdown
Member

@ilonatommy would you rather we merged while waiting for the test to be fixed?

@ilonatommy ilonatommy left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Too fast, issue number is wrong.

@ilonatommy

Copy link
Copy Markdown
Member

@ilonatommy would you rather we merged while waiting for the test to be fixed?

Will the bot update "https://github.com/dotnet/aspnetcore/issues/#aw_quickgrid_sort" to a real link or do we always do it manually?

@BharatRamsf3693

Copy link
Copy Markdown
Contributor

Introduced in #67413. @BharatRamsf3693, can you please take a look? The test turned out to be flaky.

Thanks for flagging this. I investigated the flakiness and submitted a fix in #67677

@wtgodbe

wtgodbe commented Jul 8, 2026

Copy link
Copy Markdown
Member

Will the bot update "https://github.com/dotnet/aspnetcore/issues/#aw_quickgrid_sort" to a real link or do we always do it manually?

Ugh, I've been fighting against this exact issue for months. It's likely a bug in the framework - I've already submitted a couple fixes for the same thing there, then it'll work for a while, then go back to not working, and so on. I'll fix manually in this PR & then investigate.

@wtgodbe

wtgodbe commented Jul 8, 2026

Copy link
Copy Markdown
Member

Or we could close in favor of #67677 - if so, please leave a comment saying "Don't quarantine this test for 30 days", otherwise the agent will try to quarantine it again based on failures in the 30 day window prior to #67677 going in

@wtgodbe

wtgodbe commented Jul 8, 2026

Copy link
Copy Markdown
Member

I'll fix manually in this PR & then investigate.

#67683 for this issue - the placeholder has to be 3-12 characters

wtgodbe added a commit that referenced this pull request Jul 8, 2026
…67683)

* Guard quarantine temporary_id against length-limit placeholder leaks

The Daily Test Quarantine Management workflow occasionally commits an
unresolved `#aw_...` placeholder into a `[QuarantinedTest(...)]` attribute
(e.g. `#aw_quickgrid_sort` in PR #67633, run 28861383445). Root cause: the
agent chose a descriptive `temporary_id` longer than gh-aw's `aw_` + 3-12
`[A-Za-z0-9_]` limit. gh-aw silently discards the too-long id, auto-generates
a different one, and registers the new issue under it -- so the `#{temporary_id}`
token written into code no longer matches any registered id, is treated as a
malformed reference, and is committed verbatim as a broken placeholder.

Document the `aw_` + 3-12 char limit at the constraint list and at the point
where the id is created (Case A step 1), instruct the agent to pick a short
abbreviated slug and reuse the identical id for create_issue / add_comment /
the attribute / the PR body, and add a pre-submit self-check that the token
written into the attribute matches `^aw_[A-Za-z0-9_]{3,12}$` and equals the
temporary_id passed to create_issue.

The prompt body is runtime-imported from this .md, so no lock recompile is
required.

Co-authored-by: Copilot <[email protected]>

* Clarify that the 3-12 temporary_id limit applies to the slug after aw_

Address review feedback: the character counts were ambiguous between the
slug portion and the full token. gh-aw enforces "'aw_' followed by 3 to 12
alphanumeric or underscore characters", so the 3-12 limit is on the slug
only (full token 6-15). Label the example counts explicitly as slug counts
(qgridsort = 9, quickgrid_sort = 14) and reference the exact regex
^aw_[A-Za-z0-9_]{3,12}$.

Co-authored-by: Copilot <[email protected]>

---------

Co-authored-by: Copilot <[email protected]>
@ilonatommy

Copy link
Copy Markdown
Member

Don't quarantine this test for 30 days

@wtgodbe wtgodbe added the no-quarantine-for-30-days Do not re-quarantine this test for 30 days from when this label was added label Jul 28, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

no-quarantine-for-30-days Do not re-quarantine this test for 30 days from when this label was added test-failure

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants