Files
github-actions[bot] 1642ef2386 chore: version packages (#1974)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-11-25 19:12:31 +01:00

32 KiB

@e2e-dev/github

0.4.7

Patch Changes

  • #1887 198d25f Thanks @samanyudas! - After a rerun, the merged report counts a serial test that calls test.fixme() in its body as executed, as it does for test.skip(). The pull request comment does not change.

  • #2151 29a7559 Thanks @michal-e2e! - A sharded run's report now records its shard as run.shard { index, total }, and marks each test this invocation's cut gave to another shard with skip.otherShard: true. A --last-failed rerun writes report-with-reruns.json beside its report: the first run and every rerun since as one report. It also hands its reporters every earlier run folded together as lastRun, through foldLastRun, now exported from e2e. The @e2e-dev/github comment after a second rerun no longer shows the first pass's passing tests as not run, and a second rerun keeps the first run's evidence on disk. The fold drops deleted tests and explains failures of out-of-shard consumers without counting them in the shard's totals. @e2e-dev/github now needs e2e 0.25.0 or later.

  • #2015 23aa697 Thanks @satya164! - --step and screen.pause() keys now appear below the live summary, with s for the screen and l for the app log. Time when every running worker is paused is excluded from the terminal's Duration row and the report's new run.durationMs field.

0.4.6

Patch Changes

0.4.5

Patch Changes

  • #1672 3735887 Thanks @okwasniewski! - Move GitHub repository metadata and CLI links to e2e-inc/e2e after the organization rename. Register the MCP server as io.github.e2e-inc/e2e.

0.4.4

Patch Changes

  • #1438 d181e26 Thanks @okwasniewski! - An e2e explore run posts its own pull request comment. Before, a job that ran e2e run and then e2e explore replaced the test results comment with the exploration's. Test run comments keep their marker, so the comments already on open pull requests are still updated. An exploration comment an earlier version posted keeps the test run's marker: the next e2e explore posts a new comment beside it, and a test run in the same job takes it back. A --last-failed rerun no longer folds in an exploration's report that shares its output directory.

0.4.3

Patch Changes

  • #1206 da13624 Thanks @okwasniewski! - Add test filters: filters: [decisionFilter({ model })] from @e2e-dev/decision leaves out the tests a change can't affect. They run with --changed-since <ref>, such as origin/main on a pull request; without the flag every test runs. e2e list --changed-since origin/main previews the decision, and left-out tests show in the pull request comment, junit.xml, and the report. A run with nothing to run starts no engine or app, and after Ctrl-C, or a reporter that runs past its deadline, the CLI exits as soon as the output is written.

0.4.2

Patch Changes

  • #1038 aa9699a Thanks @rudycelekli! - Distinguish GitHub primary and secondary API rate limits from read-only token failures in reporter diagnostics.

0.4.1

Patch Changes

  • #1161 ce4dac3 Thanks @okwasniewski! - The reporter now updates a pull request comment only when its token's user wrote it. With GITHUB_TOKEN or a GitHub App token, which can't look up their user, any bot account's comment matches.

0.4.0

Minor Changes

  • #790 0d1ed15 Thanks @okwasniewski! - Breaking: e2e and every @e2e-dev package now need Node.js 22.22.3 or newer on Node.js 22, or 24.8.0 or newer (engines.node is ^22.22.3 || >=24.8.0). Node.js 22.12 through 22.22.2, 23, and 24.0 through 24.7 are no longer supported, and the CLI refuses to start on them, naming the versions to upgrade to. Those releases fail when a CommonJS file a test imports requires TypeScript through the new loader's module.registerHooks (nodejs/node#59679 fixed it in 22.22.3 and 24.8.0).

    e2e now loads TypeScript with its own loader, built on oxc, instead of tsx. tsx brought in esbuild, whose postinstall script made every pnpm install on pnpm 11 and later fail with ERR_PNPM_IGNORED_BUILDS until the project approved the build; nothing e2e installs runs an install script now. Config and tests load as before: ESM whatever package.json says, ./x.js and ./x resolve to x.ts and ./x.jsx to x.tsx, directory index imports, tsconfig paths and baseUrl, workspace packages exporting .ts source, JSX in .tsx and .jsx, enums, namespaces, experimentalDecorators, and source-mapped stack traces. JSON imported without with { type: 'json' } still loads. A test file whose name holds %, #, or a space now collects with its source location instead of failing with "URI malformed" or losing the location. Each file reads its nearest tsconfig.json rather than the one in the working directory. What changes: import statements in a .cts file are no longer compiled into require calls (write import x = require()); standard decorators without experimentalDecorators, auto-accessors, and ES module import and value export declarations in .cts are refused with their line (import type, export type, import x = require(), and export = work); the CLI refuses the Bun (bun --bun) and Deno runtimes (install with any package manager, run on Node.js); a type imported without import type that stays in the output (a decorated member's type under emitDecoratorMetadata) fails to load, with an error naming the import; a .ts file a CommonJS file requires runs as an ES module like every other .ts, so one written with module.exports needs the .cts extension; and an import written in a JavaScript file resolves as Node.js resolves it, without TypeScript's extension rules or tsconfig paths. TypeScript inside an installed package compiles without the project's tsconfig.json.

0.3.3

Patch Changes

  • #713 7ab80bc Thanks @okwasniewski! - Breaking: an interrupted test is no longer counted as failed. report.json gains run.summary.interrupted, and run.summary.failed counts only failed and timed-out tests. run.summary.skipped now counts only selected tests, so passed + failed + interrupted + flaky + skipped equals selected; the tests a filter left out are discovered - selected. The list reporter prints 3 interrupted in its own column, summary.md shows them with ⏹️ and gives them no failure block or page, and junit.xml writes each one as a <skipped> whose message starts interrupted:. A test that failed and whose retry an interrupt cut short stays failed, and its failure is the one reported. A --repeat-each run the interrupt stopped is listed as interrupted, not as a flake. The telemetry event gains tests_interrupted. In @e2e-dev/github, a test that was interrupted and then passed on a --last-failed rerun shows as passed, not flaky.

  • #724 3a9667c Thanks @okwasniewski! - --last-failed no longer goes green on tests it never ran. It reruns tests --max-failures skipped, and a test or failed beforeAll/afterAll another filter leaves out stays owed in the report's new run.carried until a rerun runs it. A rerun also keeps the artifacts of the run it reruns and writes its own under artifacts/rerun-<n>/ in the output directory (.e2e by default), so the folded pull request comment keeps its evidence and stays red while anything is owed.

0.3.2

Patch Changes

  • #720 62bfe0a Thanks @okwasniewski! - Two matrix jobs whose key, workflow, or job differ only after the first 200 encoded characters now keep their own pull request comments instead of overwriting one. A long field's marker ends in a digest of the whole value; markers of shorter fields are unchanged, so existing comments are still found. A job with a field that long posts one new comment after upgrading and leaves its old one behind. The reporter only takes a comment whose first line is its marker, so a reply quoting the marker is never edited.

  • #763 b573756 Thanks @okwasniewski! - Installing e2e pulls in 29 packages instead of 117 and takes about 31MB instead of 36MB. e2e mcp now runs on the split MCP SDK (@modelcontextprotocol/server 2.2.0) in place of @modelcontextprotocol/sdk, which brought in express, hono, and the rest of an HTTP server stack that stdio never used. The server keeps the same protocol version, so existing clients connect as before. Packages are built and published without sourcemaps, which pointed at a src/ that was never shipped. Stack traces show dist/ positions.

0.3.1

Patch Changes

  • #706 1a80c23 Thanks @okwasniewski! - npm package pages: e2e ships the repository README, and every package has keywords people search for.

0.3.0

Patch Changes

  • #682 e4fca9d Thanks @okwasniewski! - @e2e-dev/github installs next to a stable e2e again. The published builds pinned their e2e peer to one canary build, so npm install refused to resolve it against a versioned runner.

0.3.0-canary-20260928184528

Minor Changes

  • #602 67c29fc Thanks @okwasniewski! - The engines and the reporter publish under the @e2e-dev scope: @e2edev/web is @e2e-dev/web, @e2edev/mobile is @e2e-dev/mobile, and @e2edev/github is @e2e-dev/github. The @e2edev packages get no new releases. To move, swap the dependencies (npm uninstall @e2edev/web && npm install --save-dev @e2e-dev/web) and rewrite the imports: from '@e2edev/web' becomes from '@e2e-dev/web', and the same for @e2edev/mobile, @e2edev/mobile/tools, and @e2edev/github. e2e init installs and imports the new names.

Patch Changes

0.3.0-canary-20260924194828

Patch Changes

0.3.0-canary-20260922161512

Patch Changes

  • #422 b71ecc0 Thanks @okwasniewski! - Source links in the pull request comment resolve for a project below the checkout root. The report's files are relative to the project root, so a suite in packages/e2e-tests linked to blob/<sha>/tests/... and 404ed; the link now carries the project's path inside GITHUB_WORKSPACE.

    Evidence links open the run page's Artifacts section (actions/runs/<id>#artifacts) and the page names each file's path inside the upload, so a reader finds the screenshot or trace in the downloaded artifact instead of landing on the run page.

  • Updated dependencies [707c894, b71ecc0]:

0.3.0-canary-20260922135036

Patch Changes

0.3.0-canary-20260921180210

Patch Changes

0.3.0-canary-20260921154506

Patch Changes

0.3.0-canary-20260917213813

Patch Changes

0.3.0-canary-20260917081546

Minor Changes

  • #310 4c76360 Thanks @okwasniewski! - The reporter's key also names the comment in its headline (e2e chromium: 77 passed), so two jobs posting to one pull request read apart. The comment itself takes the new page layout from e2e: no file table, flaky tests folded, one line of small print.

Patch Changes

0.3.0-canary-20260914134810

Patch Changes

0.3.0-canary-20260914095510

Patch Changes

0.3.0-canary-20260914081513

Minor Changes

  • #294 c2c5df7 Thanks @okwasniewski! - The runner is published as e2e. @e2edev/e2e is retired and deprecated on npm; every import, config, and peer range now names e2e (e2e, e2e/agent, e2e/engine). The engines and the GitHub reporter declare their peer dependency on e2e, so a project on @e2edev/e2e must switch the runner to e2e when it takes these versions. The CLI keeps its e2e bin name.

Patch Changes

0.2.0

Minor Changes

  • #284 8811ba7 Thanks @okwasniewski! - A built-in markdown reporter writes the run as one markdown page, .e2e/summary.md beside report.json, laid out for a pull request: a headline with the counts and, when the agent ran, what the run spent (agent steps, cache replays, model calls, tokens, cost); run-level errors; one block per test that failed or was flaky with its error, the step it went wrong at, the agent's own explanation of what it saw, the attempt's step timeline, and the paths of its evidence from the project root; a table with one row per test file; and every test folded away, grouped by file. An e2e explore run renders its record instead: the goal and steps, every finding with what was expected, what the screen showed, the actions that reach it, and its screenshot, then the assessment. It is the text a coding agent pastes into a pull request or a handoff instead of retelling the result. renderMarkdownReport(report, { artifactsUrl, artifactsDir, sourceUrl }) is exported from the main entrypoint for a reporter that posts the page elsewhere. @e2edev/github posts this page as the pull request comment in place of its one table of tests that did not pass; its renderComment, CommentOptions, MAX_MARKER_CHARS, and MAX_URL_CHARS exports are gone (nothing consumed them), and the package now needs @e2edev/e2e 0.13 or later. e2e init ignores .e2e/summary.md.

0.1.0

Minor Changes

  • #246 a0a4df0 Thanks @okwasniewski! - The GitHub reporter. reporters: ['list', github()] posts one pull request comment per run from GitHub Actions and keeps it current across reruns: the counts, the run-level errors, one row per test that did not simply pass with its error and the evidence it left, the passed tests folded away, links to each test's source at the PR head and to the workflow run where the artifacts are. The same text goes to the job summary, pull request or not. It reads GITHUB_TOKEN (or GH_TOKEN) and the event when the run finishes; key tells matrix replicas' comments apart. Off GitHub Actions, on a push, or without a token it posts nothing and says so in one summary row. renderComment is exported so another host can render the same comment from a report-1 document.