Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
232 commits
Select commit Hold shift + click to select a range
c36ab1a
test(repo-turbo): the five verbs, the data-dependency graph and the n…
davidjalbers Nov 30, 2026
5a1343c
repo-turbo: the five verbs, data dependencies in the task graph, chec…
davidjalbers Nov 30, 2026
320040a
test(repo-turbo): a workflow asks only for tasks the repo has
davidjalbers Nov 30, 2026
d430a33
repo-turbo: a package repo's workflows run test, which includes check…
davidjalbers Nov 30, 2026
5e4d92f
newborns: a repo-turbo newborn passes check, test, build and e2e, and…
davidjalbers Nov 30, 2026
ad6c410
newborns: the deviation that waits for plx doctor to know the five ve…
davidjalbers Nov 30, 2026
5b6eb3c
newborns: the newborn of app-nextjs runs test and not the verify that…
davidjalbers Nov 30, 2026
3118d54
tests of repo-turbo in lib: the doctor's one finding that waits for t…
davidjalbers Nov 30, 2026
db3c0b3
tests of the move in dev: an edit beside [settings], and the end stat…
davidjalbers Nov 30, 2026
f74141d
Test: an app builds into one directory that serves all of it
davidjalbers Nov 30, 2026
fec8fc2
An app's build puts its static files and public/ into the standalone …
davidjalbers Nov 30, 2026
94c8984
test(cli-ci): an instance runs its runner in the environment image
davidjalbers Nov 30, 2026
2c8c07d
Test: the one directory is all an app's build leaves, and its cache h…
davidjalbers Nov 30, 2026
313d9f3
The standalone directory is the outputs of an app's build task
davidjalbers Nov 30, 2026
5d7d445
Test: the platform is in the hash of an app's build and not in its ch…
davidjalbers Nov 30, 2026
8f0e97a
The platform is in the hash of an app's build
davidjalbers Nov 30, 2026
ff0aa0f
Test: the build ID is the hash of the app's build, and the build guar…
davidjalbers Nov 30, 2026
9c8743c
The build ID is Turbo's hash of the app's build, read from TURBO_HASH
davidjalbers Nov 30, 2026
a8423ab
Test: the build does not type-check, and check does
davidjalbers Nov 30, 2026
1c751f2
The build does not type-check: check is the type gate
davidjalbers Nov 30, 2026
6a3c25f
Test: an app's tests run by the repo's verb, and pass while it has none
davidjalbers Nov 30, 2026
a692441
An app has a test script: Node's test runner, which passes with no tests
davidjalbers Nov 30, 2026
f799ac4
A BuildKit service on the runner host for the publish job (PLX-180)
davidjalbers Nov 30, 2026
308f86e
Test: the image is the directory, healthy under the app's compose file
davidjalbers Nov 30, 2026
3b8ab47
The Dockerfile only copies the directory the app's build leaves
davidjalbers Nov 30, 2026
42196a9
The Dockerfile's header is two lines, as plx requirements allows
davidjalbers Nov 30, 2026
7646d27
The BuildKit service's stop is no failure; say what an OOM kill takes
davidjalbers Nov 30, 2026
35ca2d0
feat(cli-ci): an instance runs its runner in the environment image
davidjalbers Nov 30, 2026
bcef9f4
feat(actions_runners): one environment image for slots, instances and…
davidjalbers Nov 30, 2026
dcd0df8
ci: install on the forge's runners only what the environment image ca…
davidjalbers Nov 30, 2026
d1a1665
ci(runner-image): build the environment image once its plx-ci is on npm
davidjalbers Nov 30, 2026
9a854e0
test(repo-turbo): the question postgres, answered and not, and a test…
davidjalbers Nov 30, 2026
15ece71
test(repo-turbo): a comment on a line of its own in turbo.json is read
davidjalbers Nov 30, 2026
a6d50e4
repo-turbo: the question postgres pins the binary and declares its ma…
davidjalbers Nov 30, 2026
e0c6ebc
tests of repo-turbo: scoping of check and test for the right reason, …
davidjalbers Nov 30, 2026
3d7134e
test(cli-ci): the runner owns its log's directory before the containe…
davidjalbers Nov 30, 2026
1c2e6c6
BuildKit service: restart by what is on disk, build steps on a bridge…
davidjalbers Nov 30, 2026
cf8727a
fix(actions_runners): trust under _work alone, corepack for the runne…
davidjalbers Nov 30, 2026
3d9ff01
ci: hand the repo's [env] and paths to the later steps in the environ…
davidjalbers Nov 30, 2026
6ba06e3
Test: the image test builds with no flag a Docker may lack
davidjalbers Nov 30, 2026
6b8f6ee
Test: the image's user, port, environment, ownership and base
davidjalbers Nov 30, 2026
1b76294
Test: the marker names an app's verbs, its test script's files, its b…
davidjalbers Nov 30, 2026
e18fd63
The marker names an app's verbs, what its test script runs, and its b…
davidjalbers Nov 30, 2026
feff775
Say that a build outside Turbo or mise throws, as it does
davidjalbers Nov 30, 2026
9adba16
The newborn helpers start a command one way, for tryRun and start alike
davidjalbers Nov 30, 2026
b4dd664
BuildKit service: the bridge's subnet as a variable; say what outlive…
davidjalbers Nov 30, 2026
36644e3
test(repo-turbo): an answer of postgres has ASCII digits and no leadi…
davidjalbers Nov 30, 2026
483e082
repo-turbo: a postgres answer is two numbers of ASCII digits, none wi…
davidjalbers Nov 30, 2026
ba06f7c
tests of repo-turbo: the hash test on an app under apps/, the doctor'…
davidjalbers Nov 30, 2026
e249dd1
test(cli-ci): an instance's job container mounts no cache
davidjalbers Nov 30, 2026
9bff651
fix(actions_runners): small slots share no directory of executables
davidjalbers Nov 30, 2026
f7f767e
Merge pull request #45 from plexus-ms/davidjalbers/plx-180-a-buildkit…
davidjalbers Nov 30, 2026
7e535d9
Merge remote-tracking branch 'origin/one-loop' into davidjalbers/plx-…
davidjalbers Nov 30, 2026
b45c9ef
Merge remote-tracking branch 'origin/one-loop' into davidjalbers/plx-…
davidjalbers Nov 30, 2026
ec3686a
test(actions_runners): a small slot mounts nothing of the host's cache
davidjalbers Nov 30, 2026
09c9515
fix(actions_runners): a small slot mounts no pnpm store either
davidjalbers Nov 30, 2026
311f5f6
Merge pull request #43 from plexus-ms/davidjalbers/plx-176-repo-turbo…
davidjalbers Nov 30, 2026
38c5d27
Merge origin/one-loop into PLX-178: repo-turbo's five verbs and the B…
davidjalbers Nov 30, 2026
3980380
plx doctor: tests of the five verbs, the leftover verify and the hook…
davidjalbers Nov 30, 2026
aeaa6d6
a newborn repo-turbo repo passes the doctor as born, with no stub tas…
davidjalbers Nov 30, 2026
6636742
plx doctor: the five verbs, a leftover verify, and PLX-Repo/Hooks
davidjalbers Nov 30, 2026
6d2811f
the helpers that read a rendered mise.toml move to testing/bundled.ts…
davidjalbers Nov 30, 2026
92ede78
repo-operations: tests of the five verbs and the hooks (red)
davidjalbers Nov 30, 2026
f0302f4
repo-operations: the five verbs, the hooks of repo-turbo, and workflo…
davidjalbers Nov 30, 2026
acde2b6
newborn operations repos pass their five verbs (red until the templat…
davidjalbers Nov 30, 2026
9941c4e
newborns/app-nextjs: the newborn repo passes the doctor as born, with…
davidjalbers Nov 30, 2026
b9606d6
remove awaitingDoctor, WAITING_FOR_DOCTOR and the verify helper: the …
davidjalbers Nov 30, 2026
e8f1be2
newborns: a test file is no input of an app's build, so the type-chec…
davidjalbers Nov 30, 2026
5b00bd0
newborns: the app-nextjs newborn builds with the platform its repo's …
davidjalbers Nov 30, 2026
93a22e7
test(app-nextjs): the app's build adds the platform to the root's bui…
davidjalbers Nov 30, 2026
2d39f65
newborns: a forced run of the workspace does not force the newborns' …
davidjalbers Nov 30, 2026
7007df4
tests of repo-turbo: the verbs reach Turbo through turbow, which pick…
davidjalbers Nov 30, 2026
eddc53d
repo-turbo: turbow, the one helper by which the verbs pick their remo…
davidjalbers Nov 30, 2026
e77b29d
newborns: relock is a helper, shared by the newborn tests that add wo…
davidjalbers Nov 30, 2026
ab922a3
newborns: the app-nextjs newborn relocks before it installs, so that …
davidjalbers Nov 30, 2026
d9ad843
newborns: a newborn's verbs against a real cache server and an S3 sta…
davidjalbers Nov 30, 2026
479ad7b
the step turbo-cache: one cache server per job, shared or trusted, fr…
davidjalbers Nov 30, 2026
47b00d8
tests: the cache is wired for every repo, and no answer about registr…
davidjalbers Nov 30, 2026
bf38e8a
_check.yml: the shared cache server for every repo, through the step …
davidjalbers Nov 30, 2026
8b4cff2
repo-turbo's workflows: no turbo-cache from ci_registry, and a packag…
davidjalbers Nov 30, 2026
034bf9b
doctor: header wording
davidjalbers Nov 30, 2026
670a28e
remove updatesMove.test.ts: its header says a change of a template en…
davidjalbers Nov 30, 2026
a90d057
the update test compares the files the move concerns for repo-operati…
davidjalbers Nov 30, 2026
3acd859
before.ts: its header no longer names the removed move test
davidjalbers Nov 30, 2026
621f31f
Merge pull request #44 from plexus-ms/davidjalbers/plx-178-app-nextjs…
davidjalbers Nov 30, 2026
23830f7
Merge remote-tracking branch 'origin/one-loop' into davidjalbers/plx-…
davidjalbers Nov 30, 2026
b6274ba
Merge origin/one-loop into plx-181
davidjalbers Nov 30, 2026
7cd34bb
Merge origin/one-loop (PLX-178, app-nextjs) into the branch
davidjalbers Nov 30, 2026
dc6542b
docs(actions_runners): say what the slots are now where comments stil…
davidjalbers Nov 30, 2026
42c8169
test(e2e-playwright): a suite renders as a package of its own with on…
davidjalbers Nov 30, 2026
773b62d
feat(e2e-playwright): a template for an E2E suite as a workspace pack…
davidjalbers Nov 30, 2026
98a6844
newborns: the cache test takes freePort and relock from the helpers, …
davidjalbers Nov 30, 2026
29b9dcc
newborns: launch is shared, with the pid of the command it starts
davidjalbers Nov 30, 2026
e2df6ac
turbow: a header of two lines, as a template file has; each rule abov…
davidjalbers Nov 30, 2026
54beb38
Merge pull request #46 from plexus-ms/davidjalbers/plx-179-one-enviro…
davidjalbers Nov 30, 2026
a6db23e
newborns: the cache test reads the stand-in's container id among what…
davidjalbers Nov 30, 2026
e2796cf
test(e2e-playwright): newborn suites pass mise e2e from a fresh clone…
davidjalbers Nov 30, 2026
a28127e
feat(repo-turbo): e2e/* is a workspace glob of an app repo, where a s…
davidjalbers Nov 30, 2026
5a2f94f
feat(repo-turbo): a suite's package.json is a source of install, as a…
davidjalbers Nov 30, 2026
a2075df
fix(e2e-playwright): setup.ts as a newborn's Biome formats it, so tha…
davidjalbers Nov 30, 2026
b3cca1b
docs(cli): plx new's header names e2e-playwright among the templates …
davidjalbers Nov 30, 2026
950d215
Merge origin/one-loop (PLX-179, the environment image) into the branch
davidjalbers Nov 30, 2026
e938555
Merge origin/one-loop into plx-181
davidjalbers Nov 30, 2026
16bc4e2
plx doctor: PLX-Repo/Hooks asks only that hk.pkl wires a pre-commit a…
davidjalbers Nov 30, 2026
c77c873
plx doctor: PLX-Repo/Hooks reads only which hooks hk.pkl wires; a mis…
davidjalbers Nov 30, 2026
798f4fe
the move test of repo-operations asserts its local edit survives, and…
davidjalbers Nov 30, 2026
54cbea5
doctor test: a key of another block is not a hook
davidjalbers Nov 30, 2026
4d14a69
tests: no remote cache is none, a trusted verb reads no local cache, …
davidjalbers Nov 30, 2026
8dc9b45
turbow: none is none, a trusted verb reads no local cache, a job is t…
davidjalbers Nov 30, 2026
1dd28d0
the step turbo-cache: a server bound to 127.0.0.1, and a warning on t…
davidjalbers Nov 30, 2026
e1f546d
test(e2e-playwright): the killed runs start from a shell, signal as a…
davidjalbers Nov 30, 2026
7ef041f
Merge origin/one-loop into PLX-182: the environment image for slots
davidjalbers Nov 30, 2026
16fa96a
fix(e2e-playwright): setup.ts opens with two header lines, as plx req…
davidjalbers Nov 30, 2026
6840a65
plx doctor tests: multi-line and custom-delimited strings, the hooks …
davidjalbers Nov 30, 2026
5217e94
plx doctor: Pkl's multi-line and custom-delimited strings are read as…
davidjalbers Nov 30, 2026
825dbc2
doctor test: the custom-delimited cases hold a quote, so that a plain…
davidjalbers Nov 30, 2026
f186fc4
tests: TURBO_FORCE, true or 1, reaches Turbo as given in each case of…
davidjalbers Nov 30, 2026
da00180
turbow: TURBO_FORCE is Turbo's, untouched
davidjalbers Nov 30, 2026
c771e65
the step turbo-cache: its header says exactly when a job runs on with…
davidjalbers Nov 30, 2026
986e2c3
test(e2e-playwright): the newborn suites hold on GitHub Actions, wher…
davidjalbers Nov 30, 2026
5b118df
test(newborns): a package repo's changeset version writes a changelog…
davidjalbers Nov 30, 2026
b2d1c3b
fix(repo-turbo): a package repo's changesets format nothing
davidjalbers Nov 30, 2026
6eba95f
Merge pull request #50 from plexus-ms/fix/changeset-version-in-packag…
davidjalbers Nov 30, 2026
0ed41c2
Merge origin/one-loop into plx-181
davidjalbers Nov 30, 2026
8b27d75
Merge the branch of PLX-181 (plx doctor knows the five verbs; one-loo…
davidjalbers Nov 30, 2026
4a51e84
Merge pull request #47 from plexus-ms/davidjalbers/plx-181-plx-doctor…
davidjalbers Nov 30, 2026
0841171
tooling: check runs lint and plx doctor over itself (red until the fi…
davidjalbers Nov 30, 2026
097cb6c
tooling takes the five verbs: test runs check first, the newborns are…
davidjalbers Nov 30, 2026
2737e3d
ship: the header names the verbs it depends on, e2e for the newborns
davidjalbers Nov 30, 2026
37b76a8
tooling's own workflow: test on a push, e2e on a pull request
davidjalbers Nov 30, 2026
62a80bf
Merge pull request #48 from plexus-ms/davidjalbers/plx-183-two-remote…
davidjalbers Nov 30, 2026
37149dc
tooling: check-js waits for the build, so a forced check never rebuil…
davidjalbers Nov 30, 2026
1aaa66e
Merge remote-tracking branch 'origin/one-loop' into tooling-takes-the…
davidjalbers Nov 30, 2026
8f096c6
Merge origin/one-loop into PLX-182: the changeset fix, plx doctor's f…
davidjalbers Nov 30, 2026
1ecbec4
newborns: git with a newborn's identity is a shared helper
davidjalbers Nov 30, 2026
da92a8e
newborns: until, the poll loop of start, is a shared helper, and the …
davidjalbers Nov 30, 2026
b6ed879
fix(newborns): a killed run is awaited by polling, so that no timer h…
davidjalbers Nov 30, 2026
5256f68
test(e2e-playwright): the database follows the app's migrate and seed…
davidjalbers Nov 30, 2026
8a7ba24
fix(e2e-playwright): the app's migrate and seed scripts decide the da…
davidjalbers Nov 30, 2026
2fb74bd
fix(e2e-playwright): the suite's marker names mise e2e <app> at the r…
davidjalbers Nov 30, 2026
66d7008
fix(e2e-playwright): no biome-ignore in the configuration, which ever…
davidjalbers Nov 30, 2026
7f09243
tooling: every verb takes an optional package name; the own workflow …
davidjalbers Nov 30, 2026
390a025
Merge pull request #51 from plexus-ms/tooling-takes-the-five-verbs
davidjalbers Nov 30, 2026
4ebba93
Merge origin/one-loop into PLX-182: tooling takes the five verbs
davidjalbers Nov 30, 2026
67c3c76
Merge pull request #49 from plexus-ms/davidjalbers/plx-182-a-template…
davidjalbers Nov 30, 2026
9b7266a
Test: plx-ci plan hashes build alone with the lockfile's Turbo, refus…
davidjalbers Nov 30, 2026
613ffb7
Remove plx-ci test: the app's compose stack on a candidate, compose.c…
davidjalbers Nov 30, 2026
7503687
Remove plx-ci report, which compared the two image builds of plan's r…
davidjalbers Nov 30, 2026
4b57156
plx-ci plan: one leg per app for its e2e job, the build hash alone fr…
davidjalbers Nov 30, 2026
3edc45f
Test: plx-ci publish tags an image the forge holds, else builds it fr…
davidjalbers Nov 30, 2026
b716f93
plx-ci publish builds a missing image itself, from a fresh restore of…
davidjalbers Nov 30, 2026
31394f1
Test: the workflows mount test, e2e per app, then publish and deploy,…
davidjalbers Nov 30, 2026
52ab010
The pipeline's workflows: _test.yml, _e2e.yml and _publish-deploy.yml…
davidjalbers Nov 30, 2026
91a4707
repo-operations calls _test.yml, the name _check.yml has now
davidjalbers Nov 30, 2026
827c068
The cache tests of repo-turbo read _test.yml and its job test, the na…
davidjalbers Nov 30, 2026
7c1425b
plx-ci and the lib tests name the reusable workflows and the large jo…
davidjalbers Nov 30, 2026
c6cbf5f
No file rendered from repo-turbo mentions verify, its workflows inclu…
davidjalbers Nov 30, 2026
f56aa41
Keep the name _check.yml for the workflow that runs a repo's mise tas…
davidjalbers Nov 30, 2026
51a51a2
Newborn: an app repo through test, e2e, publish and deploy, each job …
davidjalbers Nov 30, 2026
2cdf38d
test: a version that removes a requirement name must pass ship's pref…
davidjalbers Nov 30, 2026
26c793d
fix: the citation check never reads the citable index tooling carries
davidjalbers Nov 30, 2026
7e36d21
test: doctor's workspace fixture lists a deviation the test declares …
davidjalbers Nov 30, 2026
340a98a
The plan and the publish install mise also in a trial of unreleased t…
davidjalbers Nov 30, 2026
6949290
Merge pull request #53 from plexus-ms/fix/preflight-when-a-requiremen…
davidjalbers Nov 30, 2026
46d1dcf
Test: publish pushes without rewrite-timestamp, which the runner's Do…
davidjalbers Nov 30, 2026
8a820cb
publish pushes without rewrite-timestamp, which the runner's Docker o…
davidjalbers Nov 30, 2026
32d5de8
Merge origin/one-loop into PLX-184: the preflight when a requirement …
davidjalbers Nov 30, 2026
1ffa12a
Test: the test job builds no app, a suite's app included; a dry run o…
davidjalbers Nov 30, 2026
b2d6188
e2e-playwright: a suite's turbo.json takes the root's ^build off its …
davidjalbers Nov 30, 2026
7cfda0e
Test: the plan finds an app's suite in Turbo's graph, says in one lin…
davidjalbers Nov 30, 2026
b145607
Test: publish builds through the BuildKit service exactly when BUILDK…
davidjalbers Nov 30, 2026
2ba169b
Test: every slot is handed BUILDKIT_HOST from the port the BuildKit s…
davidjalbers Nov 30, 2026
9591742
plx-ci plan: an app's suite from Turbo's graph, the rule mise run e2e…
davidjalbers Nov 30, 2026
d71f319
plx-ci publish builds through the BuildKit service exactly when BUILD…
davidjalbers Nov 30, 2026
615c8bd
actions_runners hands every slot BUILDKIT_HOST from the port its Buil…
davidjalbers Nov 30, 2026
68e6fcd
plx-ci's description no longer promises reproducible image builds
davidjalbers Nov 30, 2026
6067291
The newborn's publish is handed the leg's context, as the workflow ha…
davidjalbers Nov 30, 2026
e011473
Merge pull request #54 from plexus-ms/davidjalbers/plx-184-the-pipeli…
davidjalbers Nov 30, 2026
5b4d3ad
Tests first: the pipeline and the templates hold nothing of the candi…
davidjalbers Nov 30, 2026
d5cf875
plx-ci drops the candidate registry: its command, its storage client,…
davidjalbers Nov 30, 2026
ee09fd1
The templates and the housekeeping workflow stop asking about the can…
davidjalbers Nov 30, 2026
6adfe08
newborns: the S3 stand-in and the cache server move to caches.ts, for…
davidjalbers Nov 30, 2026
b6c3d34
Test: the plan asks the trusted cache through turbow and gives an app…
davidjalbers Nov 30, 2026
455ce0d
Test: the plan job asks the trusted cache before its plan and install…
davidjalbers Nov 30, 2026
5bf0526
Test: the newborn runs each job with its own cache server; a second r…
davidjalbers Nov 30, 2026
7c31d37
plx-ci plan asks the trusted cache, in its dry run through the repo's…
davidjalbers Nov 30, 2026
3a5d0cc
_e2e.yml: the plan job starts the trusted cache before its plan, the …
davidjalbers Nov 30, 2026
8a234bc
Test: a package without an e2e of its own that waits for an app's bui…
davidjalbers Nov 30, 2026
49dbf9d
Test: a trusted server that does not answer is a plan that could not …
davidjalbers Nov 30, 2026
fbdcc4d
plx-ci plan says, from Turbo's warning, that the trusted server did n…
davidjalbers Nov 30, 2026
4289b64
A test over the callers the templates render; two comments made whole
davidjalbers Nov 30, 2026
b8deb15
removeMarkerKeys takes a key's entry out of a marker and leaves every…
davidjalbers Nov 30, 2026
e9d07d7
removeMarkerKeys: a key's entry taken out of a marker by splicing its…
davidjalbers Nov 30, 2026
fbda914
Merge pull request #55 from plexus-ms/davidjalbers/plx-186-the-pipeli…
davidjalbers Nov 30, 2026
53ecd96
plx update removes the answers of questions the taken version no long…
davidjalbers Nov 30, 2026
adfb49d
plx update removes the answers of questions the taken version no long…
davidjalbers Nov 30, 2026
14ef0e6
An answer to a question the version moved to a template the marker do…
davidjalbers Nov 30, 2026
3ef922a
An answer to a question the version moved to a template the marker do…
davidjalbers Nov 30, 2026
e9e8288
Merge origin/one-loop into the plan that asks the trusted cache: the …
davidjalbers Nov 30, 2026
a430544
Where this plx cannot read the templates of the version taken, no ans…
davidjalbers Nov 30, 2026
f21f567
A later run still names the answers removed, but not one the branch h…
davidjalbers Nov 30, 2026
8b65a13
Test: an app has a large job when the e2e of any of its suites is a M…
davidjalbers Nov 30, 2026
d120d99
A later run still names the answers removed, but not one the branch h…
davidjalbers Nov 30, 2026
420dad7
plx apply removes no key; the verb's header and help say what update …
davidjalbers Nov 30, 2026
2561e6c
Test: in the newborn web has two suites, and a change to a spec of th…
davidjalbers Nov 30, 2026
bfb51fb
Merge origin/one-loop: the templates no longer ask ci_registry
davidjalbers Nov 30, 2026
64d8d94
plx-ci plan asks the e2e of every suite of an app, and says Turbo's H…
davidjalbers Nov 30, 2026
7b064c5
Test: a second suite without a cache status leaves the app's statuses…
davidjalbers Nov 30, 2026
96dac8f
Merge pull request #56 from plexus-ms/the-plan-asks-the-trusted-cache
davidjalbers Dec 1, 2026
a82b5f6
Merge origin/one-loop: the plan asks the trusted cache
davidjalbers Dec 1, 2026
8a9f856
The dry run says which answers would be removed, and removes none (test)
davidjalbers Dec 1, 2026
2ca6418
Test: a suite says what its run needs in run.ts, which an update leav…
davidjalbers Dec 1, 2026
3e25ef1
e2e-playwright: the app says what its run needs in run.ts, the suite'…
davidjalbers Dec 1, 2026
5656234
Merge pull request #57 from plexus-ms/davidjalbers/plx-199-plx-update…
davidjalbers Dec 1, 2026
d83a128
The doctor's checks in the order of the pages: PLX-Repo/Hooks before …
davidjalbers Dec 1, 2026
27414dc
Merge origin/main: one-loop takes main's changesets fix, which it car…
davidjalbers Dec 1, 2026
14ae75d
Merge pull request #59 from plexus-ms/the-doctor-checks-in-the-pages-…
davidjalbers Dec 1, 2026
815c019
Test: run.ts fails loudly where it is wrong, and every process it ask…
davidjalbers Dec 1, 2026
c977817
e2e-playwright: check what run.ts returns, keep the setup's names, wa…
davidjalbers Dec 1, 2026
ca2ae56
Merge origin/one-loop: plx update removes the answers no longer asked…
davidjalbers Dec 1, 2026
b1cc6d6
Merge pull request #58 from plexus-ms/davidjalbers/plx-200-the-suite-…
davidjalbers Dec 1, 2026
abf8609
e2e-playwright: tests for a suite's type check
davidjalbers Dec 1, 2026
58ad4f8
e2e-playwright: a suite's check type-checks its specs, setup.ts, run.…
davidjalbers Dec 1, 2026
ba2075a
pipeline: tests for keeping a failed suite's results
davidjalbers Dec 1, 2026
7b8289d
_e2e.yml: a failed suite's test-results/ as an artifact of the run
davidjalbers Dec 1, 2026
3caf3e3
e2e-playwright: tests for the app's alias in the suite's check, and a…
davidjalbers Dec 1, 2026
033cc7f
e2e-playwright: the suite's check resolves the app's alias, and setup…
davidjalbers Dec 1, 2026
38c4cf8
_e2e.yml: the header says what a failed suite's artifact holds, and w…
davidjalbers Dec 1, 2026
c4cc42a
Merge pull request #60 from plexus-ms/davidjalbers/plx-201-a-suites-s…
davidjalbers Dec 1, 2026
aa4ad97
e2e-playwright: tests that a suite's check reads the app's code as th…
davidjalbers Dec 1, 2026
e866041
e2e-playwright: the suite's tsconfig.json extends the app's own
davidjalbers Dec 1, 2026
692d786
Merge pull request #62 from plexus-ms/the-suite-reads-the-app-as-the-…
davidjalbers Dec 1, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions .github/actionlint.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# actionlint 1.7.12, the newest, does not know the reference `$/<path>` to an
# action of the repo that holds the workflow, at the workflow's own commit,
# which GitHub documents and runners have from 2.336.0. Drop this when an
# actionlint that knows it is pinned.
paths:
.github/workflows/**/*.yml:
ignore:
- 'specifying action "\$/[^"]+" in invalid format because ref is missing'
100 changes: 100 additions & 0 deletions .github/actions/turbo-cache/action.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,100 @@
name: Turbo cache server
description: >-
Starts the Turbo remote cache server a job needs, on loopback, against the
tenant's shared or trusted bucket, and tells the repo's turbow where it is.

# A step for the jobs of the reusable workflows, which call it as
# `uses: $/.github/actions/turbo-cache`: from this repo at the commit of the
# workflow that calls it, never a version behind or ahead of it. One cache per
# job: a job that runs check and test starts the shared one, a job that runs
# build or e2e the trusted one, and never the two together, so that nothing the
# shared bucket supplied enters a build written to the trusted bucket.
#
# The vault items it reads, in the vault `<owner>-ci` unless `vault` names
# another, each with the fields endpoint, region, access-key-id and
# secret-access-key of an S3 store:
#
# bucket-turbo the shared bucket <owner>-ci-turbo
# bucket-turbo-trusted the trusted bucket <owner>-ci-turbo-trusted
#
# The server is brunojppb/turbo-cache-server, bound to 127.0.0.1 whatever the
# job's environment holds (its HOST), path-style against the bucket, with a
# token minted for the job and on the first free port from 8585 up
# (turbo-cache.sh says why). The keys go to the server alone and never to the
# job's environment; what the job's later steps get is the server's address
# and token, in the variables turbow reads.
#
# A job without vault credentials, whose vault item could not be read, or
# whose server did not come up, runs on without that remote cache, and says
# why in one line of the log and in one warning on the run; a tenant without
# the bucket on purpose gets the same warning. The step itself still fails the
# job where it cannot run at all, as without openssl, which the environment
# image carries. A server that comes up and cannot use its bucket is not
# probed: Turbo's own warning in the job's log says so.

inputs:
cache:
description: "`shared`, the bucket <owner>-ci-turbo, for check and test; `trusted`, the bucket <owner>-ci-turbo-trusted, for build and e2e."
required: true
vault:
description: The vault the keys are read from (§ 3 PLX-Secrets). Default <owner>-ci.
required: false
default: ''
op-service-account-token:
description: The vault's service account token; not needed on a slot of a runner host, which reads the vault through its Connect server.
required: false
default: ''

runs:
using: composite
steps:
- name: Plan the cache server
id: plan
shell: bash
env:
CACHE: ${{ inputs.cache }}
OWNER: ${{ github.repository_owner }}
VAULT: ${{ inputs.vault || format('{0}-ci', github.repository_owner) }}
SERVICE_ACCOUNT: ${{ inputs.op-service-account-token != '' }}
run: '"$GITHUB_ACTION_PATH/turbo-cache.sh" plan'
# A failed read is a tenant without the bucket, or a vault that cannot be
# read: the job runs on without the remote cache, and announce says so.
- name: Load the bucket's keys from the vault
id: keys
if: ${{ steps.plan.outputs.read == 'true' }}
continue-on-error: true
uses: 1password/load-secrets-action@70062d7a876d3eb6334754fa26efd2fbd90c32f2 # v5.0.1
env:
# On a slot the Connect server alone, as both would warn.
OP_SERVICE_ACCOUNT_TOKEN: ${{ steps.plan.outputs.connect != 'true' && inputs.op-service-account-token || '' }}
ENDPOINT: op://${{ steps.plan.outputs.vault }}/${{ steps.plan.outputs.item }}/endpoint
REGION: op://${{ steps.plan.outputs.vault }}/${{ steps.plan.outputs.item }}/region
ACCESS_KEY: op://${{ steps.plan.outputs.vault }}/${{ steps.plan.outputs.item }}/access-key-id
SECRET_KEY: op://${{ steps.plan.outputs.vault }}/${{ steps.plan.outputs.item }}/secret-access-key
# A server that does not come up does not fail the job: announce says so.
- name: Start the cache server
id: server
if: ${{ steps.keys.outcome == 'success' }}
continue-on-error: true
uses: brunojppb/turbo-cache-server@7d5eed8f1768a2209c88b2af58da1827b47eedcc # 5.0.4
env:
HOST: 127.0.0.1
PORT: ${{ steps.plan.outputs.port }}
TURBO_TOKEN: ${{ steps.plan.outputs.token }}
S3_ENDPOINT: ${{ steps.keys.outputs.ENDPOINT }}
S3_REGION: ${{ steps.keys.outputs.REGION }}
S3_BUCKET_NAME: ${{ steps.plan.outputs.bucket }}
S3_ACCESS_KEY: ${{ steps.keys.outputs.ACCESS_KEY }}
S3_SECRET_KEY: ${{ steps.keys.outputs.SECRET_KEY }}
S3_USE_PATH_STYLE: 'true'
- name: Tell turbow where the server is
id: announce
shell: bash
env:
CACHE: ${{ inputs.cache }}
KEYS: ${{ steps.keys.outcome || 'skipped' }}
SERVER: ${{ steps.server.outcome }}
VAULT: ${{ steps.plan.outputs.vault }}
PORT: ${{ steps.plan.outputs.port }}
TOKEN: ${{ steps.plan.outputs.token }}
run: '"$GITHUB_ACTION_PATH/turbo-cache.sh" announce'
82 changes: 82 additions & 0 deletions .github/actions/turbo-cache/turbo-cache.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,82 @@
#!/usr/bin/env bash
# The two phases of the step turbo-cache (action.yml beside this file) that
# are its own, around the vault's read and the server's start, which are
# actions of their own:
#
# plan Which bucket and vault item the cache (CACHE, `shared` or
# `trusted`) names for the owner (OWNER), and whether the job can
# read the vault (VAULT): through the runner's Connect server
# (OP_CONNECT_HOST and OP_CONNECT_TOKEN, as a slot of a runner host
# has them) or with the service account (SERVICE_ACCOUNT, `true`
# when the caller passed its token). For the server: the first
# free port from 8585 up, since the slots of a runner host share
# its loopback, and a token minted for this job, masked in the log,
# without which another job on the host could read and write the
# bucket through the server. Outputs: read, connect, vault, item,
# bucket, port, token.
# announce Tells turbow (repo-turbo) where the server is, through the job's
# environment: PLX_TURBO_SHARED or PLX_TURBO_TRUSTED with the
# server's address and PLX_TURBO_<CACHE>_TOKEN with the job's token
# when the keys were read (KEYS, the outcome of the read: `success`)
# and the server came up (SERVER, the outcome of its start) on PORT
# with TOKEN; else the variable is `none`, and the step says why the
# job runs without that remote cache, in one line of the log and in
# one warning on the run: no vault to read (`skipped`), an item it
# could not read (`failure`, the step above says why), or a server
# that did not come up. In these three the job runs on.
#
# Run by hand, a phase needs only GITHUB_OUTPUT and GITHUB_ENV to name files.
set -euo pipefail

case ${CACHE:-} in
shared) item=bucket-turbo suffix='' var=PLX_TURBO_SHARED ;;
trusted) item=bucket-turbo-trusted suffix=-trusted var=PLX_TURBO_TRUSTED ;;
*)
echo "::error::The cache is shared or trusted, not '${CACHE:-}'."
exit 1
;;
esac

