Skip to content

fix(dev): make the pre-flight dedup test independent of glob order - #1428

Merged
potiuk merged 1 commit into
apache:mainfrom
potiuk:fix/flaky-check-duplication-test
Sep 27, 2026
Merged

potiuk merged 1 commit into
apache:mainfrom
potiuk:fix/flaky-check-duplication-test

Conversation

@potiuk

@potiuk potiuk commented Sep 27, 2026

Copy link
Copy Markdown
Member

test_identical_text_inside_generated_regions_is_invisible took the first SKILL.md from an unsorted glob and asserted it carries the auto pre-flight block.
The setup* skills carry none, so the test passed or failed depending on filesystem order.
It now picks the first skill that carries the block, in sorted order.

Three open PRs (#1415, #1369, #1403) each carry their own copy of a fix for this; once this lands they can drop it.


Was generative AI tooling used to co-author this PR?
  • Yes — Claude Code (Opus 5.5)

🤖 Generated with Claude Code

test_identical_text_inside_generated_regions_is_invisible took the first
SKILL.md from an unsorted glob and asserted it carries the auto pre-flight
block. The setup skills carry none, so the test passed or failed depending
on filesystem order. It now picks the first carrier in sorted order.

Generated-by: Claude Code (Opus 5.5)
@potiuk potiuk added family:tools tools/* substrate:framework-dev Tool substrate: build / validate / eval the framework itself labels Sep 27, 2026
@potiuk
potiuk merged commit 2cb1af4 into apache:main Sep 27, 2026
9 checks passed
liwenjie200543 added a commit to liwenjie200543/magpie that referenced this pull request Sep 27, 2026
…ache#1428)

The flaky-test fix rode along in this branch; the same fix landed on
main as apache#1428 with a sorted-glob implementation, so the rider file
both duplicated merged work and was the one conflict blocking the
merge. Restore the file to main's version.

Generated-by: WorkBuddy (AI agent)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

family:tools tools/* substrate:framework-dev Tool substrate: build / validate / eval the framework itself

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant