You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
test(e2e): seed {H}.obao4 so ranged origin fetches reach the range tier #1372
kind:testTest coverage, flakes, fixtures or the e2e harnessprio:mediumScheduledrustDependabot: a Cargo update; use area: labels for Rust code otherwise
NodeFixture::seed_origin_blob writes only the data object ({root}/{hex[..2]}/{hex}, via write_fs_origin_blob at crates/e2e/src/node.rs). It does not write the sibling {H}.obao4 outboard.
FilesystemOrigin::fetch_range treats a missing outboard as Unsupported by design (crates/cache/src/origin/fs.rs:240-290; there is a dedicated unit test, fetch_range_without_outboard_is_unsupported at fs.rs:814). So for any blob seeded this way:
the request falls through to try_local_populate (dispatch.rs:289) — a whole-blob fill,
and the tail is produced by a server-side export_range.
Consequence for G-NODE-08: its "ranged origin fetch" assertion passes, but via the whole-blob path. The origin range tier is never entered, and RANGE_OFFSET = 40_001's deliberate non-alignment therefore exercises none of bao-range's chunk-group handling. The comments in that test now say so explicitly rather than claiming otherwise, but the coverage gap is real.
Proposal: give seed_origin_blob an outboard-writing variant (mirroring seed_blob_with_outboard, crates/cache/src/origin/fs.rs:763) and use it for the ranged half. Then add a control that distinguishes the tiers — e.g. after a range-tier serve the blob should still be partially present rather than fully imported, which only holds on the true range path.
kind:testTest coverage, flakes, fixtures or the e2e harnessprio:mediumScheduledrustDependabot: a Cargo update; use area: labels for Rust code otherwise
Activity
test(e2e): close soundness gaps in the G-NODE-08 wire-opacity scan
test(e2e): add G-NODE-08 authorized-origin recognition (opaque backen…