GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — fix(shell): stop Nushell 0.116 warning that the wt completer's spans input is deprecated by worktrunk-bot · Pull Request #4297 · max-sixty/worktrunk

Conversation

@worktrunk-bot

@worktrunk-bot worktrunk-bot commented Sep 27, 2026

Copy link
Copy Markdown
Collaborator

Nushell 0.116.0 (released 2026-09-26) binds custom completer inputs by parameter name (nushell/nushell#18791). Our completer's parameter is still named spans, the old name, so sourcing the wt integration on 0.116 prints a multi-line nu::shell::deprecated warning ("Positional completer input deprecated") at every shell startup. Completions still work, but only through a compatibility bridge that Nushell says will be removed in a future release. After that, the completer would receive nothing and wt tab completion would stop working.

This PR renames the parameter to place, the name Nushell's migration table suggests. On 0.116, place is a record whose command field holds the same token list spans used to. On older versions the argument is still the plain spans list, because they pass it positionally regardless of the parameter's name. The completer checks which of the two it received, so a single template works on both.

Tested by generating the integration (wt config shell init nu) from this branch and running commandline complete against it on Nushell 0.115.1 and 0.116.0:

  • Neither version prints a warning. On main, 0.116.0 prints it.
  • Both versions give identical results for wt (subcommands), wt switch (branches), and wt config sh (→ shell, show). These match what the spans version returns today.
  • Integration tests matching nu/completion/git_error_display under --features shell-integration-tests give the same results on both versions. The only two failures are fish config show snapshots, which fail identically on unmodified main in this sandbox.

The init_nu snapshot changes to match the template. The CI Nushell pin bump to 0.116.0 is in a separate PR and doesn't depend on this one.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@worktrunk-bot
fix(shell): name the nushell completer's input place, not the depreca…
e879cd6
…ted spans

Nushell 0.116 binds completer inputs by parameter name and warns that a
parameter named spans is deprecated each time the integration is sourced.
Taking place and reading its command field keeps completions identical on
0.116 while earlier versions still pass the spans list positionally.
@max-sixty
max-sixty merged commit e4b0f81 into main Sep 27, 2026
37 checks passed

Uh oh!

There was an error while loading. Please reload this page.

@max-sixty
max-sixty deleted the weekly/nushell-completer-place branch September 27, 2026 10:05
@worktrunk-bot worktrunk-bot mentioned this pull request Sep 27, 2026
ci: bump Nushell pin to 0.116.0 #4300
Merged
max-sixty pushed a commit that referenced this pull request Sep 27, 2026
@worktrunk-bot
ci: bump Nushell pin to 0.116.0 (#4300)
f9dc3e3
Weekly CI pin bump: Nushell `0.115.1` → `0.116.0`, the latest
[`nushell/nushell`
release](https://github.com/nushell/nushell/releases/tag/0.116.0)
(published 2026-09-26).

Seven sites move together:

- the five `hustcer/setup-nu` inputs: `coverage.yaml`,
`benchmarks.yaml`, `nightly.yaml`, and
`.github/actions/{test,tend}-setup/action.yaml`
- `NU_VERSION` in `.codex/cloud.sh`, which the weekly checklist keeps
level with `test-setup`
- `NU_VERSION` in `Taskfile.yaml`'s `setup-web`

The `nu-0.116.0-x86_64-unknown-linux-gnu.tar.gz` asset that `cloud.sh`
and `setup-web` download is published on the release.

This is in its own PR because Nushell's version moves PTY snapshots
under `--all-features`, and this PR's CI is the only place the bump is
tested on macOS and Windows.

The release's one breaking change that touches this repo is the unified
completer input
([nushell/nushell#18791](nushell/nushell#18791)).
`templates/nushell.nu` already handles it: #4297 moved the completer to
the new `place` input, so 0.116 no longer warns when the integration is
sourced. Locally, with 0.116.0 on `PATH`, the `shell` integration-test
subset gives the same results as with 0.115.1: 193 passed, and the same
16 failures, which are sandbox-environment snapshot failures present on
main.

Co-authored-by: worktrunk-bot <[email protected]>
@BrewTestBot BrewTestBot mentioned this pull request Sep 27, 2026
worktrunk 0.80.0 Homebrew/homebrew-core#313917
Merged
@worktrunk-bot worktrunk-bot mentioned this pull request Sep 28, 2026
review-runs-tracking: 2026-09 #3980
Closed
@scottames-github-bot scottames-github-bot Bot mentioned this pull request Oct 2, 2026
chore(deps): update ⬆️ mise-packages scottames/dots#1088
Merged
1 task
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

No reviews

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

2 participants

@worktrunk-bot @max-sixty
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.
You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.