Repository navigation
fix(lookup): a rule error holds the wait instead of waiting 0 hours - #309
Merged
Merged
Conversation
…ke requests, with_cache_limit
- update's marker and body truncation use patchula_datasource::upstream::truncate;
markers::cut_bytes is gone (same byte and char-boundary behaviour).
- patchula_http's Error::Status reads "HTTP {n}" for every request, not
"registry HTTP {n}".
- The fake GitHub's State keeps one request log; requests() derives
(method, path) from it.
- patchula_tools::Runner::with_cache_limit replaces set_cache_limit.
Deploying with
|
| Status | Name | Latest Commit | Preview URL | Updated (UTC) |
|---|---|---|---|---|
| ✅ Deployment successful! View logs |
count-patchula | 05c7cdf | Commit Preview URL Branch Preview URL |
Nov 14 2026, 06:45 AM |
Merged
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The last piece of the cleanup pass (#306, #307, #308): a fix that crosses crates, plus the leftovers the three groups couldn't reach.
Behaviour fix: a rule error no longer means "wait 0 hours"
Lookup's wait-hour helpers (
catalog_wait_hours,lockfile_wait_hours,routine_wait_hours,security_wait_hours) dropped rule errors and returned 0, which is the permissive direction. They now return the error, and each caller fails closed:<dependency>: <error>). Cargo never runs with a wait the rules didn't give.guide/lockfiles.md).Cleanup
markers::cut_bytesis gone in favour ofpatchula_datasource::upstream::truncate, which behaves identically on bytes and char boundaries.reference/report.mdchange with it.State.requestsis now derived fromState.log.with_cache_limitreplacesset_cache_limit, to match the other builder methods.State rows are rehashed with no version bumps.
Reported only: the CLI's in-place
planignores the committed-credentials refusal. It runs no lockfile tools and only follows a local lookup that honours the refusal, so this has no practical effect. Closing it would be one line incrates/cli/src/plan.rs.