Skip to content

Run the Lua exporter in port-heads - #379

Merged
tony merged 1 commit into
mainfrom
fix/lua-port-heads-exporter
Dec 6, 2026
Merged

tony merged 1 commit into
mainfrom
fix/lua-port-heads-exporter

Conversation

@tony

@tony tony commented Dec 5, 2026 •

Copy link
Copy Markdown
Contributor

Refs #377.

What changed

Use the Lua head's LuaJIT and LuaLS bootstrap and run its Lua exporter from the generator checkout. The failure occurred in the hosted Lua job.

Checks run

  • Reproduced the missing Python bootstrap against the public Lua default branch.
  • Ran the exact replacement export command from the workflow. The artifact named the public checkout and every exported example matched its committed bytes.
  • Ran actionlint .github/workflows/port-heads.yml and git diff --check.

The Linux ARM64 replay used LuaJIT 2.1 and an installed LuaLS 3.19.1 because the Lua bootstrap at the replayed revision lacked an ARM64 LuaLS asset. The scheduled workflow runs on Ubuntu 24.04. The export replay verifies the command and its source bytes. The library’s own Ubuntu documentation job ran both replacement commands in 27 seconds. Keep #377 open until the website’s port-heads job produces the Lua build inputs. Ubuntu job.

Tool use

Codex compared the scheduled workflow with the public Lua workflow and replayed the exporter against a clean source checkout.

why: The scheduled Lua build calls a Python bootstrap that the Lua
checkout no longer contains.

what:
- Bootstrap the LuaJIT exporter and LuaLS from the selected head.
- Export its Lua API from the generator checkout.
@tony
tony changed the base branch from main to release-tags-only December 6, 2026 01:08
@tony
tony added this pull request to stack #400 December 6, 2026 01:08
@tony
tony force-pushed the fix/lua-port-heads-exporter branch from 07c28fd to a38cdcf Compare December 6, 2026 01:08
@tony
tony removed this pull request from stack #400 December 6, 2026 06:14
@tony
tony changed the base branch from release-tags-only to main December 6, 2026 06:15
@tony
tony merged commit b48daaf into main Dec 6, 2026
6 of 7 checks passed

This branch was successfully deployed

No deployments
docs-preview — a38cdcff Deployed Dec 6, 2026 by tony via publish-preview / publish #1617
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