Repository navigation
test(engine): cover feature-service PBF dimension losses - #2668
Conversation
|
No actionable comments were generated in the recent review. Walkthrough
Merge Risk:
|
| Z/M message for the height variant (none otherwise). Valid lossy fixtures must import. | ||
| Dates, error cells, other sheets and broader type/encoding fidelity are not certified. | ||
|
|
||
| ## Feature-service PBF |
There was a problem hiding this comment.
Quality, not a blocker: the new feature-service section gives no SHA-256 checksums for the three .pbf files and doesn't commit the generator, while OSM.md records a SHA-256 table for its fixtures. A reviewer can't re-check the byte claims (100 and 121 bytes, WKID 4326, scale 0.5, translation (10, 20), Z 37) against the committed files. Adding a checksum table here, or a short note on where the encoder lives, would match the OSM section.
Category: quality
There was a problem hiding this comment.
The committed files were independently decoded with a parser generated from the linked published schema, checking their flags, transforms, coordinates, fields and attributes. The corpus also checks exact retained data and loss notices on the native and command paths. The one-off encoder stays outside this contribution.
A README checksum table is left for the release quality pass.
Code reviewI found no bugs, crash paths, security problems, performance problems, or AGENTS.md breaks. The new feature-service PBF cases check out against the code they exercise. Two quality points remain, and I left the rest of the nits in the summary. Checked
Quality
Not verified: I couldn't decode the binary Prior concerns: none. Change sizeCompared with main (merge base 35abb81 to PR head 18394f0).
|
|
The ROADMAP reflow is left for the release quality pass.
|
📖 Docs preview
GitHub Pages takes a minute or two to publish a new commit. Newer commits from the fork aren't published until a maintainer adds the |
Summary
Add paired feature-service PBF fixtures for dropped point heights and measures, using one clean XY answer and separate XYZ/XYM answers (342 bytes total). The corpus requires exact retained fractional XY, fields, attributes, feature identity, and the native/
layer.addDataone-feature loss notice; the clean answer must give no notice. This exercises the feature-service parser separately from OSM PBF.The fixtures were independently wire-encoded and checked with a parser generated from the published schema. They do not certify other geometry/attribute losses or network paging. LAS/LAZ remain a paired-corpus gap: elevations are retained as attributes, and their reported-loss paths require coordinate-conversion cases, oversized sampling or damaged files.
The shared command serves desktop, CLI, Python and the phone; this adds native integration evidence, while browser fixture ingestion is not separately exercised. No production, interface, schema or undo behavior changes.
Testing
never_silent_readingcorpus, integration Clippy with warnings denied, and formatting.18394f08faf674ae65554c3d174b9f29fb4977c0, including Linux peak memory, wasm and licences.UI evidence
No visible UI change.
Related issue
Part of the ROADMAP reader-loss corpus work.
Summary by CodeRabbit