Skip to content

examples(docs): Exercise seven core capabilities - #147

Merged
tony merged 2 commits into
mainfrom
examples/61-capabilities
Dec 3, 2026
Merged

tony merged 2 commits into
mainfrom
examples/61-capabilities

Conversation

@tony

@tony tony commented Dec 2, 2026 •

Copy link
Copy Markdown
Contributor

Refs #61.

What changed, and why

  • Add seven standalone examples with private tmux servers and checked outcomes.
  • Cover typed navigation, rename observation, pane input, window creation, renaming, movement and layout.
  • Run all seven from the packed Hex archive and link the executable files in the guide.

The application run-to-exit example uses Program.run/4 from #139 on tmux 3.8. The shared showcase needs a site revision with both sets of examples. Companion site PR.

Checks run

  • Ran mix run scripts/check_package.exs --examples with the reference Elixir 1.20.4 and OTP 29.1.2 on Linux tmux 3.3 and 3.8, 44.01 s and 41.42 s. The owned processes and sockets retired.
  • Checked Mix formatting and synchronized excerpts, 0.77 s and 0.48 s.
  • Rendered ExDoc with warnings as errors and checked the local links, 28.75 s and 0.84 s.
  • All seven programs ran from the combined Hex package on tmux 3.8. The full package check took 84.593 s.
  • On 2b2af24f, GitHub Actions passed core units and packaging, tmux 3.3 on the reference toolchain, and tmux 3.8 on the reference and tracking toolchains. Required Linux checks

On 3c7abb5c, the packed examples passed on Linux tmux 3.8 in 55.065 s with no surviving owned processes or sockets.

On 559911fb, the packed examples passed on Linux tmux 3.8 in 48.370 s with no surviving owned processes or sockets.

On 877798a9, the packed examples passed on Linux tmux 3.8 in 50.118 s with no surviving owned processes or sockets.

Tool use

Codex reviewed the standalone examples and replayed the packed and documentation checks.

@tony
tony deployed to docs-preview December 3, 2026 00:43 — with GitHub Actions Active
@tony
tony marked this pull request as ready for review December 3, 2026 02:54
@tony
tony changed the base branch from main to concept/owned-program December 3, 2026 03:29
@tony
tony force-pushed the examples/61-capabilities branch from 2b2af24 to 3c7abb5 Compare December 3, 2026 03:29
@tony
tony force-pushed the concept/owned-program branch from 7509046 to c6d4086 Compare December 3, 2026 03:58
@tony
tony force-pushed the examples/61-capabilities branch from 3c7abb5 to 559911f Compare December 3, 2026 04:00
tony added 2 commits December 2, 2026 22:06
why: Readers need complete programs whose results can be reproduced
with a packed copy of the library and a private tmux server.

what:
- Show navigation, rename observation and input with a verified pane
  receipt, plus window creation, renaming, movement and layout.
- Check each program's output from the installed package and publish
  synchronized examples with links to the complete source files.
why: Readers need to find complete programs for everyday tmux tasks.

what:
- Record the seven new examples and their covered capabilities.
@tony
tony changed the base branch from concept/owned-program to main December 3, 2026 04:08
@tony
tony force-pushed the examples/61-capabilities branch from 559911f to 877798a Compare December 3, 2026 04:08
@tony
tony merged commit 1fa8af1 into main Dec 3, 2026
6 checks passed

This branch had an error being deployed

1 failed deployment
docs-preview — 877798a9 Deployed Dec 3, 2026 by tony via publish (pr-147, pr, false, true, elixir) / publish #312
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