case ${1:-} in
plan)
connect=false
if [ -n "${OP_CONNECT_HOST:-}" ] && [ -n "${OP_CONNECT_TOKEN:-}" ]; then connect=true; fi
read=$connect
if [ "${SERVICE_ACCOUNT:-false}" = true ]; then read=true; fi
port=8585
while (exec 3<>"/dev/tcp/127.0.0.1/$port") 2>/dev/null; do port=$((port + 1)); done
token=$(openssl rand -hex 32)
echo "::add-mask::$token"
{
echo "read=$read"
echo "connect=$connect"
echo "vault=$VAULT"
echo "item=$item"
echo "bucket=$OWNER-ci-turbo$suffix"
echo "port=$port"
echo "token=$token"
} >>"$GITHUB_OUTPUT"
;;
announce)
if [ "${KEYS:-}" = success ] && [ "${SERVER:-}" = success ]; then
{
echo "$var=http://127.0.0.1:${PORT:?}"
echo "${var}_TOKEN=${TOKEN:?}"
} >>"$GITHUB_ENV"
echo "The $CACHE remote cache: a server on 127.0.0.1:$PORT."
exit 0
fi
case ${KEYS:-} in
skipped) cause="This job has no vault to read the item $item from." ;;
success) cause="The cache server did not come up on 127.0.0.1:${PORT:-} (the step above says why)." ;;
*) cause="The step could not read the item $item from the vault ${VAULT:-} (the step above says why)." ;;
esac
echo "$var=none" >>"$GITHUB_ENV"
echo "Turbo runs without the $CACHE remote cache: $cause"
echo "::warning title=Turbo runs without the $CACHE remote cache::$cause"
;;
*)
echo "usage: turbo-cache.sh plan|announce" >&2
exit 2
;;
esac
11 changes: 10 additions & 1 deletion .github/workflows/_changeset.yml
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ jobs:
changeset:
runs-on: ${{ inputs.strategy == 'github' && 'ubuntu-latest' || 'ci-small' }}
# mise install points core.hooksPath at hk; its hooks would run the repo's
# checks on this one commit, which the caller's verify job already does.
# checks on this one commit, which the caller's test job already does.
env:
HK_SKIP_HOOK: pre-commit,pre-push
steps:
Expand Down Expand Up @@ -115,7 +115,16 @@ jobs:
ref: ${{ github.head_ref }}
fetch-depth: 0
token: ${{ steps.app.outputs.token }}
# mise, the repo's pins and its [env] for the later steps: on the forge's
# runners from mise-action; in the environment image of a slot or an
# instance (actions_runners), which carries mise and the common tools,
# from its ci-mise-install.
- uses: jdx/mise-action@v5
if: ${{ runner.environment == 'github-hosted' }}
- if: ${{ runner.environment != 'github-hosted' }}
env:
MISE_GITHUB_TOKEN: ${{ github.token }}
run: ci-mise-install
- run: plx -y changeset --base 'origin/${{ inputs.base }}'
- run: |
git add .changeset
Expand Down
108 changes: 32 additions & 76 deletions .github/workflows/_check.yml
Original file line number Diff line number Diff line change
@@ -1,16 +1,20 @@
name: _check

