Add Resource Tracking reference for demo/POC cleanup#227
Open
CheeYuTan wants to merge 1 commit intodatabricks-solutions:mainfrom
Open
Add Resource Tracking reference for demo/POC cleanup#227CheeYuTan wants to merge 1 commit intodatabricks-solutions:mainfrom
CheeYuTan wants to merge 1 commit intodatabricks-solutions:mainfrom
Conversation
Documents list_tracked_resources and delete_tracked_resource MCP tools which had zero skill coverage. These tools track resources created during MCP sessions for cleanup after demos/POCs. Verified against MCP tool schemas and source code. Key findings: - 15 resource types tracked (not 9 as initially documented) - URL field only present on dashboards (not other types) - Schema IDs are two-level (catalog.schema), not three-level - 10 types support Databricks deletion, 5 are manifest-only - Manifest stored in .databricks-resources.json, persists across sessions
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
Documents
list_tracked_resourcesanddelete_tracked_resourceMCP tools which had zero skill coverage. These tools automatically track every resource created via MCP (dashboards, jobs, pipelines, catalogs, volumes, etc.) for cleanup after demos and POCs.What's in the file (258 lines)
list_tracked_resources(type filter) anddelete_tracked_resource(manifest-only vs Databricks deletion)Test evidence — 10 iterations
Verification method
MCP server was intermittently unavailable during testing. Verification done via:
track_resource(),list_tracked_resources(),delete_tracked_resource()implementations reviewedWhat testing found and fixed (6 inaccuracies)
track_resource()catalog.schema)resource_id=f"{catalog}.{schema}"aibi_dashboards.pypassesurl=_RESOURCE_DELETERSdict has 10 entriesPrior live test results (from earlier session)
list_tracked_resources{}list_tracked_resources{type: "dashboard"}urlfieldlist_tracked_resources{type: "volume"}urlfieldlist_tracked_resources{type: "job"}{"resources": [], "count": 0}delete_tracked_resource{type: "job", resource_id: "nonexistent"}{"success": false, "error": "Resource job/nonexistent not found"}{}Test plan
delete_from_databricks: false) confirmed in schema