Skip to content

Add auth route resolution helpers - #5

Merged
Rana Singh (ranadeepsingh) merged 2 commits into
mainfrom
users/kiratpandya/auth-route-helper
Jul 1, 2026
Merged

Rana Singh (ranadeepsingh) merged 2 commits into
mainfrom
users/kiratpandya/auth-route-helper

Conversation

@kiratp

@kiratp Kirat Pandya (kiratp) commented Jul 1, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Adds cross-platform helper scripts for the existing Project Osmos auth and route-construction step.
  • The helpers resolve workspace and lakehouse metadata, capture the routed Fabric home cluster from response headers, retry MWC token exchange for the known cluster-authorization response, and emit token/routing environment files for the unchanged task lifecycle.
  • Updates the auth and troubleshooting references to use the helpers instead of manual token/host assembly.
  • Bumps the Project Osmos plugin version from 0.4.4 to 0.4.5.

Validation

  • uv run --with ruff==0.15.13 ruff check .
  • uv run python -m py_compile skills/project-osmos/scripts/resolve-auth-and-routing.py
  • pwsh -NoProfile -Command '[scriptblock]::Create((Get-Content -Raw "skills/project-osmos/scripts/resolve-auth-and-routing.ps1"))'
  • uv run python build/validate_plugin.py
  • uv run python build/check_version_bump.py --base-ref origin/main
  • Simulated routed-token retry: Python helper and PowerShell wrapper both retried on the home-cluster route and produced token/routing outputs.
  • Production Fabric smoke: Python helper and PowerShell wrapper both resolved the home-cluster route, retried token exchange there, and produced token/routing outputs.

Kirat Pandya and others added 2 commits July 1, 2026 14:32
## Summary
Add helper scripts for the existing Project Osmos authentication and route-construction step. The helpers resolve workspace and lakehouse metadata, capture the routed Fabric home cluster from response headers, retry MWC token exchange for the known cluster-authorization response, and write token/routing environment files for the existing task lifecycle.

## Prompting Intent
The request was to publish the external-safe subset of the auth-routing reliability work to the public Project Osmos repository. The change needed to preserve the skill flow, avoid private or internal references, and provide tested code paths for both Bash/Python and PowerShell users.

## Linked Sources
- Existing Project Osmos authentication reference: skills/project-osmos/references/auth-and-routing.md
- Existing Project Osmos troubleshooting reference: skills/project-osmos/references/troubleshooting.md
- Existing Project Osmos task lifecycle reference: skills/project-osmos/references/task-lifecycle.md

## Rationale
Providing helper scripts is more reliable than asking users to manually assemble token and routing calls. The docs now keep the same task flow while delegating the fragile authentication and routed-host setup to reusable, cross-platform scripts.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
## Summary
Bump the Project Osmos marketplace metadata and plugin entry version from 0.4.4 to 0.4.5 for the auth route helper update.

## Prompting Intent
The request was to ensure the public skill package version is incremented along with the helper and documentation changes, while keeping PR text and committed content suitable for external release.

## Linked Sources
- Marketplace manifest: .github/plugin/marketplace.json
- Version bump validator: build/check_version_bump.py

## Rationale
The repository validation requires user-visible plugin changes to increment the published marketplace version. A patch version bump is appropriate because this adds helper scripts and clarifies guidance without changing the skill activation contract.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@ranadeepsingh
Rana Singh (ranadeepsingh) merged commit 8b81e5b into main Jul 1, 2026
2 of 3 checks passed
@ranadeepsingh
Rana Singh (ranadeepsingh) deleted the users/kiratpandya/auth-route-helper branch July 1, 2026 21:46
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