Skip to content

add case-insensitivity to dc-glob and glob command to avoid breaking changes - #18376

Merged
fdncred merged 1 commit into
nushell:mainfrom
fdncred:fix_dcglob_bug_with_case_insensitive
Jun 9, 2026
Merged

fdncred merged 1 commit into
nushell:mainfrom
fdncred:fix_dcglob_bug_with_case_insensitive

Conversation

@fdncred

@fdncred fdncred commented Jun 9, 2026

Copy link
Copy Markdown
Contributor

Description

This PR fixes a deficiency in dc-glob that I just found. There was no way to make it case-sensitive or case-insensitive. So, I added the --ignore-case/-i option when dc-glob = true so you can do things like glob c* -i and get all hits with C* and c*.

User-facing changes (Release notes)

Fix a breaking change that allows glob to still work in case-insensitive mode when using the --ignore-case/-i when using the dc-glob experimental-option.

Additional notes

@fdncred fdncred added notes:fixes Noted in "Bug fixes" section notes:ready Indicates Ready for Release notes labels Jun 9, 2026
@fdncred
fdncred merged commit dbacec5 into nushell:main Jun 9, 2026
18 checks passed
@fdncred
fdncred deleted the fix_dcglob_bug_with_case_insensitive branch June 9, 2026 19:47
@github-actions github-actions Bot added this to the v0.114.0 milestone Jun 9, 2026
deep-name pushed a commit to 0xHoneyJar/loa that referenced this pull request Oct 26, 2026
…e ×3, deno, nushell, pydantic), blind-annotated v2 labels pending approval

Seeded with seed-corpus-from-external.sh --commit-trees from merged PRs of public MIT
repositories no thj member touched, each with a later fix commit on the default branch
that touches the PR's files (toward gate G3: ≥ 10 public-repo fixtures; this lands the
public leg at 11):

  pr-54  vitejs/vite#23879       fix e954a9cda0b5 (watch new URL(..., import.meta.url) assets with a query or hash)
  pr-55  vitejs/vite#23777       fix 4d16e7c14d5e (preload dependencies in chunk import-map hashing)
  pr-56  vitejs/vite#23667       fix a7d56967ef00 (skip the patches-dir hash for the nub lockfile)
  pr-57  denoland/deno#36191     fix 5f2241642635 (validate npm package link names)
  pr-58  nushell/nushell#18376   fix aa89ea092a57 (dc-glob relative vs absolute paths)
  pr-59  pydantic/pydantic#13079 fix a6bf50b721c2 (ValidationInfo.field_name under model_validate_json)

Each fixture: head/ base/ head.diff PR.md, the instruction templates, upstream/LICENSE,
external/pr-NN.json provenance (visibility public), incident-scan.sh --no-gh --window-days 30
over the source clone (pr-55 2, pr-56 1, the others 0), THIRD-PARTY.tsv rows (MIT), corpus.tsv
rows (kind external), the two recall tasks.

Labels: two blind Opus 5.5 annotators per fixture over annotation-packets.sh packets
(blind-session.sh, container, trace growth-fixtures-pr-NN-{A,B}), annotation_merge.py, the lead's
adjudication where they differed (pr-55 11 items, pr-56 1, pr-57 12; decisions.json beside each
adjudication.json); 14 defects, label_source fix-commit (12) or incident (2), review_driven false;
pooled hunk-verdict kappa 0.906 over 58 hunks (pooled-2026-10-26-growth/kappa.json). Every label
file says `# approved-by: pending` and every manifest `approved: false` until the maintainer
approves (seed-corpus-from-record.sh --approve). pr-58 and pr-59 predate the Fable 5.1 cutoff
(exposure pre-cutoff, recorded in fixture.yaml). Annotation spend USD 1.11 (12 sessions,
spend-rows.jsonl). SHA256SUMS refrozen (2,030 files); both --check modes pass.

Caveat recorded in the run notes: annotation-packets.sh diffs the PR head against the fix commit,
so a fixture whose fix landed after other commits to the same files shows those hunks too
(pr-57 15 of 29 hunks, pr-55 5 of 17, pr-59 2 of 5 lie outside the seeder's fix regions).

Co-Authored-By: Claude Fable 5.1 <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

notes:fixes Noted in "Bug fixes" section notes:ready Indicates Ready for Release notes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant