Commit Graph
22 Commits
Author SHA1 Message Date
Oskar Kwaśniewski ae930bbf9a feat(cli): rerun with --last-failed and split a run with --shard (#389)
`--last-failed` selects only the tests the previous run did not pass, read
from the `report.json` this run overwrites (beside the artifact root):
failed, timed out, interrupted, or skipped because a setup, a serial
predecessor, a hook, or the worker failed, each named per target and agent
by its result id. No report there is `NO_LAST_RUN`; a run with nothing
failed selects nothing. `--shard <index/total>` runs one contiguous slice of
the selected tests, cut once every other filter and the serial closure
applied, the first shards taking the remainder, so a serial group is never
split and each shard brings only the setup tests it needs. `e2e list` takes
both. `RunOptions` and `ListOptions` carry them as `lastFailed` and `shard`.
2026-09-22 13:12:50 +02:00
Oskar Kwaśniewski f5e96d0cbe feat!: rename engine packages to @e2edev/web and @e2edev/mobile (#392) 2026-09-21 19:52:32 +02:00
Oskar Kwaśniewski f3d61e8ce7 fix(run): fail a step call without await as STEP_NOT_AWAITED instead of crashing the worker (#375) 2026-09-21 17:20:18 +02:00
Oskar Kwaśniewski f09b69e90a docs: simplify onboarding and clarify model access (#346) 2026-09-18 11:52:06 +02:00
Oskar Kwaśniewski ba8d9ba81d fix(collect): glob forms that match nothing are INVALID_GLOB (#330)
* fix(collect): glob forms that match nothing are INVALID_GLOB

A tests glob or a positional glob that could never match a file now fails with INVALID_GLOB and a hint: an absolute path, a trailing slash, braces, a backslash separator, or a .. segment. A leading ./, a . segment, and a doubled slash are dropped, so ./tests/**/*.e2e.ts selects what tests/**/*.e2e.ts does instead of matching nothing, walking .git and .e2e, and pointing the NO_TESTS message at a missing example file.

* fix(collect): review fixes for the glob grammar

Segments without wildcards compile to names, so the near-miss scan reads a glob's leading directory off its segments (literalPrefix) and the positional glob test is the grammar's own GLOB_SYNTAX; the pattern string seam is gone. Character classes and extglobs are rejected with hints like braces. A trailing '.' and a normalized leading '!' are caught. An existing path wins over glob classification for positionals, so a file whose name has braces is still selectable by path. Messages name the fix; docs and the changeset describe positionals as the code treats them; the near-miss regression has a test.
2026-09-17 22:44:09 +02:00
Oskar Kwaśniewski 99f9ea81cf fix(collect): validate tags and the tests globs where they are written (#331)
* fix(collect): validate tags and the tests globs where they are written

tags must be a list of distinct names without spaces or commas, checked at registration: a bare string was iterable, so tags: 'smoke' registered five one-letter tags and --tag smoke never matched. tests must be a glob or a list of globs, each compiled at config resolution: a wrong type used to reach the glob compiler during collection as a plain TypeError and exit 1 as a test failure instead of INVALID_CONFIG.

* fix(collect): review fixes for tag and tests validation

The tag rule is what --tag can spell back: distinct names, none blank, no comma, no leading or trailing whitespace; inner spaces stay legal, so the mobile benchmark's 'Login Form' tags collect. A registration error names its file. normalizeTests takes the honest unknown boundary, names an empty glob as a value, and its comment states what changed. Messages quote values through describeValue, which now names objects and undefined. Config tests assert error codes; docs state one rule everywhere and the error-code rows list the new causes.
2026-09-17 22:41:18 +02:00
Oskar Kwaśniewski 5cd3954547 docs: a security model page states every rule and limit as the code enforces it (#305) 2026-09-14 17:34:11 +02:00
Oskar Kwaśniewski 5d1ae7a7f5 docs(reference): cut the slop from the Reference tab (#295) 2026-09-14 09:42:41 +02:00
Oskar Kwaśniewski c2c5df7df9 feat(e2e)!: the runner publishes as e2e; @e2edev/e2e is retired (#294) 2026-09-14 08:56:22 +02:00
Oskar Kwaśniewski aa3b05bbbd feat(agent): a judgment sees the screen and nothing else, can run on its own judge model, and answers inconclusive instead of guessing (#288) 2026-09-12 18:08:48 +02:00
Oskar Kwaśniewski f03006d47f feat(config)!: secrets declares API keys, tokens, any value the model never sees (#280) 2026-09-12 14:14:56 +02:00
Oskar Kwaśniewski ff33218345 docs: e2e is agentic testing first; quickstart for web and mobile; icons everywhere (#282) 2026-09-12 13:52:59 +02:00
Oskar Kwaśniewski f53e8e2246 feat(app): url port 0 allocates a free loopback port for the run; {port} reaches the app command (#273) 2026-09-12 11:34:50 +02:00
Oskar Kwaśniewski 38b3f1e754 fix(run): a stalled command or service reports progress at half its budget and fails with its last log lines (#270)
Refs #158
2026-09-11 20:02:35 +02:00
Oskar Kwaśniewski 694c5fb9ea feat(test): test.extend defines your own fixtures with setup and teardown (#271) 2026-09-11 19:59:49 +02:00
Oskar Kwaśniewski cadebfaef4 feat(expect): expect.poll re-reads a value until the matcher holds (#268) 2026-09-11 19:52:34 +02:00
Oskar Kwaśniewski fcf4fe6ff7 docs: split guides and references by platform (#266) 2026-09-11 17:32:13 +02:00
Oskar Kwaśniewski afde1981c5 feat(cli): e2e mcp gives coding agents a live session on the app (#181) 2026-09-11 15:53:15 +02:00
Oskar Kwaśniewski 2d0c6931c4 feat(agent)!: the model is an AI SDK instance the config constructs; init asks which gateway (#255) 2026-09-10 17:26:25 +02:00
Oskar Kwaśniewski 31db98562a feat(agent): requests reuse the provider prompt cache and survive one context overflow (#253) 2026-09-10 16:49:21 +02:00
Oskar Kwaśniewski 38d4424eb1 fix(run): redact filled secrets out of the trace before it is registered or stored (#245) 2026-09-10 14:50:34 +02:00
Oskar Kwaśniewski b67e4d1aac docs: move the docs site from Starlight to Mintlify (#240) 2026-09-09 18:23:08 +02:00