Repository navigation
feat(warehouse): add Microsoft Fabric destination - #7441
shekhar-rudder merged 27 commits into
Conversation
|
👋 I'm rudder-devbox. I opened this PR from a Linear ticket. Mention |
|
The lint job failed on two I removed both dead parameters, kept the worker on Pushed commit: a0c1414 |
|
Knowledge distillation completed |
|
The ARM64 Docker build failed before compilation during This is a transient external dependency-download failure, not a repository build error, so no source change is appropriate. The branch is clean and already advanced to the newer pushed commit |
|
The enterprise ARM64 build failed before compilation in This is a transient runner/proxy transport failure. The preceding ARM64 failure showed the same HTTP/2 reset on a different dependency ( |
|
The MSSQL warehouse-integration job failed before tests started: This is the same transient runner/proxy transport failure already seen on two different modules in the ARM64 builds, not a test or source-code failure. The branch is clean and synchronized at |
|
Knowledge distillation completed |
|
The only substantive failure was the live BigQuery subtest This is an unrelated live-service recovery flake: commit |
- filemanagerresolver.New now wraps a filemanager.Factory and keys on the ONELAKE provider alone, so the existing fileManagerFactory fields default to it; drops the destType-keyed Resolver type, its option types, nil fallbacks and the variadic newJobRun parameter. - loadTable returns its staging table for the caller to drop instead of a keepStaging flag; copyInto uses f.db directly; LoadUserTables builds its result through one helper. - OneLake managers share one Entra credential per service principal, so each upload no longer mints a fresh token; azcore.TokenCredential replaces the private tokenCredential interfaces. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #7441 +/- ##
==========================================
+ Coverage 84.52% 84.98% +0.46%
==========================================
Files 623 624 +1
Lines 62014 62396 +382
==========================================
+ Hits 52415 53029 +614
+ Misses 9596 9364 -232
Partials 3 3 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
|
Knowledge distillation completed |
…at-warehouse-add-microsoft-fa-12daea3a
|
Knowledge distillation completed |
- share the Lakehouse location check between onelake and the Fabric COPY INTO guard instead of keeping two diverging copies - drop the unused onelake logger, the hand-rolled WriterAt adapter (io.NewOffsetWriter), repeated object-name normalisation and unreachable host checks; fold the upload status checks into one helper - use a shared HTTP client with more idle connections per host for OneLake instead of http.DefaultClient - remove the unreachable ObjectStorageMap entry, alias the Fabric reserved keywords like the other derived destinations, and drop redundant interface assertions - tidy sorted-key building and test assertions Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
- parse OneLake settings once for New and ValidateLocation - drain response bodies via httputil.CloseResponse so the shared client can reuse connections, and route Delete through exec - unexport hostFromConfig, now package-internal - note why Fabric bypasses RudderStack storage in ObjectStorageType Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
…3a' of https://github.com/rudderlabs/rudder-server into harness/INT-7234-feat-warehouse-add-microsoft-fa-12daea3a # Conflicts: # warehouse/integrations/microsoft-fabric/microsoft_fabric.go
|
Knowledge distillation completed |
|
Knowledge distillation completed |
|
Knowledge distillation completed |
|
The logs showed that serialization was not the fix: even with I replaced that query with a single windowed pass using |
|
The live-test log showed upload 2 running with I restored serialization only for the live Fabric event-flow test ( |
|
Knowledge distillation completed |
|
Knowledge distillation completed |
|
Knowledge distillation completed |
|
The Fabric failure was a test-contract mismatch: the live schema had 21 The other two failures were unrelated transients in this run: ClickHouse processed a four-row upload twice (actual 8, expected 4), and the warehouse unit job was rejected by Docker's |
🤖 I have created a release *beep* *boop* --- ## [1.90.0-rc.1](v1.89.0...v1.90.0-rc.1) (2026-10-12) ### Features * **processor:** add source_out reporting metric ([#7435](#7435)) ([909fba9](909fba9)) * **processor:** allow disabling event schemas v2 per source ([#7429](#7429)) ([a8c12b2](a8c12b2)) * **processor:** report dest_transformer diff rows for multiplexing destination transformations ([#7446](#7446)) ([cd95c32](cd95c32)) * **processor:** report dest_transformer succeeded for destinations without a destination transformation ([#7445](#7445)) ([21f7e41](21f7e41)) * **processor:** report user_transformer succeeded for destinations without a user transformation ([#7440](#7440)) ([f424257](f424257)) * **router:** mask live events destination credentials ([#7460](#7460)) ([5fa5fe2](5fa5fe2)) * **warehouse:** add Microsoft Fabric destination ([#7441](#7441)) ([74940c2](74940c2)) ### Bug Fixes * **batchrouter:** do not abort warehouse jobs on a zero failure timestamp ([#7426](#7426)) ([506f6d5](506f6d5)) * **batchrouter:** recover snowpipe streaming channels for tables dropped externally ([#7434](#7434)) ([93cd81d](93cd81d)) * **destination:** encode Lytics bulk upload URL values ([#7433](#7433)) ([08e6937](08e6937)) * **destination:** retry bqstream transport failures ([#7464](#7464)) ([cd3dc3e](cd3dc3e)) * **warehouse:** cap deltalake validation schema describes ([#7444](#7444)) ([d119779](d119779)) * **warehouse:** keep snowflake copy credentials out of logs ([#7442](#7442)) ([f91747b](f91747b)) * **warehouse:** set explicit lineSep for deltalake csv copy ([#7455](#7455)) ([cc22d18](cc22d18)) ### Miscellaneous * migrate self-hosted arm64 docker build runners to gha-runner-scale-set ([#7425](#7425)) ([5cdffde](5cdffde)) * **processor:** retire the destination-filter reorder, dedup and gw_ingested reporting flags ([#7450](#7450)) ([1040511](1040511)) * pull openapi-generator through the ECR pull-through cache ([#7449](#7449)) ([6e9f920](6e9f920)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). Co-authored-by: rudderstack-github-actions[bot] <236995729+rudderstack-github-actions[bot]@users.noreply.github.com>
🤖 I have created a release *beep* *boop* --- ## [1.90.0](v1.89.0...v1.90.0) (2026-10-12) ### Features * **processor:** add source_out reporting metric ([#7435](#7435)) ([909fba9](909fba9)) * **processor:** allow disabling event schemas v2 per source ([#7429](#7429)) ([a8c12b2](a8c12b2)) * **processor:** report dest_transformer diff rows for multiplexing destination transformations ([#7446](#7446)) ([cd95c32](cd95c32)) * **processor:** report dest_transformer succeeded for destinations without a destination transformation ([#7445](#7445)) ([21f7e41](21f7e41)) * **processor:** report user_transformer succeeded for destinations without a user transformation ([#7440](#7440)) ([f424257](f424257)) * **router:** mask live events destination credentials ([#7460](#7460)) ([5fa5fe2](5fa5fe2)) * **warehouse:** add Microsoft Fabric destination ([#7441](#7441)) ([74940c2](74940c2)) ### Bug Fixes * **batchrouter:** do not abort warehouse jobs on a zero failure timestamp ([#7426](#7426)) ([506f6d5](506f6d5)) * **batchrouter:** recover snowpipe streaming channels for tables dropped externally ([#7434](#7434)) ([93cd81d](93cd81d)) * **destination:** encode Lytics bulk upload URL values ([#7433](#7433)) ([08e6937](08e6937)) * **destination:** retry bqstream transport failures ([#7464](#7464)) ([cd3dc3e](cd3dc3e)) * **warehouse:** cap deltalake validation schema describes ([#7444](#7444)) ([d119779](d119779)) * **warehouse:** keep snowflake copy credentials out of logs ([#7442](#7442)) ([f91747b](f91747b)) * **warehouse:** set explicit lineSep for deltalake csv copy ([#7455](#7455)) ([cc22d18](cc22d18)) ### Miscellaneous * migrate self-hosted arm64 docker build runners to gha-runner-scale-set ([#7425](#7425)) ([5cdffde](5cdffde)) * **processor:** retire the destination-filter reorder, dedup and gw_ingested reporting flags ([#7450](#7450)) ([1040511](1040511)) * pull openapi-generator through the ECR pull-through cache ([#7449](#7449)) ([6e9f920](6e9f920)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). Co-authored-by: rudderstack-github-actions[bot] <236995729+rudderstack-github-actions[bot]@users.noreply.github.com>
Description
Implement Microsoft Fabric Warehouse as a new
MICROSOFT_FABRICevent-stream destination.COPY INTO, append-safe direct loads, staging-table merge loads, and latest-traits users behavior.Linear Ticket
RUD-3169
Security
Credential-bearing errors avoid tokens, secrets, authorization headers, connection strings, complete SQL payloads, and unredacted OneLake locations. OneLake paths reject traversal and locations outside the configured Lakehouse.
Validation
make fmt— passedmake build— passedgo test -race -count 1 ./warehouse/integrations/microsoft-fabric/... ./warehouse/internal/filemanagerresolver— passedgo mod tidy -diff— passed with no diffgo run .github/tools/matrixchecker/main.go— passedgit diff --check— passedmake lint— golangci-lint reported0 issues; actionlint passedgo test -count=1 ./warehouse/integrations/microsoft-fabric ./warehouse/integrations/config ./warehouse/internal/filemanagerresolver ./warehouse/encoding ./warehouse/validations ./warehouse/utils ./warehouse/router ./warehouse/api ./warehouse/slave ./warehouse/internal/service/loadfiles/downloaderexited 1: Fabric/config/resolver/encoding/utils/router/API/downloader packages passed; validations and slave hit environmental S3 setup failures. Runtime integration status: skipped because rudder-server is SHA-pinned and not source-verifiable in the local stack.make lintultimately fails in gitleaks after reporting 38 findings already present in the baseline repository scan; this change does not introduce credentials.warehouse/validationsandwarehouse/slavebecause the environment could not initialize custom S3 Root CAs and had no downloader storage bucket configured; Fabric-specific and resolver packages passed.COPY INTOcolumn-list Part F scenarios.DownloadOptionstate is package-private.Adversarial self-review surfaced findings that were not auto-fixed. Each carries its disposition — please evaluate before merging.
warehouse/integrations/microsoft-fabric/microsoft_fabric.go:386— not auto-fixed (iteration budget exhausted)warehouse/utils/utils.go:134— not auto-fixed (iteration budget exhausted)warehouse/integrations/microsoft-fabric/microsoft_fabric.go:486— not auto-fixed (iteration budget exhausted)warehouse/integrations/microsoft-fabric/onelake/onelake.go:383— not auto-fixed (iteration budget exhausted)warehouse/integrations/microsoft-fabric/microsoft_fabric.go:358— not auto-fixed (iteration budget exhausted)warehouse/integrations/microsoft-fabric/onelake/onelake.go:400— not auto-fixed (iteration budget exhausted)warehouse/integrations/microsoft-fabric/microsoft_fabric.go:524— not auto-fixed (iteration budget exhausted)warehouse/integrations/microsoft-fabric/microsoft_fabric.go:450— not auto-fixed (iteration budget exhausted)