-
Notifications
You must be signed in to change notification settings - Fork 28
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
refactor: download and decompress xz images #29
Conversation
@jnewb1 can you test this and merge? |
|
attached the console log |
@samrum can you update the test to catch this too? |
Ah, oops, I'm missing a |
Fixed and updated the manifest tests to use the image worker for validating images |
|
Sorry for the trouble all, I was avoiding testing the actual flashing because I didn't want to mess up my 3x, but actually went through and properly tested it this time. For the incorrect progress issue: For the system alt image getting stuck after unpacking: For the agnos.json size mismatch: |
xz-decompress is a fork of xzwasm that contains a fix for an issue causing checksum mismatches when awaiting writable writes
Should be good now. Tested up to the actual flashing step and verified that the images grabbed for flashing match their expected sizes. |
Seems like the fetch for the image failed for some reason. It's fine when I run them locally. Does it happen if you re-run the job? |
It works, thanks! I'm planning on putting up some more bounties for this once #7 is done if you'd be interested, such as streaming the system image to require less memory (like openpilot does). |
For #5
The manifest tests pass and the worker intializes on page load without error, but didn't test whether flashes actually go through.
Wasn't sure if the issue also meant to combine the download and unpacking steps, but that would be possible.