Skip to content

[pull] main from jsr-io:main - #128

Merged
pull[bot] merged 3 commits into
code:mainfrom
jsr-io:main
Aug 27, 2026
Merged

[pull] main from jsr-io:main#128
pull[bot] merged 3 commits into
code:mainfrom
jsr-io:main

Conversation

@pull

@pullpullBot commented Aug 27, 2026

Copy link
Copy Markdown

See Commits and Changes for more details.


Created by pull[bot] (v2.0.0-alpha.4)

Can you help keep this open source service alive? 💖 Please sponsor : )

…ecting (#1538)
Since #1473, docs are only served for the latest version of a package.
The package overview route also requests docs, so visiting
`/@scope/pkg@version` for any non-latest version got
`docsOnlyForLatestVersion` from the API and 302'd to
`/@scope/pkg/doc/all_symbols` — making version pages unreachable from
the Versions tab.
Now only the actual doc routes (entrypoint/symbol/all_symbols) redirect
to the latest version's docs; the package overview page fetches the
version's metadata and renders the header and nav for that version, with
a note that documentation is only available for the latest version.
This also fixes the `TypeError: b.subitems is not iterable` crash in the
local symbol search island reported in the issue: since #1518, module
docs can contain an `example` section, but the island cast every section
to `namespace_section` and iterated `symbol.subitems`. Sections other
than `namespace_section` are now skipped when building the search index
and when filtering results.
Fixes#1537
The `docker-images` job takes ~12 minutes on every merge queue run
because its Docker layer cache never hits: GHA caches are branch-scoped,
and `merge_group` runs execute on transient `gh-readonly-queue/...`
refs, so the cache written there is deleted along with the ref and is
never readable by later runs. The only runs that could write a cache
readable by everyone (pushes to `main`) skip the build entirely due to
the image-reuse optimization — there are currently zero caches on
`refs/heads/main`.
As a result every merge queue run pays ~7:20 compiling all dependencies
from scratch, plus ~2:30 exporting a ~1.4GB GHA cache into a black hole.
That garbage has also pushed the repo past the 10GB Actions cache quota
(11GB currently), evicting the useful `rust-cache` entries for the
`check`/`test` jobs.
This switches the build cache to a registry cache stored as a
`:buildcache` tag next to the images in Artifact Registry, which is
shared across all refs. `image-manifest=true,oci-mediatypes=true` is
required for Artifact Registry to accept the cache manifest. No new
permissions are needed — the job already pushes image tags to the same
registry path.
Expected impact: after the first (still cold) run seeds the cache,
`docker-images` should drop from ~12 min to ~3–4 min whenever
`Cargo.lock`/`Cargo.toml` are unchanged, shortening the merge queue's
critical path since `staging` waits on this job.
Fixes#155Fixes#615Fixes#886Fixes#1179Fixes#1258Fixes#1478
Upgrades deno_graph 0.110.2 → 0.111.0 and deno_doc 0.206.0 → 0.207.0,
picking up the slow-types / d.ts generation fixes from
denoland/deno_graph#667 and the docs-side type inference fix from
denoland/deno_doc#852:
- **#615**: object properties referencing functions get `typeof fn` in
the generated d.ts instead of an untyped (implicit `any`) property.
- **#886 / #1179**: `[Symbol.iterator]`, `[Symbol.dispose]` and other
well-known symbol class members are no longer dropped from the generated
d.ts.
- **#1258**: spread elements in `as const` arrays are no longer silently
dropped from the emitted tuple type (d.ts side, deno_graph) and no
longer render as `any[]` on doc pages (docs side, deno_doc). Negative
number literals in tuples are also fixed.
- **#155**: `Object.freeze(... as const satisfies ...)` and
`new`-expressions of non-generic module-level classes no longer error
with missing-explicit-type.
Note these fixes apply at publish time — already-published versions keep
the d.ts/docs generated when they were published.
Also: deno_graph 0.111.0 removed the `unstable_text_imports` build
option (text imports are now always enabled in graph building), so the
three `BuildOptions` sites that passed `false` just drop the field.
deno_doc 0.206.0 → 0.207.0 touches only type inference
(`src/ts_type.rs`) — no `.hbs` template or ctx struct changes, so no
frontend JSX mirroring is needed. `cargo test npm::` (tarball specs)
passes unchanged; clippy clean.
@pullpullBot locked and limited conversation to collaborators Aug 27, 2026
@pull
pullBot merged commit bfa9d51 into code:mainAug 27, 2026
Sign up for freeto subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant

@crowlKats