• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

carapace-sh / carapace / 30113885906
61%
master: 61%

Build:
Build:
LAST BUILD BRANCH: update-carapace-dev-skill
DEFAULT BRANCH: master
Ran 24 Jul 2026 05:41PM UTC
Jobs 1
Files 112
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

24 Jul 2026 05:39PM UTC coverage: 61.216% (+0.5%) from 60.7%
30113885906

Pull #1227

github

rsteube
fix: gate flag-argument completion on AcceptsNext and clean up code

- Fix failing TestAcceptAttached: traverse.go now checks AcceptsNext()
  before completing a flag argument in the next-arg position, so flags
  with AcceptAttached-only style no longer incorrectly offer value
  completions when the user types `-3 <TAB>`.
- Replace magic numbers in internalActions.go with named pflagfork
  constants (NameAsShorthand, Default) via GetMode().
- Revert go.mod/example-nonposix go.mod local replace directives back
  to versioned carapace-pflag; keep local override in go.work only.
- Add named constants for ArgumentStyle bitmask values in pflagfork.
- Simplify lookupPosixShorthandArg variable names and remove redundant
  hasNext logic.
- Clarify comments in traverse.go and lookupPosixLonghandArg.

Assisted-by: Crush:glm-5.2
Pull Request #1227: argumentstyle

93 of 105 new or added lines in 6 files covered. (88.57%)

3905 of 6379 relevant lines covered (61.22%)

1.03 hits per line

Uncovered Changes

Lines Coverage ∆ File
4
90.91
example-nonposix/cmd/argumentstyle.go
4
91.1
-0.5% internal/pflagfork/flagset.go
3
60.75
4.83% internal/pflagfork/flag.go
1
0.0
0.0% internal/shell/export/snippet.go
Jobs
ID Job ID Ran Files Coverage
1 0 - 30113885906.1 24 Jul 2026 05:41PM UTC 112
61.22
GitHub Action Run
Source Files on build 30113885906
  • Tree
  • List 112
  • Changed 4
  • Source Changed 0
  • Coverage Changed 4
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Pull Request #1227
  • PR Base - master (#29934036097)
  • Delete
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc