Fabric pipelines on this PC: continuation note
Internal — engineering working material. This is a dated implementation, design, or planning record. Use the user guides for current instructions and check releases for shipped behavior.
The working state of the orchestration plan. Whoever picks this up next starts here. Updated with every PR.
Last updated: 2026-10-20.
Branches and PRs#
| Feature | Branch | PR | State |
|---|---|---|---|
| ORCH-001 Pipeline definition engine | claude/orch-001-pipeline-definitions-b6ql2h |
#130 | Merged 2026-10-17 |
| ORCH-002 Activity compatibility registry | claude/orch-001-pipeline-definitions-b6ql2h (restarted from main) |
#150 | Merged 2026-10-18 |
| ORCH-003 Local pipeline execution engine | claude/orch-003-local-runs-b6ql2h |
#218 | Merged 2026-10-18 |
| ORCH-004 Notebook steps | claude/orch-001-pipeline-definitions-b6ql2h (restarted from main) |
#319 | Merged 2026-10-20 |
| P0 Invoke pipeline without waiting (a fix) | claude/orch-001-pipeline-definitions-b6ql2h |
#559 | Merged 2026-10-22 |
| P1 Lookup and Get Metadata | claude/orch-001-pipeline-definitions-b6ql2h |
#563 | In review |
| P2 Script through the SQL runner | claude/orch-001-pipeline-definitions-b6ql2h |
In review |
Chris authorized ORCH-002 on 2026-10-18 and ORCH-003 the same day ("Good idea. Do this", answering the recommended next PR). He picked ORCH-004 on 2026-10-20 ("Notebook steps"). On 2026-10-22 he made pipelines the next focus and gave his go for the pipelines plan's P1 (Lookup and Get Metadata), P2 (Script through the SQL runner) and one mockup for the Pipelines page and Monitor > Runs (P3, P4). Later stages need his go. Release management merges PRs.
Where things are#
- Code:
sidecar/fabric_desktop/orchestration/(ORCH-002:registry.py,activities.py; ORCH-003:evaluate.py,adapters.py,runner.py,runs.py),sidecar/fabric_desktop/pipeline_service.py, ORCH-004:sidecar/fabric_desktop/pipeline_notebooks.py(testssidecar/tests/test_pipeline_notebooks.py). - Tests and fixtures:
sidecar/tests/test_pipeline_definitions.py,sidecar/tests/test_activity_registry.py,sidecar/tests/test_pipeline_runs.py,sidecar/tests/pipelines/(reference_local.jsonis the ORCH-003 reference pipeline). - Run records:
<data>/pipeline_runs/<run id>.json. - Example compatibility report:
docs/orchestration/examples/orders-daily-compatibility.json(a test keeps it current). - External tools: the
_pipelines()group insidecar/fabric_desktop/integrations/capabilities.py.
Decisions and assumptions#
- 2026-10-17, Chris approved the ORCH-001 plan ("go") with these defaults: files and pasted JSON only, no
getDefinitioncalls to the tenant; hand-built fixtures until he exports real ones from his non-prod workspace (secrets removed); no UI in ORCH-001, and any pipeline screen gets a mockup first. - The import is not stored anywhere in ORCH-001. ORCH-003 decides where imported pipelines and their runs live.
- ORCH-002: an entry is
localorsimulatedonly with an adapter that executes and has tests (15localat registry version 7); Fabric-only type names are unverified until a tenant export confirms them; changing an entry needs aREGISTRY_VERSIONbump, a changelog line inactivity-registry.mdand the new fingerprint in the test. - ORCH-003: the agent job queue isn't used (it can't schedule activities); a whole pipeline run could become one agent job later, with the Workload program. ORCH-004 made Notebook
localthrough Validate notebook's clean kernel instead of Prove's proof path (which also runs in Fabric). Expressions use only the functions inevaluate.FUNCTIONS; add one with a test and a line in local-runs.md. Timeouts are real time;wait_scaleshortens waits only. - Diagnostics have
code,severity(error, warning, info),message,path(JSON path),activityandhint. Codes are stable: tools and later stages may match on them.
Overlaps with other programs#
- Scale and operations (
docs/scale-and-operations-plan.md): the pipeline mailbox (mailbox.py) and agent status records are the hand-off from a pipeline running in Fabric; ORCH-003's run records extend those rather than replacing them. - Workload operations: owns
jobqueue.py,agent.py, Monitor and Home. Coordinate before ORCH-003 changes them. - Prove this notebook and the Notebook architect program: own notebook execution, the proof runtime and Validate's clean kernel, which ORCH-004 calls (
_validate_kernel,validate.run_plan,bind_proofwithseeded). Coordinate before changing them. - Bring your own AI: owns the capability registry; ORCH capabilities register there.
- Administration and FinOps: owns CU measurement and the execution advisor; ORCH-002 only flags activities that need Fabric capacity.
- Git-native development: owns everything Git.
Open questions for Chris#
- Real pipeline exports for fixtures (two or three, secrets removed). They would also confirm the Fabric-only activity type names.
- Whether ORCH-001 may later read a pipeline straight from a workspace with
getDefinition(a read; no capacity use).
Need a hand?
Find a fix in troubleshooting, or share a reproducible issue with the community.
Get support ↗Improve this guide on GitHub ↗