feat: RFC, PoC and command validator for v2 Typer/SDK migration#76
Draft
feat: RFC, PoC and command validator for v2 Typer/SDK migration#76
Conversation
fix: semantic pr
chore: Introduce release workflowc
Co-authored-by: ayeshurun <98805507+ayeshurun@users.noreply.github.com>
docs(agents): add custom agent for new item type onboarding
- RFC 001: Comprehensive analysis of Typer migration, SDK integration, and early failure detection - Typer PoC: main_app.py, config_app.py, typer_args.py compatibility bridge - SDK Adapter PoC: sdk_adapter.py showing microsoft-fabric-api integration pattern - Command Validator: fab_command_validator.py for early failure detection using command_support.yaml - Tests: 49 new tests all passing (validator, TyperArgs, SDK adapter) Co-authored-by: ayeshurun <98805507+ayeshurun@users.noreply.github.com>
…cstrings Co-authored-by: ayeshurun <98805507+ayeshurun@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Add migration from argparse to typer and implement microsoft-fabric-api
feat: RFC, PoC and command validator for v2 Typer/SDK migration
Mar 13, 2026
New package `fabric_cli_v2` (1,824 lines vs v1's 24,712 = 92% reduction): - Typer-based CLI with rich help and auto-completion - azure-identity auth (replaces 785-line MSAL module) - Simplified JSON config with typed defaults - Context persistence (per-process, configurable) - Minimal HTTP client with retry/pagination/LRO - Output formatting (text/json/table) - Command validator (early failure detection) - Interactive REPL with prompt_toolkit - Entry point: fab2 - 66 tests all passing, 13x faster startup (73ms vs 972ms) Co-authored-by: ayeshurun <98805507+ayeshurun@users.noreply.github.com>
Co-authored-by: ayeshurun <98805507+ayeshurun@users.noreply.github.com>
Co-authored-by: ayeshurun <98805507+ayeshurun@users.noreply.github.com>
… guard clarification Co-authored-by: ayeshurun <98805507+ayeshurun@users.noreply.github.com>
Co-authored-by: ayeshurun <98805507+ayeshurun@users.noreply.github.com>
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.
src/fabric_cli_v2/) alongside v1auth.py— azure-identity based auth (251 lines)config.py— simplified JSON config (149 lines)context.py— context persistence (177 lines)client.py— minimal HTTP client with retry/pagination/LRO (247 lines)types.py— core enums and type definitions (170 lines)output.py— output formatting text/json/table (133 lines)app.py— Typer-based CLI entry point with lazy loading (115 lines)repl.py— interactive REPL mode (87 lines)fs.py(ls, cd, mkdir, rm, pwd),auth_cmds.py,config_cmds.pyvalidator.py— early failure detection (123 lines)fab2registered in pyproject.tomlOriginal prompt
📱 Kick off Copilot coding agent tasks wherever you are with GitHub Mobile, available on iOS and Android.