• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

pantsbuild / pants / 34449929531

10 Sep 2026 07:26AM UTC coverage: 52.677% (-40.2%) from 92.898%
34449929531

push

github

web-flow
Return a Result from `get_digest` instead of panicking (#23663)

## Background

Fix a panic in `process_execution::get_digest` caused by blindly
unwrapping a `Result` by instead propagating the error upward.

Both callers are on the cache-key path (`cache.rs`, `nailgun_pool.rs`),
so a transient failure took down the whole run rather than surfacing as
an error.

## LLM assistance notice

This PR was written primarily by Claude Code (Claude Opus 5). I directed
the scope and reviewed the result.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

---------

Co-authored-by: Claude Opus 5 (1M context) <noreply@anthropic.com>

32733 of 62139 relevant lines covered (52.68%)

0.53 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

0.0
/src/python/pants/backend/codegen/protobuf/java/rules.py


Source Not Available

STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc