feat: add source update and delete commands#324
Merged
Conversation
siisee11
enabled auto-merge (squash)
July 22, 2026 03:48
Deploying with
|
| Status | Name | Latest Commit | Preview URL | Updated (UTC) |
|---|---|---|---|---|
| ✅ Deployment successful! View logs |
onequery-landing | 1ed4310 | Commit Preview URL Branch Preview URL |
Jul 22 2026, 03:53 AM |
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.
One-Line Summary
Users can update and delete organization data sources from the OneQuery CLI.
User-Facing Changes
onequery source update <source> --input <path|->.onequery source delete <source> --yes.Why This Changed
Data-source mutations were not part of the OneQuery contract, which prevented OneQuery from acting as the source of truth and forced downstream clients to own mutation behavior.
How It Changed
Verification
cargo test -p onequery-cli --bin onequery(447 passed)bunx turbo test --filter=@onequery/cli-server --filter=@onequery/server --json(455 passed)bunx turbo typecheck --filter=@onequery/cli-server --filter=@onequery/serverjust fix -p onequery-cliThe repository-wide type-aware lint currently reports 8 unrelated existing errors in Landing/Astro generated types and deprecated Linear adapter APIs. The full
cargo test -p onequery-clirun also has one unrelated environment-sensitive failure inapi_json_stdout_stays_parseable_when_verbose_startup_failure_is_logged; source mutation tests pass.Video / Screenshot (Optional)