Skip to content

fix: sorting after a combined deploy, files with %XX in their name - #51

Merged
black-ghost-off merged 1 commit into
mainfrom
yboichuk/fix/sorting_and_names
Oct 21, 2026
Merged

black-ghost-off merged 1 commit into
mainfrom
yboichuk/fix/sorting_and_names

Conversation

@black-ghost-off

Copy link
Copy Markdown
Member

Sorting: PR #50 changed the site and the API in one push, so the Pages and API workflows started together and the mirror read the old Worker, which had no listing.json. The site fell back to the fixed pages, where the sort selector changed nothing.

  • api.yml starts the Pages deploy after the Worker is live, so the mirror always reads the new one (actions: write, deploy job only).
  • Without listing.json the selector is hidden instead of doing nothing.

Names with a literal escape, e.g. bmp280%2Bbme280_lilka.lua: Keira and the site request the name as written, Pages decodes it and looked for bmp280+bme280_lilka.lua, a 404 (also on the old build.py site). The mirror now also writes the decoded copy; only the file name is decoded, never into another path.

Sorting: PR #50 changed the site and the API in one push, so the Pages
and API workflows started together and the mirror read the old Worker,
which had no listing.json. The site fell back to the fixed pages, where
the sort selector changed nothing.
- api.yml starts the Pages deploy after the Worker is live, so the
  mirror always reads the new one (actions: write, deploy job only).
- Without listing.json the selector is hidden instead of doing nothing.

Names with a literal escape, e.g. bmp280%2Bbme280_lilka.lua: Keira and
the site request the name as written, Pages decodes it and looked for
bmp280+bme280_lilka.lua, a 404 (also on the old build.py site). The
mirror now also writes the decoded copy; only the file name is decoded,
never into another path.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@black-ghost-off
black-ghost-off merged commit 272ccac into main Oct 21, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant