Repository navigation
[test-quarantine] Quarantine QuickGridInteractiveTest.SortByTypeMismatchVirtualizedShowsClearError - #67633
[test-quarantine] Quarantine QuickGridInteractiveTest.SortByTypeMismatchVirtualizedShowsClearError#67633github-actions[bot] wants to merge 2 commits into
Conversation
…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]>
|
Introduced in #67413. @BharatRamsf3693, can you please take a look? The test turned out to be flaky. |
|
@ilonatommy would you rather we merged while waiting for the test to be fixed? |
ilonatommy
left a comment
There was a problem hiding this comment.
Too fast, issue number is wrong.
Will the bot update "https://github.com/dotnet/aspnetcore/issues/#aw_quickgrid_sort" to a real link or do we always do it manually? |
Thanks for flagging this. I investigated the flakiness and submitted a fix in #67677 |
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. |
#67683 for this issue - the placeholder has to be 3-12 characters |
…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]>
|
Don't quarantine this test for 30 days |
Quarantines
QuickGridInteractiveTest.SortByTypeMismatchVirtualizedShowsClearErrordue to intermittentStaleElementReferenceExceptionfailures observed across 11 CI builds onmainand merged PRs over the past 30 days.Tracking issue: https://github.com/dotnet/aspnetcore/issues/#aw_quickgrid_sort