Repository navigation
show-dependencies - #807
Merged
Merged
Conversation
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
stackql-ops
approved these changes
Oct 7, 2026
general-kroll-4-life
approved these changes
Oct 7, 2026
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.
Description
Adds
SHOW [EXTENDED] DEPENDENCIES [LIKE '<pattern>']through the existing SHOWanalysis and structured-result paths.
binary's package graph during active native, cross-platform and Docker builds.
provider dependencies.
builds without enrichment retain linked modules with explicit missing metadata.
licence links, Package URLs and original identities.
%/_filtering across effective name, original nameand description, deterministic ordering and zero-row column metadata.
results, with/without LIKE, escaping, nulls and PostgreSQL wire parity.
The issue's column table defines four default columns and ten extended columns,
despite its checklist saying five and eleven. The requester confirmed using
the explicitly named columns and their order.
The schema-only wire prerequisite is addressed in
stackql/psql-wire#19:
streams expose their column schema independently of rows, and zero-row results
complete normally without emitting EmptyQueryResponse.
StackQL preserves declared SHOW and native SQL column schemas, passes them at
stream construction, and no longer manufactures rows for empty results.
Dependency NULLs use the existing wire text encoder's typed nil-byte handling;
the companion PR does not change value encoding.
The companion PR is merged, and StackQL consumes its published tag
v0.1.3-beta01(merge commit8f98baf033ff89d06a457da188e66ff1e2becbb1).Channel streams receive a
ColumnProviderhandle (the constructed result),rather than a column slice, through a strictly unary constructor, and delegate
metadata access without consuming rows. The obsolete DataWriter.Empty API is removed;
actual empty-statement responses remain the protocol handlers' responsibility.
Type of change
Issues referenced.
Closes #766.
Evidence
CGO_ENABLED=0 go test -timeout 1200s ./...- passed.go test -timeout 120s ./internal/stackql/dependencies ./cicd/go/dependency-metadata- passed.go run ./cicd/go/dependency-metadata -targets linux/amd64,linux/arm64,darwin/amd64,darwin/arm64,windows/amd64- passed.go run github.com/golangci/golangci-lint/v2/cmd/golangci-lint@v2.5.0 run --timeout 10m --new-from-rev origin/mainwith
GOTOOLCHAIN=go1.25.3- passed, zero new issues.python -m unittest discover -s cicd/python -p test_build.py- passed, two tests.python cicd/python/build.py --build- passed for Windows AMD64 and forGOOS=darwin GOARCH=arm64 CGO_ENABLED=0cross-compilation.python -m robot --variable "POSTGRES_URL_UNENCRYPTED_CONN:postgresql://test:test@127.0.0.1:55441/mydatabase?sslmode=disable" --outputdir <session-artifacts>/robot-dependencies-final test/robot/functional/stackql_dependencies.robotwith the repository's test PYTHONPATH and a rebuilt local wire server - passed,
eight tests after the schema-first revision, including unmatched SHOW SERVICES,
an aliased zero-row SELECT, genuine dependency SQL NULLs and CLI/wire parity.
and Package URL retained; missing attribution is UNKNOWN/NULL.
Docker SQLite on AMD64/ARM64, all four PostgreSQL Robot shards, and shard verification.
ac33b18passed, includingfull Linux lint, CodeQL, GitGuardian and the OpenAI stdio smoke matrix.
Local full Go tests, eight Robot scenarios and pinned changed-code lint also passed.
ac33b18:go get github.com/stackql/psql-wire@v0.1.3-beta01and
go mod tidycompleted with no unrelated dependency changes.CGO_ENABLED=0 go test -timeout 120s ./internal/stackql/driver ./internal/stackql/psqlwire ./internal/stackql/util ./internal/stackql/data_staging/input_data_staging ./internal/stackql/primitivebuilder ./internal/stackql/intrinsicpassed; native build, eight Robot scenarios and pinned changed-code lint passed.
Fresh CI passed for the tag bump; the optional claude-code-action check was skipped.
Python commands above used the configured Python 3.13 executable at
C:\Users\javen\AppData\Local\Microsoft\WindowsApps\python3.13.exe;Robot reports were written outside the repository in the session artifact directory.
Checklist:
Variations
Focused Robot coverage was run locally; the full mock suite and PostgreSQL
backend matrix passed in CI. The local Windows full-lint command reports
20 pre-existing
revivefindings because path-based exclusions do not matchWindows separators. Changed-code lint passes with CI's pinned lint/toolchain
versions; full Linux CI lint passed.
GoReleaser is intentionally untouched because it is not an active release path.
The existing JSON renderer's empty-result representation remains
null; CSV andwire clients retain their normal result columns with zero data rows.
Tech Debt
No new technical debt. Unknown attribution stays explicit; the feature does not
claim deployment-SBOM completeness or automated legal compliance.