Skip to content

chore(deps): upgrade dev dependencies#1897

Open
cdklabs-automation wants to merge 1 commit into
mainfrom
github-actions/upgrade-dev-deps-main
Open

chore(deps): upgrade dev dependencies#1897
cdklabs-automation wants to merge 1 commit into
mainfrom
github-actions/upgrade-dev-deps-main

Conversation

@cdklabs-automation

@cdklabs-automation cdklabs-automation commented Jun 15, 2026

Copy link
Copy Markdown
Collaborator

Upgrades project dependencies. See details in workflow run.


Automatically created by projen via the "upgrade-dev-deps-main" workflow

@cdklabs-automation
cdklabs-automation force-pushed the github-actions/upgrade-dev-deps-main branch 2 times, most recently from f757efe to b063846 Compare June 29, 2026 22:27
@cdklabs-automation
cdklabs-automation force-pushed the github-actions/upgrade-dev-deps-main branch from b063846 to d24fddf Compare July 6, 2026 22:30
@rix0rrr

rix0rrr commented Jul 7, 2026

Copy link
Copy Markdown
Collaborator

Doesn't build because of an issue with the new types of streamx: mafintosh/streamx#124

@cdklabs-automation
cdklabs-automation force-pushed the github-actions/upgrade-dev-deps-main branch from 3b89b23 to 9294257 Compare July 13, 2026 22:22
@sanjanaravikumar-az

Copy link
Copy Markdown

Root Cause

This upgrade PR bumped streamx ^2.27.0^2.28.0. streamx 2.28.0 ships new TypeScript type definitions that are incompatible with Node's built-in stream types (upstream: mafintosh/streamx#124). This breaks the jsii compile of src/backend/shared/tarball.lambda-shared.ts:

  • TS2345: Gunzip is not assignable to Writable<WritableEvents>
  • TS2339: Property 'pipe' does not exist on type 'Writable<WritableEvents>'
  • TS7006: implicit any on the .on('entry', ...) callback parameters

That failing build check is why auto-merge stayed blocked.

Fix

Pinned streamx to ~2.27.0 in .projenrc.ts. This reverts only the streamx bump; the other dependency upgrades in this PR are unaffected. projen regenerates package.json / yarn.lock / .projen/* on the next build (self-mutation).

Verified locally: reproduced the 6 compile errors on 2.28.0, then confirmed a clean jsii compile + bundles (.jsii produced) on 2.27.0, with no projen drift.

This pin is temporary tech debt — once mafintosh/streamx#124 is resolved, the pin should be removed and @types/streamx dropped (streamx will then ship its own types).

@sanjanaravikumar-az

Copy link
Copy Markdown

Root Cause — Update (build-fix completion)

The initial .projenrc.ts streamx pin fixed the jsii compile, but the build check then failed at a second, packaging-level step (not a new dependency issue):

build » default (projen synth) runs a frozen postSynthesize install (yarn install --frozen-lockfile). Because only .projenrc.ts had been committed, synth regenerated package.json to streamx@~2.27.0 while the committed yarn.lock still pinned 2.28.0:

error Your lockfile needs to be updated, but yarn was run with `--frozen-lockfile`.
Task "build » default" failed when executing "ts-node ... .projenrc.ts"

Fix: also committed the regenerated package.json (streamx@~2.27.0). The build job's non-frozen yarn install --check-files step reconciles yarn.lock on disk before the frozen postSynthesize install, so build » default now passes. The remaining generated artifacts (yarn.lock, .projen/*, and test snapshots) are refreshed and committed by the build's self-mutation step.

Validated locally on the branch head: reproduced the frozen-install failure, confirmed CI=true npx projen (the failing step) exits 0, and a full npx projen build is green (45/45 test suites, 236 tests, eslint clean, jsii-pacmak packaged).

Upgrades project dependencies. See details in [workflow run].

[Workflow Run]: https://github.com/cdklabs/construct-hub/actions/runs/29783608692

------

*Automatically created by projen via the "upgrade-dev-deps-main" workflow*

Signed-off-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
@cdklabs-automation
cdklabs-automation force-pushed the github-actions/upgrade-dev-deps-main branch from 451ee5a to e7956ac Compare July 20, 2026 22:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants