Skip to content

test(e2e): the device.exec fleet no longer depends on host free disk - #1825

Merged
V3RON merged 3 commits into
mainfrom
bug/1823
Nov 24, 2026
Merged

V3RON merged 3 commits into
mainfrom
bug/1823

Conversation

@V3RON

@V3RON V3RON commented Nov 24, 2026 •

Copy link
Copy Markdown
Contributor

Closes #1823

Status

Implement: done (6/6 green) Review: round 1, 0 findings Hardware: n/a Gate: running
Next: gate

Assumptions

none

Review

Spec review: 0 blocking, 0 fixed, 0 notes. Code review: 0 blocking, 0 fixed, 0 notes. Claims review: 0 blocking, 0 fixed, 0 notes.
Rounds: 1. Tokens: 1.1M.
Runs: 6. Cost USD: 0.9655. Agent seconds: 555.

Assessment: complete

Written by an agent.

@coderabbitai

coderabbitai Bot commented Nov 24, 2026 •

Copy link
Copy Markdown

Explain Change →

No actionable comments were generated in the recent review.

Walkthrough

The fleet() fixture sets diskPressure.freeBytesThreshold to 0. A new device.exec fleet test queries the setting and checks that the CLI succeeds and returns 0.

Severity of issue fixed: Low

Merge Risk: Minimal · up to e03c5

This is a test-only change that stops two upload e2e tests from failing on hosts with under 10 GiB free. It has no production impact, and no merge-blocking risk was found.

Pre-merge checks: Passed 4

Check name Status Explanation
Title check Passed The title names the main change: the device.exec fleet e2e test no longer depends on host free disk space. The raw summary confirms fleet() now overrides diskPressure.freeBytesThreshold to 0, which ma…
Description check Passed The description links issue #1823 and gives status, review, and run metrics. It does not describe the code change itself (the threshold override and the new device.exec fleet test), but it refers to t…
Linked Issues check Passed Issue #1823 requires that the device.exec e2e fleet stop depending on the host's free disk. The 10 GiB default is confirmed at src/core/config-defaults.ts (diskPressure.freeBytesThreshold: 10 * 1024 *…
Out of Scope Changes check Passed The whole-PR diff against the merge base (4815716) changes only e2e/device-exec.test.ts, with +16/-1 lines. The configOverrides change is the requested fix for #1823. …
Full details: Title check

Explanation

The title names the main change: the device.exec fleet e2e test no longer depends on host free disk space. The raw summary confirms fleet() now overrides diskPressure.freeBytesThreshold to 0, which matches the title. The title is specific and concise.

Full details: Description check

Explanation

The description links issue #1823 and gives status, review, and run metrics. It does not describe the code change itself (the threshold override and the new device.exec fleet test), but it refers to the work and the linked issue, which is related to the changeset. This meets the lenient bar for relevance.

Full details: Linked Issues check

Explanation

Issue #1823 requires that the device.exec e2e fleet stop depending on the host's free disk. The 10 GiB default is confirmed at src/core/config-defaults.ts (diskPressure.freeBytesThreshold: 10 * 1024 ** 3) at the reviewed head. The PR adds diskPressure: { freeBytesThreshold: 0 } to the configOverrides in fleet() in e2e/device-exec.test.ts, which is the change the issue proposes. The two upload tests that call fleet() therefore run with a 0-byte threshold. The PR also adds a test, 'keeps a disk-pressure threshold of 0 bytes', that reads the value through env.cli config get and asserts 0. The PR diff touches only e2e/device-exec.test.ts. The author's '6/6 green' and gate status are not independently verified here, but the code change implements the requested objective.

Full details: Out of Scope Changes check

Explanation

The whole-PR diff against the merge base (4815716) changes only e2e/device-exec.test.ts, with +16/-1 lines. The configOverrides change is the requested fix for #1823. The new describe block is a supporting regression check for the same threshold and is tied to the issue's cause. No unrelated source, configuration, or documentation changes were found in the diff.

  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

Recent review info

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Repository UI
  • Review profile: QUIET
  • Plan: Advanced
  • Run ID: 2de3e35d-9c98-49f5-bb35-104e3d0d44bc
Commits

Reviewing files that changed from the base of the PR and between 4815716 and e03c5af.

Files selected for processing: 1

  • e2e/device-exec.test.ts

Included review availability: This review used your included allowance. Your plan provides up to 4 included reviews per hour; 0 remain after this review.

@V3RON

V3RON commented Nov 24, 2026

Copy link
Copy Markdown
Contributor Author

Review ledger

Round 1: 63b3ebd

Runs: 6. Cost USD: 0.9655. Agent seconds: 555.
Tokens input 80, output 12998, cache read 1186208, cache write 205507.
- build implementer: claude-sonnet-5-5 119 s $0.1266
- audit implementer: claude-sonnet-5-5 48 s $0.0945
- review 1 reviewer: claude-sonnet-5-5 225 s $0.1737
- review 1 spec: claude-sonnet-5-5 11 s $0.0833
- review 1 code tests: claude-opus-5-5 139 s $0.4059
- review 1 claims: claude-sonnet-5-5 13 s $0.0815
Finding outcomes: {}. Classes: {}.
{"findings":[]}

Written by an agent.

@V3RON
V3RON marked this pull request as ready for review November 24, 2026 15:18
@V3RON
V3RON merged commit b87c8f4 into main Nov 24, 2026
31 checks passed
@V3RON
V3RON deleted the bug/1823 branch November 24, 2026 15:48
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.

flaky: e2e/device-exec.test.ts uploads answer 422 when the host has under 10 GiB free

1 participant