Skip to content

fix: match Maestro directory test order#802

Merged
thymikee merged 2 commits into
mainfrom
codex/maestro-native-directory-order
Jun 13, 2026
Merged

fix: match Maestro directory test order#802
thymikee merged 2 commits into
mainfrom
codex/maestro-native-directory-order

Conversation

@thymikee

Copy link
Copy Markdown
Member

Summary

Match Maestro directory test discovery order with native directory iteration.

Directory inputs for agent-device test --maestro now use Node's directory iterator order instead of grouped/sorted glob output, matching Maestro's Files.walk(...) behavior for folder suites. Explicit file inputs and glob inputs keep their existing deterministic ordering.

Validation

  • pnpm exec vitest run src/daemon/handlers/__tests__/session-test-discovery.test.ts
  • pnpm build:all
  • pnpm format:check
  • pnpm check:quick
  • Android React Navigation e2e/maestro folder comparison, stopped after 5 completed flows and recorded with scrcpy:
    • Maestro: /private/tmp/android-folder-first5-order-20260613/maestro-android-first5-folder.mp4
    • agent-device: /private/tmp/android-folder-first5-order-20260613/agent-device-android-first5-folder.mp4
    • both started with: Tab View - Scrollable Tab Bar, Stack - Header Customization, Stack - Prevent Remove, Stack - Transparent Modal, Screen Layout

@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 +419 B
JS gzip 413.4 kB 413.6 kB +132 B
npm tarball 546.6 kB 546.7 kB +131 B
npm unpacked 1.8 MB 1.8 MB +419 B

Startup median (7 runs, lower is better):

Scenario Base Current Diff
CLI --version 27.4 ms 28.9 ms +1.5 ms
CLI --help 53.2 ms 54.7 ms +1.5 ms

Top changed chunks:

Chunk Raw diff Gzip diff
dist/src/session.js +419 B +132 B

@thymikee thymikee marked this pull request as ready for review June 13, 2026 18:43
@thymikee thymikee merged commit 991f4c7 into main Jun 13, 2026
19 checks passed
@thymikee thymikee deleted the codex/maestro-native-directory-order branch June 13, 2026 18:48
@github-actions

Copy link
Copy Markdown
PR Preview Action v1.8.1
Preview removed because the pull request was closed.
2026-06-13 18:48 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