# Mounts `check` (§§ 1 and 2 PLX-Delivery): the steps that ascertain code
# quality and need no machine in particular, repo-wide. In an app repo that
# is lint, typecheck and the pure tests, the part of verify that gates
# everything else: a commit that fails here builds and launches nothing. A
# repo without images to build passes `tasks: verify`, its whole contract
# verb. The incantations are the repo's own mise tasks.
# Mounts the test job (§§ 1 and 2 PLX-Delivery): the repo's own mise tasks,
# by default `test`, which runs `check` first, repo-wide, on a medium runner,
# in a checkout of the repo exactly as a developer runs them. It needs no
# built app and no Docker daemon, and gates everything after it: a commit that
# fails here plans, builds and launches nothing. Every repo mounts it, on
# every commit and every pull request; a repo with other verbs to run in the
# same job names them in `tasks`.
#
# With `turbo-cache`, Turbo's remote cache (§ 8 PLX-Delivery): a cache server
# for the length of the job, on loopback, backed by the bucket
# <owner>-ci-turbo, whose keys are read from the vault; a task whose inputs
# did not change is replayed from any earlier job on any runner.
# Turbo's shared remote cache (§ 8 PLX-Delivery), for every repo: a cache
# server for the length of the job, on loopback, backed by the bucket
# <owner>-ci-turbo, started by the step turbo-cache of this repo at the
# commit of this workflow; a task whose inputs did not change is replayed from
# any earlier job or machine that wrote the bucket. A tenant without the
# bucket runs without it. This job never starts the trusted cache: what the
# shared bucket supplied stays out of every build that ships (_e2e.yml).

