Skip to content

Show four tested Lua Core programs at their source revision - #388

Open
tony wants to merge 1 commit into
mainfrom
feat/lua-core-showcase-public
Open

tony wants to merge 1 commit into
mainfrom
feat/lua-core-showcase-public

Conversation

@tony

@tony tony commented Dec 5, 2026 •

Copy link
Copy Markdown
Contributor

Refs #243.

What changed

Offer four complete Lua programs when the selected model matches their verified source. The examples watch pane output, send keys, refresh a renamed window, and create a window. The Core page and version landing link to the matching setup, API symbols and CI source. The watch example shows its tmux 3.7 floor.

The Lua reader recognizes inline and named luv callbacks. Revision-bound examples keep their own navigation panel when the usual quickstart targets an older source.

Checks run

  • Reproduced the missing Lua completeness rule with a public example on main.
  • Verified the source files, setup and planner inputs against public Lua Git blobs.
  • Ran the native matrix planner for both push and pull request. The public source passed the native Outer current and Outer floor jobs.
  • Generated the example cache from the matching public source, checked all four selections, and ran the Core and landing regressions. The older integrated model passed the same source-only checks and retained its quickstart.
  • Passed Astro type checking, script syntax checking, changed-file Oxlint, and git diff --check. Oxlint reported an existing test warning.

The full eight-program showcase needs a public Lua revision containing all eight examples and a successful native CI run for that exact commit. Lua Core example tracker.

In the local eight-program build, Core and the landing page both showed the copied program and its source link. The newer package runner passed 23 installed examples on tmux 3.8 and 20 on tmux 3.3a. It also rejected a program that printed the expected text but exited with status 23. When the Lua changes land, pin the window movement and layout examples to the commit that passes CI. Both files changed during development. Window examples · Package runner.

Tool use

Codex reviewed the reader and picker, regenerated the public source cache for verification, and compared the native planner output and hosted job records.

why: The Core reader needs the Lua program shape and matrix evidence
to display the complete examples run by native CI.

what:
- Add four programs from the verified public Lua revision.
- Bind source, setup, and CI proof to the selected API model revision.
- Preserve quickstart and source links across the shared pickers.
@tony

tony commented Dec 5, 2026

Copy link
Copy Markdown
Contributor Author

The four examples in this PR keep the released quickstart and its API links. I also tested the eight examples requested in #243. Changing just the catalog entries removed all three API links from the released quickstart. A small change to the Core page kept those links while showing the eight new programs for the matching Lua checkout. The eight-example update will use the public Lua commit and its CI results when they are available. Reproduction and native dependencies.

This branch has not been deployed

No deployments
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