Repository navigation
test-files.yml: run chosen test files on their full-test runners, dispatched and read over REST by pnpm ci:test-files - #221
Merged
Merged
Conversation
…Apps kept the host in the scaled window one scene rotation left, so capture trust's OS screenshot showed the wallpaper
# Conflicts: # packages/parity/test/device-run.test.ts
…t lanes rerun, so the device records await the landing driver's device run)
…h pnpm ci:test-files to dispatch and read it over REST
…ems 1 and 4) scripts/cloud-setup.sh, run by the project SessionStart hook only when CLAUDE_CODE_REMOTE=true, installs the Node every workflow pins and the pnpm of packageManager, then pnpm install --frozen-lockfile and pnpm setup:git, which now also turns rerere off. DRAGON_REQUIRE_NATIVE=1 turns a native run with a missing toolchain from blocked (owner tooling) into a failure naming the tool, in runTarget and runHostLane, as CI's "No native run was blocked" step does.
…atch mode) regen-on-ci.yml takes a sha (patch mode): no push, run-name "regen of <sha>", the combined outputs.patch uploaded as regen-patch, every cache restored only. land-devices-ci.ts adds the regen workflow, land-regen/c-<sha> scratch branches and the patch application; land.ts sends its four regen call sites and the parallel preparations through it.
…group; ci:test-files reads reports strictly and removes them
…then the merge drivers) floor-merge.test.ts pins pnpm setup:git to exactly what the landing driver sets; rerere.enabled false joins both, so the exact-equality check stays and covers the new line.
The master warm run no longer yields to patch-mode runs; a regen step cut off (timeout, lost runner, cancel) is CiUnavailable, only one that completed with failure blames the tree; patch mode does not use setup-node's saving pnpm cache; DEFAULT_REGEN_WAIT_S covers the 6-round chain; a commitApart error is CiUnavailable; the regen commit names the CI run; abandonCiRun says CI run.
…_NATIVE=1, prove the Linux path in CI Review of 892a687: the hook now has no matcher, so it reruns after compact, clear and fork (compaction drops CLAUDE_ENV_FILE exports); in a cloud session the script writes export DRAGON_REQUIRE_NATIVE=1 to CLAUDE_ENV_FILE first (PM ruling) and fails without that file; only the summary line reaches stdout; npm --prefix; curl --retry-connrefused. ci.yml's checks job runs on ubuntu-24.04 and runs cloud-setup.sh twice before setup-node, checking Node, pnpm, the export, typecheck and no reinstall.
…re; a nonce finds the dispatched run; every test vitest collects must run; the setup test covers env, vitest command and blocked scan
Commands: pnpm regen; pnpm run parity:devices; pnpm regen
Commands: pnpm regen
Commands: pnpm regen; pnpm run parity:devices; pnpm regen
iOS simulators boot pinned to Full Screen Apps (iPad capture-trust failures in queues 59 and 60)
Land: LAND_REGEN=ci runs the driver's regens on CI (regen-on-ci.yml patch mode)
Cloud session bootstrap and DRAGON_REQUIRE_NATIVE (cloud migration items 1 and 4)
Commands: pnpm regen
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.
Item 3 of the cloud migration plan (docs/goals/milestone-2-proof/notes/cloud-migration.md): a CI path that runs chosen test files on the right runner, for cloud sessions that have neither a Mac nor the native toolchains.
What changed
.github/workflows/test-files.yml(workflow_dispatch:ref,files,floor_write, optionalnonce). The run-name istest files of <ref>, followed by(<nonce>)when a nonce is given.scripts/test-shards.ts group-files, read against the requested tree, so a branch that predates the mode can still be tested.test-shards.ts alland fails if any requested file's group differs. full-test.yml at that ref would run the file in that other group.test-files-request: request.json with the ref, the resolved sha, the nonce, and the files with their groups.DRAGON_FLOOR_WRITE/DRAGON_PIN_WRITE, which are empty unlessfloor_writeis set. full-test.yml has no composite action, and it is left untouched.DRAGON_WPT_DIR, an extra workflow env var, a disabled blocked grep,if: falseon the blocked step,--passWithNoTests -t smokein the vitest command,-tin the vitest list command, or a dropped step in the native job.summaryjob over all the reports. It fails if:vitest listcollects for it. vitest reports tests dropped by a-tfilter as skipped, andvitest listleaves out statically skipped tests, so this catches filtering;DRAGON_FLOOR_WRITE=1andDRAGON_PIN_WRITE=1. Each job uploadstest-files-floor-<group>/floor.patch, covering themerge=dragon-floorfiles in .gitattributes.cancel-in-progress: false. Workflow-level concurrency can't compute a hash.scripts/test-shards.ts group-files [--root <dir>] <file>...: printsfile<TAB>group. It refuses anything that is not exactly a test file of the tree.pnpm ci:test-files <ref> <file>... [--floor-write] [--from <branch>] [--once], and--run <id> [--once](scripts/ci-test-files.ts).gh apifor the dispatch (withreturn_run_details) and the artifact list,gh run view,gh run list,gh run download.--once, or past the wait limit).No tolerance, check, test or fixture was changed or removed.
What passed (head 7e7f8fe)
pnpm typecheck.grid-computed.test.ts(chrome, launches Chrome) andnative-backends.test.ts(native, 11 tests, Swift 6.4 + kotlinc 2.4.20). https://github.com/compiled-run/dragoncss/actions/runs/37737473447, exit 0.chrome-ports.test.tsandunits.test.ts. https://github.com/compiled-run/dragoncss/actions/runs/37737676305, exit 0.will-changedropped from seams-floor.json): seams.test.ts passed, and the downloaded patch restoreswill-change. https://github.com/compiled-run/dragoncss/actions/runs/37737483094, exit 0.pnpm testandpnpm regenwere not run. The change touches no generator input or compiler code.Notes:
🤖 Generated with Claude Code