Skip to content

chore: stop tracking .agent-device and keep the replay test from writing into the repo - #2722

Merged
thymikee merged 1 commit into
mainfrom
chore/untrack-agent-device-artifacts
Sep 21, 2026
Merged

thymikee merged 1 commit into
mainfrom
chore/untrack-agent-device-artifacts

Conversation

@thymikee

Copy link
Copy Markdown
Member

Summary

.agent-device/test-artifacts/ has been tracked since #2672. One unit test, session-replay-maestro-remote-evalscript.test.ts, runs the real replay test handler with no artifactsDir, so every local run writes two suites of artifacts into the repo root with fresh temp paths and timings. PRs keep committing that churn by accident (#2717, #2686, and #2690 before its rebase).

  • The test now passes artifactsDir under its own temp root, so it writes nothing into the checkout.
  • The 16 tracked files are removed, and /.agent-device/ is ignored. It is also where the CLI puts per-project output (test artifacts, metro and tunnel logs), so nothing there belongs in git.

3 files changed, plus the 16 deleted artifacts.

Validation

  • pnpm check:affected --run passes at this head (full 59-check set; the .gitignore change fails open to the full set).
  • Without the test change, running the test recreates .agent-device/ in the checkout. With it, the directory stays absent and all 4 tests pass.

@github-actions

Copy link
Copy Markdown

Size Report

Metric Base Current Diff
Installed (including dependencies) 4.71 MB 4.71 MB 0 B
Package (unpacked) 4.71 MB 4.71 MB 0 B
Package (download) 1.40 MB 1.40 MB -1 B

Startup median (7 runs, lower is better):

Scenario Base Current Diff
CLI --version 26.9 ms 26.5 ms -0.4 ms
CLI --help 76.6 ms 78.6 ms +2.0 ms

@thymikee
thymikee merged commit 8adbd18 into main Sep 21, 2026
17 of 18 checks passed
@thymikee
thymikee deleted the chore/untrack-agent-device-artifacts branch September 21, 2026 12:05
@github-actions

Copy link
Copy Markdown
PR Preview Action v1.8.1
Preview removed because the pull request was closed.
2026-09-21 12:06 UTC

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant