GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | |
GeezerVison is showing github.com — Experimental chain workspace builder (scaffold) by tony · Pull Request #1068 · tmux-python/tmuxp Conversation
Member
Summary
StatusGroundwork toward the parallel/batched builder (roadmap #1058, #1062). Not functional on released libtmux — it requires the experimental chain API (libtmux#685). Its API-dependent tests skip until that ships; the unavailable-path test runs and passes today. Changes
Supersedes #1054, re-homed onto the #1066 framework; selection is via Test plan
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page. All reactions
|
There was an error while loading. Please reload this page.
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@ ## master #1068 +/- ## ======================================= Coverage 82.55% 82.55% ======================================= Files 31 31 Lines 2768 2768 Branches 518 518 ======================================= Hits 2285 2285 Misses 346 346 Partials 137 137 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
Sorry, something went wrong.
There was an error while loading. Please reload this page.
why: Land the experimental ChainWorkspaceBuilder from #1054 on the new builder package. It builds the window/pane tree via libtmux's chain API (libtmux#685), which is unreleased and absent from published libtmux, so the scaffold must import cleanly and fail with an actionable error rather than crash on import. what: - Add src/tmuxp/workspace/builder/chain.py: ChainWorkspaceBuilder subclasses ClassicWorkspaceBuilder; guard the experimental import behind _HAVE_CHAIN so the module imports without the API - build() raises exc.WorkspaceBuilderImportError when the chain API is absent; when present, port #1054's single-ForwardPlan build - Register the `chain` entry point in tmuxp.workspace_builders - Export ChainWorkspaceBuilder from the builder package - Add tests: test_builder_chain.py importorskips the chain API; the new test_builder_chain_unavailable.py asserts selecting `chain` without the API resolves the class yet raises on build()
why: Tell users the chain builder exists, how to select it, and that it is non-functional until libtmux's unreleased chain API ships. what: - Add docs/internals/api/workspace/builder/chain.md autodoc page with an unreleased-API warning; add it to the builder index grid and toctree - Add an "Experimental chain builder" section to the custom-workspace- builders topic and list it under Reference - Add a CHANGES entry under 1.74.0 noting the opt-in builder requires libtmux#685 and is non-functional until that ships
why: the chain builder's plan-building methods require the unreleased libtmux._experimental.chain API (libtmux#685) and cannot execute on released libtmux, so codecov flagged the unmeasurable lines as a project-coverage drop. what: - Omit src/tmuxp/workspace/builder/chain.py from coverage until the experimental API ships and the builder becomes testable
There was an error while loading. Please reload this page.
Successfully merging this pull request may close these issues.
There was an error while loading. Please reload this page.