Skip to content

refactor: move aws to sink-connectors and adjust release pipeline - #27

Merged
Prasanna-ramesh merged 7 commits into
mainfrom
refactor/sink-connectors-release
Dec 2, 2026
Merged

Prasanna-ramesh merged 7 commits into
mainfrom
refactor/sink-connectors-release

Conversation

@Prasanna-ramesh

@Prasanna-ramesh Prasanna-ramesh commented Dec 2, 2026 •

Copy link
Copy Markdown
Member

What

  • Move connectors/aws to sink-connectors/aws, next to source-connectors/. Package names are unchanged
  • CI runs only for the packages turbo reports as changed, plus the packages that depend on them. Each package runs as a matrix job of a reusable workflow (compile, lint, typecheck, test). A final ci job is the single status to require
  • New compile action (.github/actions/compile): installs the pinned extism-js, Bun and the dependencies, then runs a compile command. Other repositories can use it
  • Format with bun fmt (options in bunfig.toml) and require Bun 1.4.5. oxlint stays because Bun 1.4.5 has no built-in linter
  • Changesets ignore the private SDK until it is published

Summary by CodeRabbit

  • Improvements
    • Package-specific checks now run for affected packages and their dependents, with clearer reporting when checks fail or are cancelled.
    • Connector releases are handled through a consistent publishing process that includes downloadable WASM files and checksums.
  • Documentation
    • Updated AWS connector references to the sink-connectors directory and added guidance on CI and compilation.
  • Chores
    • Updated the minimum supported Bun version to 1.4.5.

Mirrors source-connectors/. Package names are unchanged, so an empty changeset keeps the changeset check green without a release.
turbo finds the changed packages and their dependents, and each one runs as a matrix job of a reusable workflow. The compile action installs extism-js, Bun and the dependencies, so other repositories can use it.
Loops over sink-connectors and source-connectors, so new connectors need no workflow change. Packages still at 0.0.0 are skipped.
Moves the formatter options from oxfmt.config.ts into bunfig.toml. bun fmt differs from the old formatter in two union types in mock-host.ts and one tsconfig. Bun has no built-in linter yet, so oxlint stays.
The SDK is private for now. Drop the ignore entry when it is published.
@coderabbitai

coderabbitai Bot commented Dec 2, 2026 •

Copy link
Copy Markdown

Explain Change →

Warning

Review limit reached

You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository.

Next included review available in 53 minutes.

Check out review usage here.

View limit details

Limit details: You’ve used the included review currently available.

Learn how review limits work.

Review configuration:

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 401de967-3ced-41f3-a5a6-17c0695ca183
Commits

Reviewing files that changed from the base of the PR and between 5009224 and 54a3e02.

Files selected for processing: 2

  • .changeset/personio-source.md
  • scripts/release.ts

No actionable comments were generated in the recent review.

Walkthrough

The changes move the AWS connector into the sink-connectors workspace path and update workspace tooling. They add reusable compile and package-check workflows, select affected packages for pull request CI, and move connector release handling into a script.

Changes: Package CI and release automation

Layer / File(s) Summary
Workspace and tooling foundation
.changeset/*, README.md, bunfig.toml, connectors/aws/tsconfig.json, oxfmt.config.ts, package.json, packages/connector-sdk/lib/test/mock-host.ts, scripts/tsconfig.json, sink-connectors/aws/tsconfig.json, turbo.json
The workspace glob and AWS connector references now use sink-connectors. The changes update Bun versions, formatter settings, TypeScript configuration, Turbo global dependencies, and Changesets configuration. The connector SDK mock types are reformatted without type or behavior changes.
Compile action and package checks
.github/actions/compile/action.yml, .github/workflows/package-ci.yml, README.md
A composite action verifies and installs extism-js, sets up Bun, installs dependencies, and runs a configurable compile command. A reusable workflow compiles, lints, typechecks, and tests a selected package. The README documents the action and CI behavior.
Affected-package pull request checks
scripts/affected-packages.ts, .github/workflows/pr.yml, .changeset/config.json, .changeset/sink-connectors-folder.md
The affected-package script emits package names and paths. The PR workflow runs package checks for detected packages and uses an always-running status job to report failures or cancellations. Changeset checks now require successful CI and skip cancelled or release-branch workflows.
Connector release automation
.github/workflows/release.yml, scripts/release.ts
The release workflow pins Bun and invokes the compile action and release script. The script checks connector versions and release tags, creates WASM hash files, and creates GitHub releases unless --dry-run is set.

Estimated code review effort: 3 (Moderate) | ~30 minutes

Change: Other

Sequence Diagram(s)

sequenceDiagram
  participant PRWorkflow
  participant AffectedPackagesScript
  participant PackageMatrix
  participant PackageCI
  PRWorkflow->>AffectedPackagesScript: Query affected packages
  AffectedPackagesScript-->>PRWorkflow: Emit package names and paths
  PRWorkflow->>PackageMatrix: Create jobs for detected packages
  PackageMatrix->>PackageCI: Run checks for each package
Loading
Merge Risk: Minimal · previous review 50092 · assessed changes only

Path filters excluded changed files. This rating applies only to the assessed changes.

Pre-merge checks: Passed 4

Check name Status Explanation
Title check Passed The title says the PR refactors the AWS connector into sink-connectors and adjusts the release pipeline. The summary confirms both: connectors/aws moves to sink-connectors/aws, and release.ts, affecte…
Linked Issues check Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check Passed Check skipped because no linked issues were found for this pull request.
Description Check Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Full details: Title check

Explanation

The title says the PR refactors the AWS connector into sink-connectors and adjusts the release pipeline. The summary confirms both: connectors/aws moves to sink-connectors/aws, and release.ts, affected-packages.ts, and the release workflow change. The title names the main change and the secondary change, and it is short and specific. It omits the CI and formatting changes, which the title does not need to cover.

Finishing Touches

Generate unit tests (beta)

  • Commit to this branch
  • Create a new PR
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

Recent review info

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 7fe0758e-9469-43e8-8e72-98a6e8518275
Commits

Reviewing files that changed from the base of the PR and between 14b583e and 5009224.

Files ignored due to path filters: 1

  • bun.lock is excluded by !**/*.lock
