Skip to content

revert(aws/cdk): drop unnecessary aws-cdk CLI floor bump from #370 - #382

Closed
joshuali925-osdbot wants to merge 1 commit into
opensearch-project:mainfrom
joshuali925-osdbot:bot/370-revert-aws-cdk-cli-floor
Closed

revert(aws/cdk): drop unnecessary aws-cdk CLI floor bump from #370#382
joshuali925-osdbot wants to merge 1 commit into
opensearch-project:mainfrom
joshuali925-osdbot:bot/370-revert-aws-cdk-cli-floor

Conversation

@joshuali925-osdbot

Copy link
Copy Markdown
Contributor

What

Reverts one change from #370 that is not tied to any Dependabot alert: the aws-cdk (CLI) devDependency floor bump ^2.1132.0^2.1133.0 in aws/cdk.

Why it's unnecessary

Requested in #370 review — check the CVE PR for unnecessary changes.

The aws/cdk alerts #370 set out to clear were:

The aws-cdk CLI floor bump clears neither. It's also a no-op for the resolved tree: both the pre-PR and post-PR lockfiles already resolve aws-cdk to 2.1133.0, and ^2.1132.0 continues to permit 2.1133.0. So this only narrows the manifest floor without changing what gets installed.

Change

   "devDependencies": {
     "@types/node": "^25.5.0",
-    "aws-cdk": "^2.1133.0",
+    "aws-cdk": "^2.1132.0",
     "esbuild": "^0.28.1",

Lockfile mirrors the same range; resolved aws-cdk stays 2.1133.0 (matches base), so no install/CI behavior changes.

Not reverted (verified necessary / intended)

  • requires-python >=3.9>=3.10 in examples/plain-agents/weather-agent: necessary. Reverting it makes uv lock unsatisfiable — the CVE constraint starlette>=1.3.1 forces fastapi>=0.129.0, which requires Python >=3.10.
  • .github/dependabot.yml coverage-gap additions: intended part of chore(deps): clear 24 Dependabot alerts across aws/cdk, docs, examples #370 (documented as the "coverage gap" fix).
  • All astro/sharp/svgo/postcss/vite/esbuild bumps and overrides: each maps to a listed advisory.

…rch-project#370

PR opensearch-project#370 bumped the aws-cdk (CLI) devDependency floor from ^2.1132.0 to
^2.1133.0. This change is not tied to any Dependabot alert:

- fast-uri (opensearch-project#319, opensearch-project#321) was a transitive of aws-cdk-lib and is cleared by
  the aws-cdk-lib ^2.262.1 bump, not the CLI.
- esbuild GHSA-67mh-4wv8-2f99 (opensearch-project#180) is cleared by the esbuild ^0.28.1 bump.

The bump is also a no-op for the resolved tree: both the pre-PR and post-PR
lockfiles resolve aws-cdk to 2.1133.0 under either floor (^2.1132.0 already
permits 2.1133.0). Reverting keeps the CVE PR scoped to the changes that
actually clear alerts.

Signed-off-by: joshuali925-osdbot <joshuali925-osdbot@users.noreply.github.com>
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