Conversation
`tinybird build`, `tinybird deploy`, and `tinybird dev` previously delegated to the upstream Forward `tb` package. Wire them to the existing native implementations (run_build/run_deploy/run_dev) so the SDK's CLI works standalone, matching `tb build --local/--branch/--dry-run`, `tb deploy --check/--allow-destructive-operations`, and `tb dev`. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
This was referenced Oct 1, 2026
…ed Tinybird CLI build/deploy/dev already work correctly via the real tb CLI delegation path (main's SDK_OWNED_COMMANDS policy). Reimplementing them against the raw /v1/build and /v1/deploy endpoints duplicates logic the installed CLI already owns and can drift from its actual behavior. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
This branch has not been deployed
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Summary
tinybird build,tinybird deploy, andtinybird devpreviously delegated unconditionally to the upstream Forwardtbpackage. They now run the SDK's own native implementations (run_build,run_deploy,run_devincli/commands/), matchingtb build/tb deploy/tb devbehavior.build:--dry-run,--local,--branch(mutually exclusive with--local).deploy:--check,--allow-destructive-operations.dev:--local,--branch; runs the existing watch loop (already implemented inrun_dev) which rebuilds on file changes.### tinybird build/deploy/dev), so no README changes were needed.CHANGELOG.mdunder a new[Unreleased]section.Closes PROTM-2256: https://linear.app/tinybird/issue/PROTM-2256/python-sdk-wire-native-builddeploydev-commands-to-cli-entry-point
Test plan
tests/test_cli_entrypoint.pycovering: build success (with branch info + dashboard URL output), build--dry-run/--localflag passthrough, build failure, deploy success/failure with flag passthrough, dev success/failure with flag passthrough, and that--local/--branchare mutually exclusive.pullinstead ofbuildas its example, sincebuildis no longer delegated.make lint/make typecheck/make testall pass (141 tests).make check'ssecretstarget fails locally due to a sandboxed-network SSL error fetching the gitleaks pre-commit environment — unrelated to this change.Checklist
lint,typecheck,test,secrets— secrets target blocked locally by sandbox network, not by this change)pre-commit run --all-filespasses locally (blocked by sandbox network for thesecretshook; see above)README.md/CONTRIBUTING.md) if needed (none needed — behavior matches existing docs)CHANGELOG.mdwas updated when user-facing behavior changed