Shorten firmware picker selection links and keep original download names
Replace the download-file shortcut approach with compact self-contained picker URLs under /p/. Preserve long-link compatibility, selected install formats, and full published firmware filenames. Cover selection round trips and the redirect in the picker tests.
This commit is contained in:
1 parent
3e0ce84486
commit
a31b19ed8a
16 files changed
+269
-773
No files matched your search
@@ -23,12 +23,6 @@ jobs:
|
||||
with:
|
||||
python-version: '3.13'
|
||||
|
||||
- name: Preserve published firmware short-link identities
|
||||
run: |
|
||||
python scripts/check_published_firmware_shortlinks.py \
|
||||
--manifest docs/_data/firmware_shortlinks.json \
|
||||
--previous "$RUNNER_TEMP/previous-firmware-shortlinks.json"
|
||||
|
||||
- name: Build
|
||||
env:
|
||||
GH_TOKEN: ${{ github.token }}
|
||||
@@ -38,8 +32,6 @@ jobs:
|
||||
MKDOCS_EDIT_URI: edit/${{ github.ref_name }}/docs/
|
||||
run: |
|
||||
pip install mkdocs-material
|
||||
python -B test/test_firmware_shortlinks.py -v
|
||||
python -B test/test_docs_firmware_shortlinks.py -v
|
||||
node test/test_firmware_picker.js
|
||||
node test/test_partition_catalog_viewer.js
|
||||
python scripts/sync_bootloader_manifest.py
|
||||
|
||||
@@ -191,11 +191,6 @@ jobs:
|
||||
- name: Verify build output cleanup safety
|
||||
run: python3 -B test/test_build_output_safety.py -v
|
||||
|
||||
- name: Verify immutable short firmware downloads and Pages publishing
|
||||
run: |
|
||||
python3 -B test/test_firmware_shortlinks.py -v
|
||||
python3 -B test/test_docs_firmware_shortlinks.py -v
|
||||
|
||||
- name: Verify serial mOTA response deadlines and RX fairness
|
||||
run: |
|
||||
python3 -B test/test_mota_serial_deadline.py -v
|
||||
|
||||
Reference in new issue
Block a user