diff --git a/.github/workflows/ai-pr-review-address.yml b/.github/workflows/ai-pr-review-address.yml index 5bd13defb..2b6e25d79 100644 --- a/.github/workflows/ai-pr-review-address.yml +++ b/.github/workflows/ai-pr-review-address.yml @@ -23,10 +23,7 @@ jobs: contents: read issues: read pull-requests: read - uses: aws/aws-durable-execution-ci/.github/workflows/ai-work-item-resolver.yml@d6b017da14385908951d23e26c790b28a4e5f9f0 - with: - work-scope: review - upload-work-items: true + uses: aws/aws-durable-execution-ci/.github/workflows/ai-pr-review-address.yml@d6b017da14385908951d23e26c790b28a4e5f9f0 address: if: >- diff --git a/.github/workflows/conformance-tests.yml b/.github/workflows/conformance-tests.yml index 357fa8f97..06baa03f5 100644 --- a/.github/workflows/conformance-tests.yml +++ b/.github/workflows/conformance-tests.yml @@ -21,11 +21,10 @@ on: concurrency: # Runs share fixed per-suite stack names, so serialize the whole workflow - # with multiple pending runs to avoid concurrent CloudFormation updates on the + # (queue, don't cancel) to avoid concurrent CloudFormation updates on the # same stack -- mirrors e2e-tests.yml. group: conformance-tests cancel-in-progress: false - queue: max permissions: contents: read diff --git a/.github/workflows/e2e-tests.yml b/.github/workflows/e2e-tests.yml index 36f1341e3..e57070144 100644 --- a/.github/workflows/e2e-tests.yml +++ b/.github/workflows/e2e-tests.yml @@ -24,10 +24,8 @@ on: - 'pom.xml' concurrency: - # Shared stacks require serial deployment; preserve waiting runs from other PRs. group: e2e-tests cancel-in-progress: false - queue: max # permission can be added at job level or workflow level permissions: @@ -150,26 +148,6 @@ jobs: if [[ "$invariant_violated" == true ]]; then exit 1 fi - - name: Collect Lambda errors after failed E2E tests - if: failure() && env.E2E_LOG_START_TIME_MS != '' - env: - E2E_STACK_NAME: Java${{ matrix.java }}-JavaSDKCloudBasedIntegrationTestStack - run: | - set -euo pipefail - log_groups=$(aws cloudformation list-stack-resources \ - --stack-name "$E2E_STACK_NAME" \ - --query "StackResourceSummaries[?ResourceType=='AWS::Logs::LogGroup'].PhysicalResourceId" \ - --output text) - for log_group in $log_groups; do - echo "::group::Lambda errors: $log_group" - aws logs filter-log-events \ - --log-group-name "$log_group" \ - --start-time "$E2E_LOG_START_TIME_MS" \ - --filter-pattern '%ERROR|Error|Exception|timed.out|Invalid.suspension|not.active|already.registered%' \ - --limit 100 --no-paginate \ - --query 'events[].message' --output text - echo "::endgroup::" - done - name: Publish test case summary if: always() env: diff --git a/.github/workflows/otel-conformance-tests.yml b/.github/workflows/otel-conformance-tests.yml index f77472cd0..68b3bc3f2 100644 --- a/.github/workflows/otel-conformance-tests.yml +++ b/.github/workflows/otel-conformance-tests.yml @@ -53,11 +53,6 @@ on: permissions: {} -concurrency: - group: otel-conformance-tests - cancel-in-progress: false - queue: max - jobs: opentelemetry: # 1. Run for non-PR events, such as scheduled runs and manual invocations @@ -67,13 +62,13 @@ jobs: actions: write contents: read id-token: write - uses: aws/aws-durable-execution-conformance-tests/.github/workflows/opentelemetry-orchestrator.yml@98b802cdb172614f98e217f7464784d47b9bb484 + uses: aws/aws-durable-execution-conformance-tests/.github/workflows/opentelemetry-orchestrator.yml@43872f8d5dd917fe3ee6d01a6c953c1ff67c5fe4 with: language: java resource_prefix: j sdk_repository: aws/aws-durable-execution-sdk-java sdk_ref: ${{ github.event.pull_request.head.sha || github.sha }} - conformance_test_ref: ${{ inputs.conformance_test_ref || '98b802cdb172614f98e217f7464784d47b9bb484' }} + conformance_test_ref: ${{ inputs.conformance_test_ref || '02d6dca971a38c13d94d6233d12f687e55b2a572' }} checkout_sdk: true # Build the handlers from this repo's checked-out module instead of the conformance repo's # bundled examples/java. Path is relative to the conformance workspace where the SDK is diff --git a/AGENTS.md b/AGENTS.md index 6cc0114c9..7894488db 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -335,7 +335,6 @@ Run `mvn spotless:apply` after Java changes. Then run the narrowest relevant tes - [Error Handling](docs/advanced/error-handling.md) - [Logging](docs/advanced/logging.md) - [Migration from 1.x to 2.x](docs/migration-1.x-to-2.x.md) -- [Migration from 2.x to 3.x](docs/migration-2.x-to-3.x.md) ### Official AWS SDKs diff --git a/README.md b/README.md index c7e14c3d3..8b3184c63 100644 --- a/README.md +++ b/README.md @@ -119,7 +119,6 @@ See [Deploy Lambda durable functions with Infrastructure as Code](https://docs.a - [Error Handling](docs/advanced/error-handling.md) - SDK exceptions for handling failures - [Logging](docs/advanced/logging.md) - How to use DurableLogger - [Migrating from 1.x to 2.x](docs/migration-1.x-to-2.x.md) - Upgrade guide for breaking changes since `v1.2.1` -- [Migrating from 2.x to 3.x](docs/migration-2.x-to-3.x.md) - Upgrade guide for the factory-only, per-invocation plugin contract - [Release Process](RELEASE.md) - Prepare and publish Maven releases - [Testing](docs/advanced/testing.md) - Utilities for local development and cloud-based integration testing diff --git a/conformance-tests-otel/README.md b/conformance-tests-otel/README.md deleted file mode 100644 index 7f4c31312..000000000 --- a/conformance-tests-otel/README.md +++ /dev/null @@ -1,53 +0,0 @@ -# Java OpenTelemetry conformance handlers - -The shared conformance repository owns the requirements and validators. This -module supplies public-API handlers and SAM resources for both tracing views. -Existing cases 1–20 and their resources are unchanged by the additions below. - -| Case | Scenario | Behavior | -| --- | --- | --- | -| 21 | `completed-step-replay` | Complete a step, suspend on a one-second durable wait, then complete another step. The first step body is skipped on replay. | -| 22 | `user-function-context` | Probe handler entry/restoration/resume, step, child, concurrent parallel branches and map iterations, and their nested steps. | -| 23 | `callback-function-context` | Probe step retry attempts, condition checks, callback submission, a wrapped retry helper's body and strategy, and a virtual child after the asynchronous work finishes. | -| 24 | `invocation-retry-status` | Throw the public retryable execution exception after a checkpointed step, then recover on replay. | - -Cases 22 and 23 require a valid active `SpanContext` and create/end ordinary -`conformance.