Skip to content

Feat/kinesis e2e infra#6693

Closed
ekjotmultani wants to merge 29 commits intomainfrom
feat/kinesis-e2e-infra
Closed

Feat/kinesis e2e infra#6693
ekjotmultani wants to merge 29 commits intomainfrom
feat/kinesis-e2e-infra

Conversation

@ekjotmultani
Copy link
Copy Markdown
Member

Issue #, if available:

Description of changes:

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

@ekjotmultani ekjotmultani changed the base branch from main to feat/amplify-foundation-dart-minimal February 27, 2026 20:28
@ekjotmultani ekjotmultani marked this pull request as ready for review February 27, 2026 20:32
@ekjotmultani ekjotmultani requested a review from a team as a code owner February 27, 2026 20:32
@ekjotmultani ekjotmultani force-pushed the feat/kinesis-e2e-infra branch from 0a451d4 to a04df03 Compare March 4, 2026 05:56
ekjotmultani and others added 24 commits March 5, 2026 23:36
Adds the foundational package with minimal constructs needed for
the Kinesis client libraries:
- AmplifyException base class
- AWSCredentialsProvider<T> and AWSCredentials sealed hierarchy
- Logger interface with AmplifyLogger implementation
- LogLevel enum
- Result<T, E> sealed type
Provides V2CredentialsProviderBridge to bridge aws_common (V2)
credentials to amplify_foundation_dart (V3) credentials.
Shared by kinesis client packages to avoid duplicating bridge logic.
…plify backend

Provisions Kinesis Data Stream, Firehose delivery stream, IAM user,
and Secrets Manager secret via an Amplify Gen 2 backend using
backend.createStack() to access CDK directly — no auth or other
Amplify categories needed.

Removes the standalone KinesisTestStack and KinesisTestResources
construct from infra/, along with references in the main integ stack
and GitHub stack.
- Revert unrelated whitespace changes to infra/lib/stack.ts and
  infra/lib/github/github.ts
- Replace manual pubspec_overrides.yaml with aft bootstrap
- Update workflow to match repo conventions (action versions,
  submodule init, log_cw_metric_wrapper, timeout, defaults)
- Remove IAM user, access key, and Secrets Manager secret from
  backend.ts (credentials managed outside stack)
…lid category list in log_cw_metric so that\nthe kinesis package working directory is recognized by the CI\nmetric logging step."
…e same pattern as Analytics/Pinpoint and the Android KDS\nlibrary: include auth (Cognito) in the backend and grant the\nauthenticated IAM role permissions to Kinesis/Firehose resources.\n\nThis replaces the custom Secrets Manager credential injection with\nthe standard fetch_backends workflow pattern, making E2E tests use\nCognito-authenticated credentials like real customers would.\n\n- Add auth resource with pre-sign-up auto-confirm trigger\n- Grant authenticatedUserIamRole Kinesis and Firehose permissions\n- Rewrite E2E workflow to use fetch_backends composite action\n- Remove custom KINESIS_E2E secret fetching from workflow"
@ekjotmultani ekjotmultani force-pushed the feat/kinesis-e2e-infra branch from a04df03 to 18f1e9f Compare March 6, 2026 08:01
…ory.kinesis so deploy_gen2.dart can deploy the kinesis\nbackend and upload amplify_outputs.dart to S3. The kinesis backend\nshares its config with both aws_kinesis_datastreams and\naws_amazon_firehose packages via sharedOutputs."
enforceSSL: true,
});

// --- IAM role for Firehose → S3 ---
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

I think this is unrelated to Kinesis. Can we handle this separately and remove from this PR?

Renames gen2 S3 buckets from `<category>-gen2-integ-<uuid>` to
`amplify-<category>-test-<uuid>` so they match the existing IAM
policy glob on the GitHub OIDC role without requiring a CDK deploy.
The dart_test.yaml skips e2e-tagged tests by default for local dev.
CI needs --run-skipped to override this.
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