fix: publish CDK npm package with OIDC #790
All Vouch review confidence checks passed
Residual risk 0.14 = Change Risk (0.36) × (1 − Review Confidence (0.60)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.36 · 181 lines diff across 2 files
Model 2 · Review Depth (DistilBERT)
Depth Score: 0.17 · 1 substantive comment(s)
Model 3 · Review Timing & Attention
Session adequacy: 100% · Reviewer familiarity: 35%
Bedrock Claude 3 · Risk Narration
(disconnected)
Groq Risk Narration
AWS Bedrock is currently disconnected. Generate high-confidence PR triage narration on-demand using Groq.
Model 1 · Change Risk Attribution
SHAP Weights
Diff Size
diff_size
0.311
Shallow Review Depth
shallow_review_depth
0.289
Real PR Conversation Timeline
1 comments
"Review active on #790"
general
weight: 0.35
joepeeples
Summary
datadog-cdk-constructs-v2from a GitHub-hosted runner using npm trusted publishing/OIDCversion.jsonbefore publishingValidation
yarn install --immutableyarn pre-compile,yarn compile, andyarn package:jsgit diff --checkCoordinated rollout
This is paired with ddoghq/serverless-ci#303, which removes the legacy Vault npm-token publication and keeps Go → PyPI → Maven → GitHub release ordering.
Before merging the pair and creating a release tag:
1. Create the protected
npm-publishGitHub environment and allow onlyv2-*tags.2. Configure the npm trusted publisher for package
datadog-cdk-constructs-v2, repositoryDataDog/datadog-cdk-constructs, workflowpublish.yml, and environmentnpm-publish.3. Use the next legitimate release as the end-to-end validation; confirm the npm publisher is GitHub Actions and that provenance is present before revoking the legacy token.
Jira: SVLS-10010
[SVLS-10010]: https://datadoghq.atlassian.net/browse/SVLS-10010?atlOrigin=eyJpIjoiNWRkNTljNzYxNjVmNDY3MDlhMDU5Y2ZhYzA5YTRkZjUiLCJwIjoiZ2l0aHViLWNvbS1KU1cifQ