Repository navigation
[agentbricks] Report the deployed memory and session stores in deploy --output json - #760
Merged
elainewang-db merged 2 commits intoOct 16, 2026
Conversation
… --output json Co-authored-by: Isaac <no-reply@databricks.com>
elainewang-db
enabled auto-merge (squash)
October 16, 2026 18:23
Co-authored-by: Isaac <no-reply@databricks.com>
jamesbxwu
approved these changes
Oct 16, 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.
Summary
agentbricks deployprints the memory and session stores it reconciled, but--output jsonleft them out. A script that deploys and then needs the stores, to inspect or delete them, had to parseagent.tomlor read the App's environment variables instead.This adds two fields to the
deploy --output jsonresult:They're the store names from
agent.toml, the same values the human output shows. Each isnullwhen the project declares no store, matching howtrace_experiment_idisnullwithout tracing. No existing field changes.The Agent Bricks E2E suites (#706) will use them: a test reads the store names from deploy's output and registers
memory stores delete/sessions stores deletefor them, instead of readingagent.toml.Also: disable CLI telemetry in unit tests
Every CLI command sends a usage record from a background thread, through a real client built from the developer's ambient Databricks auth. In unit tests run on a machine with a
[DEFAULT]profile in~/.databrickscfg, that meant realdatabricks auth tokencalls and telemetry POSTs to that workspace. Tests that mocksubprocess.runalso saw those calls: the 5pipeline_test.pytests that countsubprocess.runcalls failed locally (they pass in CI, which has no credentials). An autouse fixture intests/unit_tests/conftest.pynow setsAGENTBRICKS_DISABLE_TELEMETRY=1; the telemetry tests already unset it where they need telemetry on.Testing
ruff checkandruff format --checkpass.pytest tests/unit_tests: 1813 passed, 211 skipped, with a[DEFAULT]profile configured (the 5pipeline_test.pyfailures are gone).This pull request and its description were written by Isaac.