Skip to content

fix(volumes): verify marker fallback + sha manifest, timed() exit code, sandbox cleanup - #531

Closed
HeyGarrison wants to merge 1 commit into
masterfrom
devin/1792637000-volumes-review-fixes
Closed

HeyGarrison wants to merge 1 commit into
masterfrom
devin/1792637000-volumes-review-fixes

Conversation

@HeyGarrison

Copy link
Copy Markdown
Collaborator

Summary

Devin Review findings on #528 — the public copy of volumes.bench.ts carried the same three bugs already fixed in benchmarks-stealth #18:

  • Verify false negatives: cat marker2.txt (no trailing newline) glued its output onto wc -c's count, so lines[1] mismatched and persisted data read as a verify failure. Now reads either marker file (rename is an optional capability), forces a separator with ; echo, and byte-verifies via a sha256 manifest captured in posix-probes — a size/count check can't see silent corruption on object-backed volumes.
  • timed() masking failures: a failed dd still printed NS= and returned the trailing echo's exit status, recording throughput for a dead write. Now propagates the wrapped command's exit code (rc=$?; ...; exit $rc).
  • Sandbox leaks: a failed step left sandbox/secondSandbox running — still billing and holding the volume open during volume-destroy. The finally block now destroys every live ref under a bounded timeout; refs are cleared after the destroy step.

Link to Devin session: https://app.devin.ai/sessions/030c6248cef045b68395136f77112603
Open in Devin Desktop: https://app.devin.ai/desktop/session/030c6248cef045b68395136f77112603?variant=devin
Requested by: @HeyGarrison

…e, sandbox cleanup

Port of the stealth #18 fixes — same bug class, public repo copy:

- verify: cat's newline-free marker glued onto the wc output, failing
  verify on intact data. Read either marker file, force a separator
  line, and hash-verify via a sha256 manifest captured in posix-probes
- timed(): masked a failed dd behind the trailing echo's status, so
  dead writes still recorded throughput — now propagates rc
- finally: a failed step left sandbox/secondSandbox running (billing +
  holding the volume open). Destroy every live ref with a bounded
  timeout; clear refs after the destroy step
@devin-ai-integration

Copy link
Copy Markdown
Contributor

I'll fix CI failures and address comments from users with write access. I'll skip comments containing "(aside)".

  • Disable automatic comment, CI, and merge conflict monitoring

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