Skip to content

Conversation

@jkloetzke
Copy link
Member

No description provided.

@codecov
Copy link

codecov bot commented Apr 29, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 88.91%. Comparing base (679f222) to head (e01ffe6).
Report is 6 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master     #637      +/-   ##
==========================================
- Coverage   88.92%   88.91%   -0.01%     
==========================================
  Files          50       50              
  Lines       15967    15974       +7     
==========================================
+ Hits        14198    14204       +6     
- Misses       1769     1770       +1     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

When the workspace is emptied, the audit trail gets obsolete. Even more
importantly, we do not want to accidentally reuse the old audit trail if
the new artifact did not have one.
We do not upload artifacts that miss an audit trail. On the other hand,
we should reject downloaded artifacts that have no audit trail.
Otherwise, downstream artifacts will have their audit trail corrupted.
The audit trail names the expected hash of the content. Assert that the
hash sum matches after the artifact has been extracted. This should
detect any accidental corruptions of the archive.

Note that this will not help against malicious modifications. To detect
such tampering, some kind of cryptographically strong signature check
needs to be implemented.

Fixes BobBuildTool#636.
@jkloetzke jkloetzke force-pushed the detect-artifact-corruption branch from 5e44869 to e01ffe6 Compare April 29, 2025 20:24
@jkloetzke jkloetzke merged commit 539c909 into BobBuildTool:master Apr 29, 2025
11 checks passed
@jkloetzke jkloetzke deleted the detect-artifact-corruption branch April 29, 2025 20:58
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