feat(ingest/powerbi): ingest Dataflow Gen2 items with lineage
BR
3h ago+3334+3334+0123456789012345678901234567890123456789-211-211-012345678901234567890123456789
Summary
Behind extract_dataflows (default false, workspace_apis only):
- Lists Fabric Dataflow Gen2 items and fetches their definitions. Each load-enabled query becomes a Dataset (subtype
Dataflow Entity) inside aDataflowcontainer, with its M expression and upstream lineage parsed by the existing M-query machinery. - A semantic-model table reading
PowerPlatform.Dataflows/PowerBI.Dataflowsgets an edge to the entity only when that dataflow was ingested in the same run; otherwise aDataflow Not Ingestedwarning with advice that depends on why. - Dataflows are emitted ahead of the per-workspace detail pass, so a later failure in that pass cannot leave a registered-but-unemitted dataflow behind an edge.
- Definition failures are failures (the entities are missing); a single unparseable query is a warning.
Stack
Part of a stack built on #20842 (Power BI metadata_api_mode: workspace_apis). Merge order:
#20876 → #20877 → #20878 → #20879 → #20880 → #20881 → #20882 → #20883 → #20884 → #20885.
Review this PR's own diff against its base branch; each layer is self-contained and tested on its own.
Checklist
- PR title follows the Conventional Commits format
- Tests added/updated (unit and integration goldens)
- Docs updated (
metadata-ingestion/docs/sources/powerbi/) - No breaking change (opt-in flag, default off)
🤖 Generated with Claude Code