Skip to content

Conversation

ezhang6811
Copy link
Contributor

@ezhang6811 ezhang6811 commented Aug 18, 2025

Issue #, if available:

Description of changes:
We plan to consolidate our ADOT SDK and Lambda layer releases for future versions. This PR merges the Lambda release workflow into the main release workflow, and publishes the layer artifacts and ARN notes to the same Github release as the SDK.

The release build workflow also now includes the SDK release notes with our upstream dependency versions to eliminate the manual effort needed when updating release notes.

Tested a modified version of this workflow in my personal work which updated an existing draft release without publishing any artifacts. The resulting release looks like this: https://github.com/ezhang6811/aws-otel-js-instrumentation/releases/tag/v2.0.0

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@ezhang6811 ezhang6811 requested a review from a team as a code owner August 18, 2025 20:59
Comment on lines 101 to 130
# Create release notes template
cat > release_notes.md << 'EOF'
This release contains the following upstream components:

- `@opentelemetry/api` - <dependency version number>
- `@opentelemetry/auto-configuration-propagators` - <dependency version number>
- `@opentelemetry/auto-instrumentations-node` - <dependency version number>
- `@opentelemetry/core` - <dependency version number>
- `@opentelemetry/exporter-metrics-otlp-grpc` - <dependency version number>
- `@opentelemetry/exporter-metrics-otlp-http` - <dependency version number>
- `@opentelemetry/exporter-trace-otlp-proto` - <dependency version number>
- `@opentelemetry/exporter-zipkin` - <dependency version number>
- `@opentelemetry/id-generator-aws-xray` - <dependency version number>
- `@opentelemetry/instrumentation` - <dependency version number>
- `@opentelemetry/instrumentation-aws-sdk` - <dependency version number>
- `@opentelemetry/propagator-aws-xray` - <dependency version number>
- `@opentelemetry/resource-detector-aws` - <dependency version number>
- `@opentelemetry/resources` - <dependency version number>
- `@opentelemetry/sdk-metrics` - <dependency version number>
- `@opentelemetry/sdk-node` - <dependency version number>
- `@opentelemetry/sdk-trace-base` - <dependency version number>
- `@opentelemetry/semantic-conventions` - <dependency version number>
- `<ANY NEW DEPENDENCIES>` - <new dependency version number>

This release also publishes to public ECR and NPM.
* See ADOT node auto-instrumentation Docker image v${{ github.event.inputs.version }} in our public ECR repository:
https://gallery.ecr.aws/aws-observability/adot-autoinstrumentation-node
* See version ${{ github.event.inputs.version }} in our NPM repository:
https://www.npmjs.com/package/@aws/aws-distro-opentelemetry-node-autoinstrumentation
EOF

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we auto-generate this? Is it really necessary to have an engineer add all this?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

updated to automate.

wangzlei
wangzlei previously approved these changes Aug 22, 2025
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.

3 participants