Skip to content

fix: align Maestro test discovery order#801

Merged
thymikee merged 1 commit into
mainfrom
fix/maestro-test-discovery-order
Jun 13, 2026
Merged

fix: align Maestro test discovery order#801
thymikee merged 1 commit into
mainfrom
fix/maestro-test-discovery-order

Conversation

@thymikee

@thymikee thymikee commented Jun 13, 2026

Copy link
Copy Markdown
Member

Summary

Align test --maestro suite discovery with Maestro-style deterministic ordering: explicit file inputs keep caller order and run first, while directory/glob expansions are sorted YAML/YML before .ad with localeCompare within each expanded group.

Touches 2 files. Split out from #799 so the Android replay reliability PR stays focused.

Validation

pnpm exec vitest run src/daemon/handlers/__tests__/session-test-discovery.test.ts passed.
./node_modules/.bin/oxfmt --write src/daemon/handlers/session-test-discovery.ts src/daemon/handlers/__tests__/session-test-discovery.test.ts completed on the touched files.
pnpm check:quick passed.

@github-actions

github-actions Bot commented Jun 13, 2026

Copy link
Copy Markdown

Size Report

Metric Base Current Diff
JS raw 1.3 MB 1.3 MB +452 B
JS gzip 413.3 kB 413.4 kB +123 B
npm tarball 546.4 kB 546.5 kB +123 B
npm unpacked 1.8 MB 1.8 MB +452 B

Startup median (7 runs, lower is better):

Scenario Base Current Diff
CLI --version 29.1 ms 29.3 ms +0.3 ms
CLI --help 55.3 ms 54.3 ms -1.0 ms

Top changed chunks:

Chunk Raw diff Gzip diff
dist/src/session.js +452 B +123 B

@thymikee thymikee force-pushed the fix/maestro-test-discovery-order branch from 1d6cd20 to 151d37e Compare June 13, 2026 11:25
@thymikee thymikee merged commit 0034a76 into main Jun 13, 2026
19 checks passed
@thymikee thymikee deleted the fix/maestro-test-discovery-order branch June 13, 2026 11:29
@github-actions

Copy link
Copy Markdown
PR Preview Action v1.8.1
Preview removed because the pull request was closed.
2026-06-13 11:29 UTC

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