Skip to content

feat: add Personio source connector and add the connector type to package names - #26

Merged
Prasanna-ramesh merged 1 commit into
mainfrom
feat/personio-source-connector
Dec 1, 2026
Merged

Prasanna-ramesh merged 1 commit into
mainfrom
feat/personio-source-connector

Conversation

@Prasanna-ramesh

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

Copy link
Copy Markdown
Member

Summary by CodeRabbit

  • New Features
    • Added a Personio connector that lists employees and maps their employment details, status, and available identity information.
    • Added support for including source connectors as workspace packages.
  • Bug Fixes
    • Improved request matching so connector requests must match the declared path structure; unmatched paths are denied.
  • Documentation
    • Added Personio setup and configuration guidance, and updated the connector list.
  • Chores
    • Updated the AWS connector package name to @open-iga/aws-sink.

@coderabbitai

coderabbitai Bot commented Dec 1, 2026 •

Copy link
Copy Markdown

Explain Change →

No actionable comments were generated in the recent review.

Walkthrough

This change adds a Personio source connector that authenticates with client credentials, lists paginated employees and employment data, and maps records to identities. It adds parameterized endpoint matching and updates workspace, documentation, and test setup. It also renames the AWS package and release tag.

Changes: Personio source connector

Layer / File(s) Summary
Parameterized endpoint matching
packages/connector-sdk/lib/test/mock-fetch.ts, packages/connector-sdk/lib/test/mock-fetch.test.ts
The fetch proxy matches declared paths with non-empty parameter segments. Tests cover empty parameters and paths with extra, missing, or unmatched segments.
Personio API schemas and client
source-connectors/personio/src/utils/schema.ts, source-connectors/personio/src/utils/client.ts
Adds schemas for token, person, employment, and paginated responses. Client helpers validate responses, build authorization headers, and obtain access tokens.
Employee identity listing
source-connectors/personio/src/utils/identity.ts, source-connectors/personio/src/identities/list.ts, source-connectors/personio/src/personio-connector.ts
Registers the connector and its employee-list handler. The handler fetches people and their latest employment, maps them to identities, and returns a next cursor when available.
Package setup and connector validation
package.json, source-connectors/personio/package.json, source-connectors/personio/tsconfig*.json, source-connectors/personio/e2e/identities.test.ts, source-connectors/personio/README.md, README.md
Adds the source-connector workspace and package configuration. Documentation describes setup and identity mapping; end-to-end tests cover pagination, mapping, response errors, and authentication.

AWS package rename

Layer / File(s) Summary
AWS package and release naming
connectors/aws/package.json, .changeset/source-connectors.md, .github/workflows/release.yml, connectors/aws/CHANGELOG.md
Changes the package name to @open-iga/aws-sink and updates the associated changeset target, release tag prefix, and changelog heading.

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

Change: Feature

Sequence Diagram(s)

sequenceDiagram
  participant EmployeeList as Employee list handler
  participant Token as getAccessToken
  participant API as Personio API
  participant Mapper as toIdentity
  EmployeeList->>Token: Request access token
  Token->>API: Post client credentials
  API-->>Token: Return validated access token
  EmployeeList->>API: Fetch person page
  API-->>EmployeeList: Return people and next cursor
  loop For each person
    EmployeeList->>API: Fetch latest employment
    API-->>EmployeeList: Return employment data
    EmployeeList->>Mapper: Convert person and employment
    Mapper-->>EmployeeList: Return identity
  end
Loading

Possibly related PRs

  • open-iga/plugins#24: Defines the source connector and identity-list contracts used by the Personio connector.
Merge Risk: Minimal · up to f7823 · 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
Description Check Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check Passed The title names two changes: adding the Personio source connector and adding the connector type to package names. The changeset covers both. The Personio connector files and the rename of @open-iga/aw…
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.
Full details: Title check

Explanation

The title names two changes: adding the Personio source connector and adding the connector type to package names. The changeset covers both. The Personio connector files and the rename of @open-iga/aws to @open-iga/aws-sink (package.json, CHANGELOG, release workflow, README) are present. The title is specific and matches the main change, so it passes. It does not mention the mock-fetch test helper changes, which is acceptable because the title need not cover every detail.

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: 9a2467b3-5856-43b9-88e1-3632db5a8ac3
Commits

Reviewing files that changed from the base of the PR and between 2f52851 and f7823dc.

Files ignored due to path filters: 1

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

  • .changeset/source-connectors.md
  • .github/workflows/release.yml
  • README.md
  • connectors/aws/CHANGELOG.md
  • connectors/aws/package.json
  • package.json
  • packages/connector-sdk/lib/test/mock-fetch.test.ts
  • packages/connector-sdk/lib/test/mock-fetch.ts
  • source-connectors/personio/README.md
  • source-connectors/personio/e2e/identities.test.ts
  • source-connectors/personio/package.json
  • source-connectors/personio/src/identities/list.ts
  • source-connectors/personio/src/personio-connector.ts
  • source-connectors/personio/src/utils/client.ts
  • source-connectors/personio/src/utils/identity.ts
  • source-connectors/personio/src/utils/schema.ts
  • source-connectors/personio/tsconfig.app.json
  • source-connectors/personio/tsconfig.json
  • source-connectors/personio/tsconfig.test.json

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

@Prasanna-ramesh
Prasanna-ramesh merged commit 14b583e into main Dec 1, 2026
3 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