Repository navigation
Fix family hostile numbers: coerce helper and sync engine highs - #3899
Open
accesswatch wants to merge 1 commit into
Open
accesswatch wants to merge 1 commit into
accesswatch wants to merge 1 commit into
Conversation
…s long histories, torn logs and hostile names Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This branch has not been deployed
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.
Part of #3857 and #3842.
Adds
quill/core/coerce.py(as_int, as_float, as_str, as_list, as_dict, safe_int_text, bounded_depth) with a hostile-input table test, so the sweep PRs can convert loaders onto one helper.Also fixes the robustness half of the high #2489 in the sync engine: iterative commit ordering (no RecursionError on long histories, cycle safe), a torn log line is skipped,
ManifestEntry.from_dictignores unknown keys, folder-transport object and commit names are validated (no path traversal), an incomplete commit is retried instead of stopping the pull, and the change marker is written only after the commit succeeds.Not done here (stays open on #2489): the AAD/manifest authentication design and tombstone-versus-newer-edit comparison, which change the sync format.
🤖 Generated with Claude Code