Repository navigation
fix(cli): comma lists, stale table types hint, and block version note - #10443
Merged
Merged
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Contributor
[Medium impact] The PR appears safe to merge; no new blocking issue was established. SummaryThe PR gives CLI lists shared comma and JSON-array parsing, while preserving commas in dependencies, folders, file paths, and output selectors.
Reviews (2) · Last reviewed commit: "fix(cli): explicit list value policy and..." · Reviewed by Greptile |
Contributor
There was a problem hiding this comment.
All reported issues were addressed across 23 files
Reply with feedback, questions, or to request a fix.
Turn on auto-fix | Re-trigger cubic
- Every id list flag reads repeated, space-, comma-separated and JSON-array values alike (`--row-ids a,b` deleted nothing); dependency specifiers and folder paths keep their commas. - An unknown option names the commands one group down that take it, by any spelling (`tables batch-delete --row-ids` points to `tables rows batch-delete`). - `blocks get table` notes on stderr that it reads as table_v2, the type to add. - `workflows source check` hints `source status` to refresh table types when a row write names a column the last get's types lack.
- List flags declare how a value reads (`listValues`): ids split on commas, `text` (dependencies, output selectors, folder paths) keeps commas, and `fileReferences` keeps a `files/` path whole; every list decodes a JSON array. - `workflows runs get --select-output` reads its values with the same parser before resolving block names. - The stale-table hint names a table only when exactly one stored table is the printed row, reads single-quoted keys, and shell-quotes the directory.
waleedlatif1
force-pushed
the
fix/cli-table-rows-and-types
branch
from
November 26, 2026 21:06
8610977 to
ac3e9ea
Compare
Collaborator
Author
Collaborator
Author
|
@cubic-dev-ai review this PR |
Contributor
@waleedlatif1 I have started the AI code review. It will take a few minutes to complete. |
This was referenced Nov 26, 2026
This branch was successfully 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
CLI papercuts a staging benchmark of the in-product agent hit:
tables rows batch-delete --row-ids a,bsent one id"a,b"and deleted nothing. List flags now share one parser rule: repeated, space-separated, comma-separated and JSON-array values all read as entries. Lists whose values hold commas opt out (keepsCommason sandbox dependencies, e.g.requests>=2,<3; folder paths). The rule thatfiles batch-deletehad alone (fileReferences) is now the general rule.tables batch-delete --row-ids. That command archives tables, so it should not accept row ids. The unknown-option guidance now also searches the groups beside the command and matches hidden aliases. It namessim tables rows batch-delete(andtables dispatches create).blocks get table. The server already answers withtable_v2, but an agent's jq filter droppedid, and the add that followed used legacytable. A stderr note now says"table" reads as "table_v2"… add it as {"type":"table_v2"}. A filter on stdout cannot drop it.workflows source checkis offline, so aftertables columns createit reported TS2353 on the new column. When the excess-property error's row type matches a stored table, the error now carries a hint: the column is missing from the types the last get wrote, andsim workflows source status --dir <dir>refreshes them without touching the files.Type of Change
Testing
Each new test fails on the old code:
--row-ids; a dependency specifier keeps its comma (red with the opt-out removed).tables batch-delete --row-idsguidance.Local gate run: generate, lint, type-check, check:audits, sim-cli vitest suite, block-registry check.
Checklist