Skip to content

Lua reference examples install the wrong rock for checkout APIs #384

In review

Description

@tony

Summary

Generated reference examples from the Lua checkout tell readers to install the registry rock. Programs that own a tmux server use APIs absent from the published 0.1.1-1 rock. The watch example also displays the general tmux floor even though its manifest requires tmux 3.7.

Reproduction

  1. Export the documented Lua source with its native LuaLS exporter.

  2. Run the website model generator for Lua with that checkout and selected source revision.

    $ node scripts/gen-api-model.mjs --port lua
  3. Read the setup rendered from the Runtime:start_server and Server:observe example blocks.

Expected

The checkout examples install their cited SCM rock and show their own required tmux versions. Numbered release pages install their matching release rock and use the launcher when one is part of the release.

Actual

The setup gives an unqualified luarocks --tree ./rocks install libtmux command for the owned-server example. It shows tmux 3.3a for Server:observe.

Environment

Website and source

Reproduced against website main, the public Lua default branch, Node 26.5.1 and LuaLS 3.19.1 on Linux ARM64.

References

Codex used the public native exports to verify the generated setup and source files.

Activity

  1. added
    bug
    p1
    area:examples
    port:lua
    topic:examples
    on Dec 5, 2026
  2. tony commented on Dec 5, 2026

    @tony
    ContributorAuthor

    The guide now points to the two calls in the checkout program that starts and stops its private tmux server. The numbered example on the same page still installs 0.1.1-1 and prints work. The checkout program prints connected.

    GitHub’s publication check caught both unresolved method names. I reproduced the same two failures locally. With the source links in place, the API-link check passed on 749 pages and the staged mention-index check passed on all 199 guide inputs. The shared website’s hosted run will check the updated branch. Original hosted failure · Guide change · PR #385.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:examplesbugp1port:luatopic:examples

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions