Skip to content

site(feat) Verify standalone Elixir showcase programs - #369

Merged
tony merged 2 commits into
fix/indented-elixir-examplesfrom
feat/61-elixir-showcase
Dec 6, 2026
Merged

tony merged 2 commits into
fix/indented-elixir-examplesfrom
feat/61-elixir-showcase

Conversation

@tony

@tony tony commented Dec 2, 2026 •

Copy link
Copy Markdown
Contributor

Refs libtmux/libtmux-elixir#61 and #243.

What changed, and why

The showcase checks complete Elixir programs. A source-loading call that requires another checkout file is rejected, including the call syntax without parentheses. A panel can name an exact qualified tmux release. The source cache supplies the key used by the collector, checks and renderer.

The seven examples from libtmux/libtmux-elixir#147 and the run-to-exit program from libtmux/libtmux-elixir#139 are present at 1fa8af1e0722b7edeca070f2b84104edc450bc96.

The integrated showcase still displays the typed-graph quickstart. It resolves capability programs and their CI evidence at the Elixir API model revision, and its reader setup installs the published package. The run-to-exit program calls LibTmux.Program, which is absent from the latest published Hex package. The public eight-panel update requires a Hex release with the APIs used by the programs and a matching site source bundle. The typed-graph slot also needs to use the qualified navigation program. libtmux 0.1.3 on Hex

Checks run

The five affected Vitest suites passed on Linux against the actual Go and Python workspace source revisions (14.021 s). Astro checked 891 files with zero errors, zero warnings and 46 hints (110.416 s). The production build generated 304 pages (98.234 s), and the pinned Elixir landing page showed the typed-graph panel. Oxlint exited successfully with warnings in the selected files. Assembled multi-site tests were skipped.

Elixir source qualification

  • mix run scripts/check_package.exs --examples checked the packed programs on Linux. All eight passed on tmux 3.8 (55.693 s), including run-to-exit with exit 0, the expected screen text and pane removal. On the tmux 3.3 floor, seven passed and the checker reported the expected run-to-exit skip (42.933 s). Both runs retired their owned processes and sockets.
  • The site's source cache reader and capability validators accepted all eight complete files and their exact CI output assertions at the source revision (0.332 s).

Rebased checks

After rebasing, the eight-program source audit and selected showcase validator tests passed in 1.099 s. The public panels still depend on a matching package release and source bundle.

Merge stack

This PR tests the showcase validators with the released Elixir API data and reference renderer from #375. The public showcase still needs a matching port release and source pin. Stack #399 · Changes in this PR

All seven documentation jobs passed, including preview publication on e058a480b. GitHub records the stack merge at 5a6dc108d. CI run · Merged commit Local checks rebuilt the site on 22947ee66 after #398, #379 and #383 merged. They verified version selection, the Elixir documentation workflow, the showcase links and the rendered example.

Published preview check

The published Server.with_owned/2 example matched all six lines of the released Elixir source, including its blank line and callback indentation. It rendered with 6 syntax styles. The guide and recording checks also passed. The served-page checks took 2.33 s after publication for e058a480b. Rendered example · Publisher run On all 7 checked pages, the only difference from the CI artifact was the analytics script added by Cloudflare.

Tool use

Codex traced source lookup to the shared cache, checked complete programs, ran the site suites and inspected the rendered Elixir page.

tony added 2 commits December 5, 2026 19:05
why: Core and product examples use one cache. A product-specific key
constructor forced core callers to alter its result.

what:
- Define source identifiers and cached content at the cache boundary.
- Use the shared key in collection, checking and rendering.
why: A panel promises a complete program that readers can execute.
Loading another repository file breaks that promise.

what:
- Check Elixir source-loading calls with and without parentheses.
- Accept an exact tmux release for a version-qualified example.
@tony
tony marked this pull request as ready for review December 6, 2026 01:07
@tony
tony changed the base branch from main to fix/indented-elixir-examples December 6, 2026 01:07
@tony
tony force-pushed the feat/61-elixir-showcase branch from e50dc22 to e058a48 Compare December 6, 2026 01:07
@tony
tony added this pull request to stack #399 December 6, 2026 01:07
@tony
tony merged commit 5a6dc10 into main Dec 6, 2026
7 checks passed

This branch was previously deployed

1 inactive deployment
docs-preview — e058a480 Deployed Dec 6, 2026 by tony via publish-preview / publish #1614
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