Repository navigation
refactor(cloud): replace Speakeasy airbyte-api SDK with generated airbyte-server-models
#1148
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
Aaron ("AJ") Steers (aaronsteers)
wants to merge
12
commits into
release-candidate/v1
Choose a base branch
from
devin/1788993883-server-models-dep
base: release-candidate/v1
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
12 commits
Select commit
Hold shift + click to select a range
55ac0ab
build: require Python 3.11 and server models
devin-ai-integration[bot] 1b18ffd
feat(cloud): use generated config API models
devin-ai-integration[bot] 6a1eb17
refactor(cloud): drop getattr in organization info accessors
devin-ai-integration[bot] d239ce9
ci: authenticate private airbyte-ops-mcp git dep via Octavia bot app
devin-ai-integration[bot] 67111c9
fix: resolve ruff and pyrefly findings for py311 target
devin-ai-integration[bot] 9ce6244
fix(cloud): wrap invalid JSON Config API responses in AirbyteError
devin-ai-integration[bot] 9698a0b
Merge remote-tracking branch 'origin/release-candidate/v1' into devin…
devin-ai-integration[bot] 1f3a9a1
feat!: replace Speakeasy airbyte-api SDK with generated airbyte-serve…
devin-ai-integration[bot] 40f718a
fix: paginate lists by raw page size; wire private-git-deps auth into…
devin-ai-integration[bot] 6773948
revert: restore TK-TODO merge gate for private git dependency
devin-ai-integration[bot] 30edcb4
fix: guard none organizationId and paymentStatus; auth uv-lock job fo…
devin-ai-integration[bot] 0a28f34
fix: send connector configuration verbatim; decode declarative manife…
devin-ai-integration[bot] File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,30 @@ | ||
| # TK-TODO: Temporary. `airbyte-server-models` is consumed from the private airbyte-ops-mcp repo | ||
| # until it is published to PyPI (airbytehq/airbyte-ops-mcp#1326). Remove this action and its | ||
| # call sites once pyproject.toml pins a released version. | ||
| name: Authenticate git for private dependency repos | ||
| description: Authenticate git for private dependency repos | ||
| inputs: | ||
| app-id: | ||
| description: GitHub App ID. | ||
| required: true | ||
| private-key: | ||
| description: GitHub App private key. | ||
| required: true | ||
| runs: | ||
| using: composite | ||
| steps: | ||
| - name: Create GitHub App token | ||
| id: get-app-token | ||
| uses: actions/create-github-app-token@67018539274d69449ef7c02e8e71183d1719ab42 # v2.1.4 | ||
| with: | ||
| owner: "airbytehq" | ||
| repositories: "airbyte-ops-mcp" | ||
| permission-contents: read | ||
| app-id: ${{ inputs.app-id }} | ||
| private-key: ${{ inputs.private-key }} | ||
| - name: Configure git credentials for airbyte-ops-mcp | ||
| shell: bash | ||
| env: | ||
| GH_APP_TOKEN: ${{ steps.get-app-token.outputs.token }} | ||
| run: | | ||
| git config --global url."https://x-access-token:${GH_APP_TOKEN}@github.com/airbytehq/airbyte-ops-mcp".insteadOf "https://github.com/airbytehq/airbyte-ops-mcp" | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Partly mitigated in 30edcb4. The app token is now least-privilege (
permission-contents: read, scoped toairbytehq/airbyte-ops-mcponly). On the exposure itself:python_lint/python_pytesttrigger onpull_request, so fork PRs never receive these secrets. Same-repo branches already need write access, and those authors can read secrets by editing any workflow, so loading the action from the PR checkout doesn't widen access. The slash-command workflows (test-pr-command, etc.) already used this pattern before this PR. The action is temporary (TK-TODO) and goes away onceairbyte-server-modelsis published to PyPI. Leaving this thread open for a maintainer to decide whether to move it to a trusted reusable workflow in the meantime.Written by Devin