Skip to content

ci: remove obsolete OTel layer publishing - #847

Merged
zhongkechen merged 2 commits into
mainfrom
ci/remove-otel-layer-workflow
Oct 26, 2026
Merged

zhongkechen merged 2 commits into
mainfrom
ci/remove-otel-layer-workflow

Conversation

@zhongkechen

@zhongkechen zhongkechen commented Oct 26, 2026 •

Copy link
Copy Markdown
Contributor

Issue #, if available

Related run: https://github.com/aws/aws-durable-execution-sdk-python/actions/runs/40258921654

Description of changes

The OTel plugin Lambda layer is no longer needed, but OTel releases still build and publish it. Remove its release/manual workflow, build and SDK-version resolution scripts, SDK pin, and dedicated tests. Remove the obsolete test path and pip bootstrap from the GitHub scripts workflow, and remove retired-layer references from the release guide and OTel README.

OTel PyPI publishing, wheel compatibility checks, and ADOT/community-layer integration remain configured.

Design

No design note needed: this retires tooling and adds no logic or public APIs. Net change: 875 lines removed, including 192 lines of layer build/version-resolution source; no public API changes.

Assumptions

The repository no longer needs to build or publish its SDK-specific OTel layer, as requested. No new service or runtime assumptions.

Decisions not covered by the issue or the design note

Remove the now-unused helper scripts and metadata alongside the workflow so releases no longer require maintaining a layer SDK pin.

Validation

  • hatch run test:all .github/scripts/tests packages/aws-durable-execution-sdk-python-otel/tests/test_package_metadata.py -q: 234 passed, one pre-existing failure in test_lintcommit.py::test_subject_uppercase. The same failure reproduces using the unchanged files from main (cf220e8f). All tests selected by the GitHub scripts workflow and all OTel metadata tests passed; the failing lint test is outside that workflow's test list.
  • All 14 remaining workflow YAML files parse; local workflow/action references and all 10 script test paths resolve.
  • OTel PyPI publishing remains configured; no references to the removed layer tooling remain.
  • Commit-message validation and git diff --check pass.

Checklist

  • No new logic branches; existing tests validate the remaining workflows and package metadata.
  • First-commit regression test is not applicable to retiring obsolete tooling.
  • Removed expectations: test_build_lambda_layer.py, test_resolve_layer_sdk_version.py, and test_layer_sdk_pin_matches_the_core_version_in_this_repository tested the deleted layer builder, resolver, and pin. Other expectations are unchanged.

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

@zhongkechen
zhongkechen marked this pull request as ready for review October 26, 2026 17:48
@zhongkechen
zhongkechen deployed to ai-pr-review-runtime October 26, 2026 17:48 — with GitHub Actions Active
@zhongkechen
zhongkechen deployed to ai-pr-review-runtime October 26, 2026 17:49 — with GitHub Actions Active
@github-actions

Copy link
Copy Markdown
Contributor

Codex AI review

No actionable findings or violations of CONTRIBUTING.md rules 1–9 found. The removal is self-contained; PyPI publishing and OTel compatibility checks remain configured. Residual test risk: tests and workflows were not executed during this read-only review.

Reviewed commit 758c7003a03e1ec9e489c63040a52db77a447836. Workflow run

@zhongkechen
zhongkechen requested a review from hln33 October 26, 2026 18:02
@zhongkechen
zhongkechen merged commit 7c16963 into main Oct 26, 2026
39 checks passed
@zhongkechen
zhongkechen deleted the ci/remove-otel-layer-workflow branch October 26, 2026 18:39
hln33 added a commit that referenced this pull request Oct 27, 2026
…6d890

Resolves a modify/delete conflict. #847 deleted
.github/workflows/lambda-layer-publish.yml on main. This PR bumped
two actions/setup-python pins in that file. The deletion wins, so the
file stays removed. The other nine workflow bumps are unchanged.

This branch was successfully deployed

1 active deployment
ai-pr-review-runtime — 758c7003 Deployed Oct 26, 2026 by zhongkechen via ai-pr-review / Codex review / Generate Codex review #2468
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