ci(e2e): run expo native e2e flows with argent instead of maestro - #9440
Closed
wobsoriano wants to merge 7 commits into
Closed
ci(e2e): run expo native e2e flows with argent instead of maestro#9440wobsoriano wants to merge 7 commits into
wobsoriano wants to merge 7 commits into
Conversation
Replaces the Maestro runner in expo-native-build.yml with Argent (software-mansion/argent) flow replay. Argent keeps a resident tool-server so per-flow invocations skip Maestro's ~14s JVM+XCTest startup, measuring 3.5-4x faster per flow locally. Flows are ported 1:1; clean-state resets move from Maestro's clearState into run-argent-flows.sh since argent's launch never clears app data. Credentials flow through Argent secrets (ARGENT_SECRET_*), which are redacted from reports automatically.
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
🦋 Changeset detectedLatest commit: eaad5ef The changes in this PR will be included in the next version bump. This PR includes changesets to release 0 packagesWhen changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
Argent's simulator-server only drives emulators argent boots itself; the reactivecircus-booted emulator made every gesture-tap fail in CI. Mirrors argent's own wayland-e2e.yml: headless Weston, argent GPU mode, AVD created directly. Drops the AVD snapshot cache since plain AVD creation is seconds.
@clerk/astro
@clerk/backend
@clerk/chrome-extension
@clerk/clerk-js
@clerk/electron
@clerk/electron-passkeys
@clerk/eslint-plugin
@clerk/expo
@clerk/expo-google-signin
@clerk/expo-passkeys
@clerk/express
@clerk/fastify
@clerk/hono
@clerk/localizations
@clerk/nextjs
@clerk/nuxt
@clerk/react
@clerk/react-router
@clerk/shared
@clerk/tanstack-react-start
@clerk/testing
@clerk/ui
@clerk/upgrade
@clerk/vue
commit: |
…in artifacts The linux simulator-server bundled in the argent 0.20.0 npm package exits at spawn on CI runners; argent's own wayland-e2e pins the radon-daily release channel for the working build. Also copies ~/.argent logs into the failure artifact so backend crashes are diagnosable.
5 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Replaces Maestro with Argent flow replay in the expo native e2e workflow. Argent keeps a resident tool-server, so per-flow invocations skip the ~14s JVM + XCTest startup Maestro pays on every
maestro test; locally the identical flow runs 3.5 to 4x faster, and the full 7-flow Android suite completes in under 3 minutes including per-flow clean-state resets.All Maestro flows are ported 1:1 to
.argent/flows/. Clean-state resets move out of the flows (Argent'slaunch:never clears app data) intorun-argent-flows.sh, which reinstalls + resets the keychain on iOS andpm clears on Android between flows. Credentials flow through Argent secrets (ARGENT_SECRET_*), which the runner redacts from its reports automatically.Validated locally against the built SDK 57 fixture: the Android suite passes twice consecutively with zero retries. Do not merge yet: the iOS jobs are expected to fail because Argent's flow runner cannot currently see into clerk-ios's natively presented AuthView sheet (reproduced on 0.20.0 and 0.20.1-next.4; upstream report pending). This draft exists to measure CI runtime against the Maestro baseline.
Checklist
pnpm testruns as expected.pnpm buildruns as expected.Type of change