Skip to content

fix(release): drop stderr from the SDK probe receipt - #72

Merged
leoisadev1 merged 1 commit into
mainfrom
leoplayz317/probe-no-stderr
Oct 7, 2026
Merged

leoisadev1 merged 1 commit into
mainfrom
leoplayz317/probe-no-stderr

Conversation

@leoisadev1

@leoisadev1 leoisadev1 commented Oct 7, 2026 •

Copy link
Copy Markdown
Member

Summary

Linux dry run 37641703105 (on #71) still failed the reproducibility compare with 1 differing members: third-party/linux-source-scope/remove-sdk-only-probe.json. #71's sorted, normalized stderr was not stable across two identical rebuilds. The receipt now records the command, exit code and removed packages, as #69 did, and keeps #71's removed_packages field.

Evidence

  • Run 37641703105: rpm, AppImage, tarball, deb and source-audit PASS; source archive differs only in the probe receipt (6d4ab6fe… vs ac6577f4…).
  • python3 -m unittest test_linux_source_scope: OK.

Merge Danger

Door: two-way.

Blast radius: one receipt in the source archive.

🤖 Generated with Claude Code


Devin Review

#71 normalized and sorted the probe's cargo stderr, but Linux dry run
37641703105 still differed between two identical rebuilds in exactly
remove-sdk-only-probe.json. The receipt keeps the command, exit code and the
packages the probe removed, which is what it is evidence of.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@leoisadev1
leoisadev1 merged commit 0112460 into main Oct 7, 2026
@leoisadev1
leoisadev1 deleted the leoplayz317/probe-no-stderr branch October 7, 2026 17:33

@devin-ai-integration devin-ai-integration Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Devin Review found 1 potential issue.

Devin Review

Comment on lines 73 to 75
'exit_code': exit_code,
'removed_packages': list(removed_packages),
'stderr': text,
}

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🔍 Unused probe-log normalization remains

sdk_remove_probe still sorts and validates Cargo stderr before discarding it. The canonicalization tests maintain a receipt behavior that no longer exists.

Devin Review


Was this helpful? React with 👍 or 👎 to provide feedback.

@greptile-apps

greptile-apps Bot commented Oct 7, 2026 •

Copy link
Copy Markdown

RetriggerConfidence Score: 5/5

[Medium risk] Removes stderr field from SDK probe receipt structure.

This PR appears safe to merge.

What we checked:

  • Compiler logs change receipt bytes: After the existing checks pass, stderr does not enter the returned receipt. The other fields use fixed values, the exit code, and a sorted list of removed packages.

Summary

Removes stderr from the SDK probe receipt so varying compiler logs cannot change the source archive.

  • Keeps command, empty_cargo_home, exit_code, and removed_packages.
  • Updates the test to require exactly those four fields.
  • No actionable issues found.
  • Author leoisadev1 explicitly intends to drop stored diagnostics because normalized logs still differed between identical rebuilds.

Reviews (1) · Last reviewed commit: "Keep only the outcome in the SDK probe r..." · Reviewed by Greptile

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