mirror of
https://github.com/ubiquitarianism/leonida.git
synced 2026-11-26 21:30:53 +01:00
[PR #2403] manifest_verifier: accept a flat entry named files #2402
Labels
No labels
bug
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
starred/leonida#2402
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/ubiquitarianism/leonida/pull/2403
Author: @bimo0o
Created: 11/26/2026
Status: 🔄 Open
Base:
main← Head:verify-flat-files📝 Commits (1)
2b738d3manifest_verifier: accept a flat entry named files📊 Changes
2 files changed (+41 additions, -3 deletions)
View changed files
📝
tests/test_manifest_verifier.py(+26 -0)📝
tools/manifest_verifier.py(+15 -3)📄 Description
Claimed in the coordination issue as: VERIFY-FLAT-FILES
What and why
The verifier treated every top-level
fileskey as a wrapper. Accept a flat entry namedfileswhen its value is a SHA-256 digest string or an object with an integer size and a SHA-256 string. Preserve wrapped manifests that list files namedsha256orsize.Tested
fac8b4b) and pass with the fix.git diff --checkpassed.GPUs tested: n/a. Synthetic fixtures only.
AI-assisted: yes (Codex).
Checklist
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.