Skip to content

Lock Prettier for formatting checks - #72

Merged
charliermarsh merged 6 commits into
mainfrom
agent/disable-prettier-install-scripts
Aug 27, 2026
Merged

charliermarsh merged 6 commits into
mainfrom
agent/disable-prettier-install-scripts

Conversation

@zanieb

@zanieb zanieb commented Aug 18, 2026 •

Copy link
Copy Markdown
Contributor

The formatting job downloads prettier through npx without a committed lockfile. Record the existing [email protected] in a private npm manifest and lockfile, disable dependency lifecycle scripts by default, and invoke the installed binary. Require npm>=11.10.0 through engines.npm and engine-strict so older clients cannot silently ignore the seven-day min-release-age policy for new resolutions, and pin Node.js to 24.19.0 in CI. Formatter updates now have a reviewable version and integrity change instead of happening during CI. Enable Renovate for the root formatter manifest so its locked versions continue to receive updates under the shared policy.

Related: astral-sh/hawk#161 and astral-sh/uv#21193 cover the corresponding prettier consumption paths. astral-sh/internal-dev#61 records the equivalent locked tool environment for bun.

@zanieb zanieb changed the title Disable install scripts when running Prettier Lock Prettier for formatting checks Aug 18, 2026
@charliermarsh
charliermarsh marked this pull request as ready for review August 24, 2026 15:45
@charliermarsh
charliermarsh enabled auto-merge (squash) August 24, 2026 15:45
@charliermarsh
charliermarsh merged commit db9e18b into main Aug 27, 2026
3 checks passed
@charliermarsh
charliermarsh deleted the agent/disable-prettier-install-scripts branch August 27, 2026 17:48
charliermarsh added a commit that referenced this pull request Aug 30, 2026
Prepare Ohm 1.98.0 revision 4 with incremental Clippy diagnostics,
per-item visibility inputs, streamed well-formedness obligations, and
the shared registry cache deadlock repair. Pin the compiler stack
through [ohm-rust#75](astral-experiments/ohm-rust#75),
including [#72](astral-experiments/ohm-rust#72), the
Cargo stack through
[ohm-cargo#100](astral-experiments/ohm-cargo#100), and
the Clippy stack through
[ohm-rust-clippy#49](astral-experiments/ohm-rust-clippy#49).
Preserve the existing rustfmt pin and align the compiler's Cargo gitlink
with the manifest.

Add the versioned manifest, select it by default, update installation
examples, and refresh the upstream-change document. Clippy now caches 56
audited passes covering 62 lint kinds. The Cargo lock repair changes the
shared-cache namespace, so the first build repopulates affected
artifacts and unchanged builds may incur additional lock-preparation
overhead.

Keep the component PRs open for review in one GitHub stack per
repository. The unmeasured parallel query-cache promotion experiment in
ohm-rust#66 remains above the selected compiler pin and outside this
release. Preserve all historical manifests and published benchmark
results; the existing performance figures remain labeled as Ohm 1.98.0-3
measurements.
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.

2 participants