Skip to content

M kovalsky/app upgrade - #1339

Open
Michael Kovalsky (m-kovalsky) wants to merge 11 commits into
microsoft:mainfrom
m-kovalsky:m-kovalsky/app_upgrade
Open

Michael Kovalsky (m-kovalsky) wants to merge 11 commits into
microsoft:mainfrom
m-kovalsky:m-kovalsky/app_upgrade

Conversation

@m-kovalsky

Copy link
Copy Markdown
Collaborator

No description provided.

Copilot AI balanced review requested due to automatic review settings October 11, 2026 07:35

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟡 Changes recommended

Recursive deletion accepts unvalidated client-controlled paths, with additional correctness and accessibility issues remaining.

7 open findings
What changed in this PR

Upgrades the interactive app, adds Lakehouse Manager, and expands semantic-model lineage across workspaces.

Changes:

  • Adds lakehouse browsing, recovery, deletion, and maintenance UI.
  • Enhances launcher guidance and environment-aware tool availability.
  • Uses Fabric relation APIs for cross-workspace report discovery.
File Description
tests/​test_lakehouse.py Tests empty and incomplete blob responses.
tests/​test_lakehouse_manager.py Tests Lakehouse Manager behavior and UI.
tests/​test_app.py Tests launcher guidance and availability.
src/​sempy_labs/​semantic_model/​_lineage_view.py Adds cross-workspace report lineage.
src/​sempy_labs/​semantic_model/​_find_unused_objects.py Scans reports across workspaces.
src/​sempy_labs/​report/​_report_list_functions.py Uses report and workspace IDs.
src/​sempy_labs/​lakehouse/​_lakehouse_manager.py Implements Lakehouse Manager.
src/​sempy_labs/​lakehouse/​_blobs.py Handles sparse blob responses.
src/​sempy_labs/​lakehouse/​__init__.py Touches lakehouse package exports.
src/​sempy_labs/​_utils.py Adds item endpoint mappings.
src/​sempy_labs/​_ui_components.py Adds warehouse and file icons.
src/​sempy_labs/​_list_functions.py Lists downstream reports across workspaces.
src/​sempy_labs/​_helper_functions.py Adds relation API wrappers.
src/​sempy_labs/​_app.py Enhances launcher UI and tool catalog.
src/​sempy_labs/​__init__.py Exports relation helpers.

🧠 Review effort: Balanced


💡 Configure MCP servers for context-aware, tailored reviews. Learn more in the docs.


// Selectable: everything the user can act on, so not the two containers.
function selectable(node) {
return node.type !== "Container" && node.type !== "More";
Comment on lines +1138 to +1142
paths = [str(path).strip("/") for path in (data.get("paths") or [])]
single = str(data.get("path") or "").strip("/")
if single and single not in paths:
paths.append(single)
return [path for path in paths if path]
Comment thread src/sempy_labs/_app.py
Comment on lines +1237 to +1243
function setGuideOpen(open) {
modal.classList.toggle("show", open);
if (open) {
dialogBody.scrollTop = 0;
closeGuideBtn.focus();
}
}
create_schema,
)


Comment on lines +135 to +137
modified = str(blob.get("Creation Time") or "")
if modified > record["modified"]:
record["modified"] = modified
direct_ids = {
str(rel.get("itemId"))
for rel in relations.get("relations", [])
if str(rel.get("dependentOnItemId", "")).lower() == ds_id.lower()
Comment thread src/sempy_labs/_utils.py
Comment on lines +91 to +92
"DataBuildToolJob": "dataBuildToolJobs",
"PolicySet": "policySets",

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants