Skip to content

docs: propagate fixes from develop (2026-06-25)#13133

Draft
Planeshifter wants to merge 3 commits into
developfrom
philipp/fix-propagation-2026-06-25
Draft

docs: propagate fixes from develop (2026-06-25)#13133
Planeshifter wants to merge 3 commits into
developfrom
philipp/fix-propagation-2026-06-25

Conversation

@Planeshifter

@Planeshifter Planeshifter commented Jun 25, 2026

Copy link
Copy Markdown
Member

Description

Propagating fixes merged to develop between 2026-06-24 23:26 PDT and 2026-06-25 03:24 PDT to sibling packages.

docs: submode default value

Propagates the JSDoc correction from commits 1977f92 and 3db7157: the submode option default was documented as ['throw'] but the runtime sets it to [options.mode]. Updated TypeScript declaration files to match.

Affected packages:

  • @stdlib/ndarray/array
  • @stdlib/ndarray/ctor
  • @stdlib/ndarray
  • @stdlib/ndarray/ndarraylike2ndarray

chore: manifest.json indentation

Propagates the fix from d9e748f (PR #13115), which corrected 7-space-indented dependencies entries in ceil10/manifest.json that should use 8 spaces to match the surrounding array. The same off-by-one defect appears in 11 sites across 6 sibling packages.

Affected packages:

  • @stdlib/math/base/special/floor10
  • @stdlib/math/base/special/truncsd
  • @stdlib/math/base/special/ceilsd
  • @stdlib/math/base/special/digamma
  • @stdlib/math/base/special/besselj1
  • @stdlib/math/base/special/csch

Related Issues

None.

Questions

No.

Other

Validation. Each target file was read in full by two independent validation passes to confirm the defect is present and surrounding context does not change the semantics. A style-consistency pass confirmed each proposed patch matches the surrounding package's JSDoc / JSON style. Search scope: lib/node_modules/@stdlib/**/*.d.ts for the submode default and lib/node_modules/@stdlib/**/manifest.json for the indent defect.

Deliberately excluded.

  • The other fix: candidate in the 24h window (92b5eb47 — error-message argument interpolation in ndarray/matrix/ctor/lib/main.js) had no remaining sibling sites: a sweep across all ndarray/**/main.js files confirmed every <ordinal> argument validation block matches its argN reference.
  • The e6cc42b typo / C-example fix had no remaining propagation sites either: bare NaN as a C literal no longer appears in C code blocks or @example function-call arguments across the repo.
  • The build: workflow fix (7b03f88) targeted a single workflow with a unique gh api DELETE + force-with-lease push pattern; no other workflow uses that pattern.

Bot-generated docs (related-packages regen, namespace TOC, type-decl regen) were not considered since they re-emit on the next bot run.

Dropped after CI signal. The @stdlib/ndarray/fancy site was initially included but dropped (commit 9fb0955) — the file's pre-existing @example blocks reference an undeclared FancyArray symbol, which fails stdlib/tsdoc-declarations-doctest whenever the file enters CI's changed-files set. The doctest failure is unrelated to the propagation; the submode default in that file remains at ['throw'] until the FancyArray example issue is resolved separately.

Checklist

AI Assistance

  • Yes
  • No

If you answered "yes" above, how did you use AI assistance?

  • Code generation (e.g., when writing an implementation or fixing a bug)
  • Test/benchmark generation
  • Documentation (including examples)
  • Research and understanding

Disclosure

This PR was authored by Claude Code running the fix-propagation routine, which scans recent develop commits, identifies propagatable defect patterns, validates candidate target sites through independent agents, and applies mechanical fixes. Each propagation site was verified to contain the same defect as the source commit's fix.


@stdlib-js/reviewers

claude added 3 commits June 25, 2026 13:20
…ations

Propagates fix from 1977f92 ("docs: update documented default value
for `submode` option") and 3db7157 ("docs: update documented `submode`
option default") to TypeScript declaration files in `ndarray/*` packages
where JSDoc still annotated the `submode` default as `['throw']`.
The runtime default is `[options.mode]` per `ndarray/ctor/lib/main.js`.
Propagates fix from d9e748f ("chore: fix EditorConfig lint errors") to
sibling `math/base/special/*` packages whose `manifest.json` files
contained a `dependencies` array entry indented with 7 leading spaces
while sibling entries use 8.
Drops the `submode` JSDoc default propagation in `ndarray/fancy/docs/types/index.d.ts`. The file's pre-existing `@example` blocks reference an undeclared `FancyArray` symbol, which fails the `stdlib/tsdoc-declarations-doctest` rule whenever the file enters CI's changed-files set. The pre-existing failure is unrelated to the propagation pattern; the JSDoc default in this file remains at `['throw']` for now and should be fixed alongside the `FancyArray` example resolution.
@stdlib-bot

stdlib-bot commented Jun 25, 2026

Copy link
Copy Markdown
Contributor

Coverage Report

Package Statements Branches Functions Lines
math/base/special/besselj1 $\\color{red}507/515$
$\\color{green}+98.45\\%$
$\\color{red}42/48$
$\\color{green}+87.50\\%$
$\\color{green}6/6$
$\\color{green}+100.00\\%$
$\\color{red}507/515$
$\\color{green}+98.45\\%$
math/base/special/ceilsd $\\color{green}219/219$
$\\color{green}+100.00\\%$
$\\color{green}27/27$
$\\color{green}+100.00\\%$
$\\color{green}2/2$
$\\color{green}+100.00\\%$
$\\color{green}219/219$
$\\color{green}+100.00\\%$
math/base/special/csch $\\color{green}164/164$
$\\color{green}+100.00\\%$
$\\color{green}5/5$
$\\color{green}+100.00\\%$
$\\color{green}2/2$
$\\color{green}+100.00\\%$
$\\color{green}164/164$
$\\color{green}+100.00\\%$
math/base/special/digamma $\\color{red}525/532$
$\\color{green}+98.68\\%$
$\\color{red}32/35$
$\\color{green}+91.43\\%$
$\\color{green}6/6$
$\\color{green}+100.00\\%$
$\\color{red}525/532$
$\\color{green}+98.68\\%$
math/base/special/floor10 $\\color{green}193/193$
$\\color{green}+100.00\\%$
$\\color{green}19/19$
$\\color{green}+100.00\\%$
$\\color{green}2/2$
$\\color{green}+100.00\\%$
$\\color{green}193/193$
$\\color{green}+100.00\\%$
math/base/special/truncsd $\\color{green}219/219$
$\\color{green}+100.00\\%$
$\\color{green}27/27$
$\\color{green}+100.00\\%$
$\\color{green}2/2$
$\\color{green}+100.00\\%$
$\\color{green}219/219$
$\\color{green}+100.00\\%$
ndarray/array $\\color{red}612/827$
$\\color{green}+74.00\\%$
$\\color{red}38/61$
$\\color{green}+62.30\\%$
$\\color{red}3/7$
$\\color{green}+42.86\\%$
$\\color{red}612/827$
$\\color{green}+74.00\\%$
ndarray/ctor $\\color{red}804/809$
$\\color{green}+99.38\\%$
$\\color{red}110/113$
$\\color{green}+97.35\\%$
$\\color{green}7/7$
$\\color{green}+100.00\\%$
$\\color{red}804/809$
$\\color{green}+99.38\\%$
ndarray $\\color{red}209378/390751$
$\\color{green}+53.58\\%$
$\\color{red}2416/2456$
$\\color{green}+98.37\\%$
$\\color{red}48/2040$
$\\color{green}+2.35\\%$
$\\color{red}209378/390751$
$\\color{green}+53.58\\%$
ndarray/ndarraylike2ndarray $\\color{green}143/143$
$\\color{green}+100.00\\%$
$\\color{red}7/8$
$\\color{green}+87.50\\%$
$\\color{green}1/1$
$\\color{green}+100.00\\%$
$\\color{green}143/143$
$\\color{green}+100.00\\%$

The above coverage report was generated for the changes in this PR.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants