Repository navigation
ci(chore[tmux]): adopt libtmux/setup-tmux - #126
Merged
Merged
Conversation
why: The shared libtmux/.github/actions/build-tmux action runs apt-get on every cache hit, compiles every release from source on misses, and only targets Linux (requiring a separate PowerShell macOS compiler script in macos-trial.yml). libtmux/setup-tmux v0.1.0 supports both Linux and macOS with OS-ABI-keyed caching and bundled static libevent. what: - Replace the four build-tmux steps in .github/workflows/ci.yml with libtmux/setup-tmux@96c8f0d (v0.1.0), mapping ref to version and setting add-to-path: 'false' on the reject-old-daemon daemon build. - Replace scripts/build-tmux-macos/BuildTmuxMacos.ps1 in .github/workflows/macos-trial.yml with libtmux/setup-tmux, passing setup-tmux's build.json metadata to MacosTrial.ps1 provenance. - Remove the now-unused scripts/build-tmux-macos/ directory and its test step in ci.yml, and update scripts/macos-trial/README.md. - Update scripts/check-workflows to enforce full-commit pinning on libtmux/setup-tmux and update its tests and docs. - Document libtmux/mise-tmux (v0.1.0) for local matrix installs and update the CI tmux references in .github/CONTRIBUTING.md.
why: The trial copied a private cache receipt and recorded the requested tmux version and commit even when the install reported another build. what: Check the public setup-tmux outputs against the trial pins and hash the binary on PATH. Verify its native architecture and record the install mode and cache key.
why: The install command followed the default branch even though the guide names version 0.1.0. what: Install the plugin at its documented tag.
why: Product builds its recording tmux before starting a worker. The hosted image supplies SDK 8.0.428 and the project pins 8.0.425. what: Have each trial runner install the SDK named in global.json.
why: An out-of-table tag such as 3.6b selected a release archive when passed as a bare setup-tmux version. Custom runs promise a Git build. what: Mark unpinned matrix names as Git refs at the action input. Keep passing table entries by their existing commit pins.
why: The support script repeated the same checks in the command help and in a comment beside the implementation. what: Keep the command help as the description of the checks.
This branch was successfully deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #125
Summary
libtmux/setup-tmuxv0.1.0. Manifest entries use their pinned commits. A custom tag or branch uses the action’s explicit Git-ref input. The old-daemon build keeps the supported client first onPATH.global.jsonon each macOS runner so Product can compile the recording tmux fixture.scripts/build-tmux-macos/directory and itsci.ymltest step, and updatescripts/macos-trial/README.md.scripts/check-workflows(and its tests and README) to require a full commit SHA forlibtmux/setup-tmuxin workflow files.libtmux/mise-tmuxplugin installation tov0.1.0and update CI tmux action references in.github/CONTRIBUTING.md.Verification
actionlint .github/workflows/ci.yml .github/workflows/macos-trial.ymlpassed.CheckWorkflows.ps1,CheckWorkflows.Tests.ps1,PlanMatrix.Tests.ps1,MatrixManifest.Tests.ps1,MacosTrial.Tests.ps1, andReadmeLinks.Tests.ps1passed.eng/Lint.ps1(PSScriptAnalyzer 1.25.0) passed with 0 diagnostics.3.6bGit tag at commit0623d1e968423ad0c192e0d8debf1258671063d5. The provenance command refused a mismatched commit and accepted the matching binary.check_example_width.pypassed (123 files checked; no example over 80 columns).The four Linux edge lanes passed. The full run passed all eight supported tmux releases and tmux master on PowerShell 7.6.10, plus both rejection and both mixed client/daemon checks on 7.4.20. The custom tmux 3.6b lane built Git commit
0623d1e. All eight advisory macOS cells recorded the expected tmux source and started Product. Product and Documentation each passed in zero of eight cells. The artifacts name the failing scripts. The macOS fixture and example fixes are in #9. Linux edges · Full matrix · Custom Git ref · macOS resultsTest plan
actionlinton.github/workflows/ci.ymland.github/workflows/macos-trial.ymleng/Lint.ps1andcheck_example_width.py