on:
workflow_call:
Expand All @@ -30,15 +34,10 @@ on:
type: string
default: medium
tasks:
description: The repo's mise tasks to run, in order, separated by spaces. `check` includes `lint` by contract (`PLX-Repo/SubVerbs`).
description: The repo's mise tasks to run, in order, separated by spaces; `test` runs `check` first.
required: false
type: string
default: check
turbo-cache:
description: Use Turbo's remote cache in the tenant's bucket; needs the vault's token.
required: false
type: boolean
default: false
default: test
private-packages:
description: >-
The repo installs private packages of the tenant's from the forge's
Expand All @@ -54,76 +53,24 @@ on:
default: ''
secrets:
op-service-account-token:
description: The vault's service account token; needed with `turbo-cache` only.
description: The vault's service account token, for the cache's keys where the runner has no Connect server.
required: false

# No permissions of its own: the job has what its caller grants, `contents:
# read` and, with `private-packages`, `packages: read`. A block here would
# have to name the larger set, and every caller would then have to grant it.

env:
VAULT: ${{ inputs.vault || format('{0}-ci', github.repository_owner) }}

jobs:
check:
runs-on: ${{ inputs.strategy == 'github' && 'ubuntu-latest' || format('ci-{0}', inputs.size) }}
steps:
# How the job reads the vault (§ 8 PLX-Delivery): a slot of a runner host
# carries its Connect server's address and token (actions_runners), and
# every other runner gets the service account's. Never both: each read
# would warn, and a slot's job has no use for the service account.
- name: How the vault is read
if: ${{ inputs.turbo-cache }}
env:
TOKEN: ${{ secrets.op-service-account-token }}
run: |
if [ -n "${OP_CONNECT_HOST:-}" ] && [ -n "${OP_CONNECT_TOKEN:-}" ]; then
echo "Through the runner's Connect server."
else
echo "OP_SERVICE_ACCOUNT_TOKEN=$TOKEN" >> "$GITHUB_ENV"
echo "With the service account."
fi
- uses: actions/checkout@v7
- name: Load the Turbo cache bucket's keys from the vault
if: ${{ inputs.turbo-cache }}
uses: 1password/load-secrets-action@70062d7a876d3eb6334754fa26efd2fbd90c32f2 # v5.0.1
- name: Start the shared cache server
uses: $/.github/actions/turbo-cache
with:
export-env: true
env:
TURBO_CACHE_ENDPOINT: op://${{ env.VAULT }}/bucket-turbo/endpoint
TURBO_CACHE_REGION: op://${{ env.VAULT }}/bucket-turbo/region
TURBO_CACHE_ACCESS_KEY: op://${{ env.VAULT }}/bucket-turbo/access-key-id
TURBO_CACHE_SECRET_KEY: op://${{ env.VAULT }}/bucket-turbo/secret-access-key
# The server's token is minted here and never leaves the machine; the
# port is the first free one, since the slots of a runner host share
# its network.
- name: Prepare the Turbo remote cache
id: turbo-cache
if: ${{ inputs.turbo-cache }}
run: |
port=8585
while (exec 3<>"/dev/tcp/127.0.0.1/$port") 2>/dev/null; do port=$((port + 1)); done
token=$(openssl rand -hex 32)
echo "::add-mask::$token"
{
echo "port=$port"
echo "bucket=${GITHUB_REPOSITORY_OWNER}-ci-turbo"
} >> "$GITHUB_OUTPUT"
{
echo "TURBO_API=http://127.0.0.1:$port"
echo "TURBO_TOKEN=$token"
echo "TURBO_TEAM=${GITHUB_REPOSITORY//\//-}"
} >> "$GITHUB_ENV"
- uses: brunojppb/turbo-cache-server@7d5eed8f1768a2209c88b2af58da1827b47eedcc # 5.0.4
if: ${{ inputs.turbo-cache }}
env:
PORT: ${{ steps.turbo-cache.outputs.port }}
S3_ENDPOINT: ${{ env.TURBO_CACHE_ENDPOINT }}
S3_REGION: ${{ env.TURBO_CACHE_REGION }}
S3_BUCKET_NAME: ${{ steps.turbo-cache.outputs.bucket }}
S3_ACCESS_KEY: ${{ env.TURBO_CACHE_ACCESS_KEY }}
S3_SECRET_KEY: ${{ env.TURBO_CACHE_SECRET_KEY }}
S3_USE_PATH_STYLE: 'true'
cache: shared
vault: ${{ inputs.vault }}
op-service-account-token: ${{ secrets.op-service-account-token }}
# The tenant's private packages (§ 5 PLX-Delivery): the job's own token
# in a user-level npmrc of the job's own, which pnpm and npm read beside
# the scope's registry in pnpm-workspace.yaml. The repo holds no token,
Expand All @@ -135,8 +82,17 @@ jobs:
run: |
printf '//npm.pkg.github.com/:_authToken=%s\n' "$GITHUB_TOKEN" > "$RUNNER_TEMP/npmrc"
echo "NPM_CONFIG_USERCONFIG=$RUNNER_TEMP/npmrc" >> "$GITHUB_ENV"
# mise, the repo's pins and its [env] for the later steps: on the forge's
# runners from mise-action; in the environment image of a slot or an
# instance (actions_runners), which carries mise and the common tools,
# from its ci-mise-install.
- uses: jdx/mise-action@v5
- name: Check
if: ${{ runner.environment == 'github-hosted' }}
- if: ${{ runner.environment != 'github-hosted' }}
env:
MISE_GITHUB_TOKEN: ${{ github.token }}
run: ci-mise-install
- name: Test
env:
TASKS: ${{ inputs.tasks }}
run: for task in $TASKS; do mise run "$task"; done
9 changes: 9 additions & 0 deletions .github/workflows/_deploy-targets.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,16 @@ jobs:
matrix: ${{ steps.run.outputs.matrix }}
steps:
- uses: actions/checkout@v7
# mise, the repo's pins and its [env] for the later steps: on the forge's
# runners from mise-action; in the environment image of a slot or an
# instance (actions_runners), which carries mise and the common tools,
# from its ci-mise-install.
- uses: jdx/mise-action@v5
if: ${{ runner.environment == 'github-hosted' }}
- if: ${{ runner.environment != 'github-hosted' }}
env:
MISE_GITHUB_TOKEN: ${{ github.token }}
run: ci-mise-install
- id: run
# The assignment is a line of its own so that a failing verb fails the step.
run: |
Expand Down
Loading
Loading