Skip to content

Containerize baton-segment connector#9

Draft
laurenleach wants to merge 10 commits intomainfrom
containerize-baton-segment
Draft

Containerize baton-segment connector#9
laurenleach wants to merge 10 commits intomainfrom
containerize-baton-segment

Conversation

@laurenleach
Copy link

Containerizes the connector following baton-databricks#35 and baton-contentful#48.

Co-Authored-By: Claude Sonnet 4.5 noreply@anthropic.com

- Update baton-sdk to v0.7.10
- Create pkg/config package with generated configuration
- Update main.go to use config.RunConnector API
- Update connector to use V2 interface
- Update Makefile for config generation and lambda support
- Update GitHub workflows

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
@laurenleach laurenleach requested a review from a team January 29, 2026 23:17
@coderabbitai
Copy link

coderabbitai bot commented Jan 29, 2026

Important

Review skipped

Draft detected.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

  • 🔍 Trigger a full review
✨ Finishing touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch containerize-baton-segment

Comment @coderabbitai help to get the list of available commands and usage tips.

…torBuilderV2

- Add WithDefaultCapabilitiesConnectorBuilderV2 to main.go for capabilities generation
- Add nil client check in Validate method to skip validation during capabilities/config generation
- Add BATON_TOKEN environment variable to capabilities workflow
- Rename workflow file to capabilities_and_config.yaml following the standard pattern
- Run go mod tidy to clean up dependencies

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
@laurenleach laurenleach marked this pull request as draft February 3, 2026 20:08
laurenleach and others added 8 commits February 3, 2026 12:32
Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
Remove COMMIT_MSG.txt, CONTAINERIZATION_COMPLETE.md, and finish_containerization.sh
which were temporary files used during the containerization process.

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
- Add version: "2" to .golangci.yml for golangci-lint v2 compatibility
- Remove unused annotations imports from users.go and workspace.go

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
WithDefaultCapabilitiesConnectorBuilderV2 enables capabilities generation
without credentials. Original workflow had no secrets.

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
typecheck is built-in to golangci-lint v2 and cannot be explicitly enabled.

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
Config file is in v1 format, not v2. Using version: 1 to satisfy
newer golangci-lint requirement for explicit version.

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
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