docs: add guided offline map installation steps - #64
Conversation
Greptile SummaryThe PR adds a guided five-step offline-map installation workflow and closes the previous downloader-compatibility coverage gap.
Confidence Score: 5/5The PR appears safe to merge. No blocking failure remains. Important Files Changed
Reviews (2): Last reviewed commit: "test: cover recommended map downloader a..." | Re-trigger Greptile |
| assert ( | ||
| 'href="https://download.tiles.coalition.space/" ' | ||
| 'target="_blank" rel="noopener noreferrer"' | ||
| ) in source | ||
| expected_steps = ( |
There was a problem hiding this comment.
Downloader compatibility lacks coverage
The new contract checks only the downloader URL and instructional text, while importer tests use synthetic ZIPs rather than a representative downloader archive. Add a representative fixture covering the installer’s ZIP constraints so changes to the recommended archive format do not leave the advertised workflow passing tests while local validation rejects it.
Knowledge Base Used: Release Build, Packaging, and Web Flasher
Prompt To Fix With AI
This is a comment left during a code review.
Path: tests/build_scripts/test_map_web_installer_contract.py
Line: 33-37
Comment:
**Downloader compatibility lacks coverage**
The new contract checks only the downloader URL and instructional text, while importer tests use synthetic ZIPs rather than a representative downloader archive. Add a representative fixture covering the installer’s ZIP constraints so changes to the recommended archive format do not leave the advertised workflow passing tests while local validation rejects it.
**Knowledge Base Used:** [Release Build, Packaging, and Web Flasher](https://app.greptile.com/torlando-tech/-/custom-context/knowledge-base/torlando-tech/pyxis/-/docs/release-build-and-flasher.md)
---
For each issue above, determine whether it is valid and should be fixed. If so, fix it directly.Note: If this suggestion doesn't match your team's coding style, reply to this and let me know. I'll remember it for next time!
Summary
Greptile remediation
The representative 1,162-byte fixture reproduces the recommended downloader's compatibility-relevant ZIP envelope without retaining its geographic tile payloads or identifying coverage:
The browser test mechanically checks those traits, validates zoom 0–2 coverage, installs the archive, and verifies the published PNG bytes. No production importer behavior changed.
Verification
python3 -m pytest -q tests/build_scripts tests/native tests/tools— 254 passedpython3 -m pytest -q tests/build_scripts/test_map_web_installer_contract.py— 4 passednode --check docs/flasher/js/map-installer.js— passednode --test tests/web/test_map_installer.mjs— 12 passedgit diff --check— passedScope
Documentation and web-flasher test guidance only. No firmware, map format, installer behavior, dependency, or release artifact changes.