Files selected for processing: 52

  • .changeset/config.json
  • .changeset/sink-connectors-folder.md
  • .github/actions/compile/action.yml
  • .github/workflows/package-ci.yml
  • .github/workflows/pr.yml
  • .github/workflows/release.yml
  • README.md
  • bunfig.toml
  • connectors/aws/tsconfig.json
  • oxfmt.config.ts
  • package.json
  • packages/connector-sdk/lib/test/mock-host.ts
  • scripts/affected-packages.ts
  • scripts/release.ts
  • scripts/tsconfig.json
  • sink-connectors/aws/CHANGELOG.md
  • sink-connectors/aws/README.md
  • sink-connectors/aws/bunfig.toml
  • sink-connectors/aws/docker-compose.yml
  • sink-connectors/aws/e2e/account-acctions.create.test.ts
  • sink-connectors/aws/e2e/account-actions.lifecycle.test.ts
  • sink-connectors/aws/e2e/entitlements.test.ts
  • sink-connectors/aws/package.json
  • sink-connectors/aws/src/account-actions/create.ts
  • sink-connectors/aws/src/account-actions/delete.ts
  • sink-connectors/aws/src/account-actions/disable.ts
  • sink-connectors/aws/src/account-actions/enable.ts
  • sink-connectors/aws/src/account-actions/read.ts
  • sink-connectors/aws/src/aws-connector.ts
  • sink-connectors/aws/src/entitlements/iam-user-groups/discover.test.ts
  • sink-connectors/aws/src/entitlements/iam-user-groups/discover.ts
  • sink-connectors/aws/src/entitlements/iam-user-groups/grant.ts
  • sink-connectors/aws/src/entitlements/iam-user-groups/read.ts
  • sink-connectors/aws/src/entitlements/iam-user-groups/revoke.ts
  • sink-connectors/aws/src/utils/arn.ts
  • sink-connectors/aws/src/utils/aws-endpoints.ts
  • sink-connectors/aws/src/utils/client.ts
  • sink-connectors/aws/src/utils/iam.ts
  • sink-connectors/aws/src/utils/password.test.ts
  • sink-connectors/aws/src/utils/password.ts
  • sink-connectors/aws/src/utils/region.test.ts
  • sink-connectors/aws/src/utils/region.ts
  • sink-connectors/aws/src/utils/request-handler.ts
  • sink-connectors/aws/src/utils/role-config.ts
  • sink-connectors/aws/src/utils/username.test.ts
  • sink-connectors/aws/src/utils/username.ts
  • sink-connectors/aws/src/xml-parser.plugin.ts
  • sink-connectors/aws/test-setup.ts
  • sink-connectors/aws/tsconfig.app.json
  • sink-connectors/aws/tsconfig.json
  • sink-connectors/aws/tsconfig.test.json
  • turbo.json
Files with no reviewable changes: 2

  • connectors/aws/tsconfig.json
  • oxfmt.config.ts

Included review availability: This review used your included allowance. Your plan provides up to 1 included review per hour; 0 remain after this review.

It was added at 0.0.0 without a changeset, so the release script skips it.
The changeset check already covers unversioned connectors, so the release script no longer skips them.
@Prasanna-ramesh
Prasanna-ramesh merged commit 45db72f into main Dec 2, 2026
7 checks passed
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.

1 participant