Skip to content

Export Lua API in the reusable port docs workflow - #383

Merged
tony merged 1 commit into
mainfrom
feat/lua-reusable-port-docs
Dec 6, 2026
Merged

tony merged 1 commit into
mainfrom
feat/lua-reusable-port-docs

Conversation

@tony

@tony tony commented Dec 5, 2026 •

Copy link
Copy Markdown
Contributor

Closes #382.

What changed

Run the Lua exporter in the reusable port documentation workflow. Record the generator checkout before any native generation. Run the exporter from the Lua caller’s workflow commit, then write its artifact into the selected source checkout. A released reference can use newer tooling while taking its guides and examples from the release.

Checks run

  • Reproduced the missing Lua leg with the workflow contract test on main.
  • Passed the workflow runtime and publication provenance suites, including exporter arguments and exit status.
  • Replayed the exact export command against the public Lua default branch. Every exported example file matched the selected source blob.
  • Replayed the tagged v0.1.1 source using the local launcher-compatible Lua exporter and verified the public launcher and program bytes. The Lua workflow caller needs the matching historical example support to rebuild this release. Native launcher support.
  • Compared actionlint with main. Both reported the same existing diagnostics. The diff check passed.

Tool use

Codex adapted the Lua-only workflow changes, checked source and generator provenance, and ran the command and regression checks.

why: Lua cannot share the port docs builder without exporting the
selected source with its native tooling.

what:
- Record the Lua generator checkout before the source snapshot.
- Install its pinned LuaJIT, LuaLS, and rocks and run its exporter.
- Check the export order, quoted arguments and failure propagation.
@tony
tony changed the base branch from main to fix/lua-port-heads-exporter December 6, 2026 01:08
@tony
tony added this pull request to stack #400 December 6, 2026 01:08
@tony
tony force-pushed the feat/lua-reusable-port-docs branch from 914d357 to a8f1681 Compare 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 deployed to docs-preview December 6, 2026 06:07 — with GitHub Actions Active
@tony
tony removed this pull request from stack #400 December 6, 2026 06:14
@tony
tony changed the base branch from fix/lua-port-heads-exporter to main December 6, 2026 07:43
@tony
tony merged commit 22947ee into main Dec 6, 2026
8 of 14 checks passed

This branch was successfully deployed

1 active deployment
docs-preview — a8f16814 Deployed Dec 6, 2026 by tony via publish-preview / publish #1615
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.

Export Lua inputs in the reusable port documentation workflow

1 participant