Uh oh!
There was an error while loading. Please reload this page.
Build releases against the FIPS 140-3 validated Go crypto module - #6262
Conversation
Integration test reportCommit: 4a81d9b
8 interesting tests: 4 SKIP, 3 KNOWN, 1 RECOVERED
Top 6 slowest tests (at least 2 minutes):
|
2c52d0c to
85233e3Compare…icks#6193) ## Changes Sets `GOFIPS140=v1.0.0` in `Taskfile.yml`, so every `task` invocation builds the CLI against the FIPS 140-3 validated Go Cryptographic Module. Adds a test that reads the built binary's build info to confirm it really was built with it. ## Why Releases are moving to FIPS builds (databricks#6262). Go picks its cryptographic module at build time, so testing without it exercises a configuration we no longer ship. In the Taskfile rather than a workflow env because every consumer goes through `task` — local `./task test`, CI's `task test`, and the integration suite, which runs `task integration` from eng-dev-ecosystem. One line covers all three, with no cross-repo change. Bare `go test` outside `task` is not covered, so the check fails there rather than silently passing. Worth flagging: this makes eng-dev-ecosystem integration runs FIPS without a change in that repo. ## Tests Full unit + acceptance suite under FIPS, locally and in CI (all six cells, macOS and Windows included) — no failures. Integration against real workspaces under FIPS: ~11,000 tests across six cells (three clouds x linux/windows), and the FIPS check passed in every cell. The four unrelated failures were a leftover-state 409 on AWS and three cluster timing flakes; baseline nightlies show the same rate without FIPS. Perf: CLI startup 12ms -> 13ms, RSA-4096 key generation 653ms -> 1.35s. The new build tag invalidates the Go build cache once, so the first build after this merges is a full rebuild.
| @@ -0,0 +1 @@ | |||
| Released binaries are now built against the FIPS 140-3 validated Go Cryptographic Module, with FIPS 140-3 mode enabled by default. TLS connections negotiate only FIPS-approved cipher suites, which drops ChaCha20 and CBC from what the client offers. FIPS mode can be disabled at startup with `GODEBUG=fips140=off`, which restores the previous TLS behaviour ([#6262](https://github.com/databricks/cli/pull/6262)). | |||
There was a problem hiding this comment.
Is this really notable? We could move it to the CLI section.
There was a problem hiding this comment.
Updated, moved to the cli/
85233e3 to
3c7c16aComparepietern
commented
Aug 17, 2026
@ilyakuz-db I triggered a rerun (and investigation) of the most recent failure. Looks like a flake. |
ilyakuz-db
commented
Aug 17, 2026
Thanks! |
3c7c16a to
4a81d9bCompare| # cite, and "certified" is resolved by the toolchain so it moves on upgrade. | ||
| # Callers who need the previous behaviour can start the binary with | ||
| # GODEBUG=fips140=off. | ||
| - GOFIPS140=v1.0.0 |
There was a problem hiding this comment.
Why not just do top level env in this Taskfile with this setting to ensure that we run all test with it as well?
There was a problem hiding this comment.
We have this for tests #6193
But if I understood correctly, Taskfile doesn't cover goreleaser flow, and we still need to set env here
Uh oh!
There was an error while loading. Please reload this page.
## Release v1.13.0 ### Notable Changes * `bundle deploy` now reports the per-resource actions it took, how many files it synced, and a summary of created/changed/deleted/unchanged resources; `bundle destroy` reports how many resources it deleted. `-q` prints only the summaries, `-qq` only warnings and errors. ([#5720](#5720)) ### CLI * `databricks aitools install` now supports Goose, installing Databricks agent skills into its skills directory. * Error messages for failed key lookups and variable references now suggest the closest matching key if one is found. ([#6208](#6208)) * Released binaries are now built against the FIPS 140-3 validated Go Cryptographic Module, with FIPS 140-3 mode enabled by default. TLS connections negotiate only FIPS-approved cipher suites, which drops ChaCha20 and CBC from what the client offers. FIPS mode can be disabled at startup with `GODEBUG=fips140=off`, which restores the previous TLS behaviour ([#6262](#6262)). * `databricks environments setup-local` now removes a `databricks-connect` pin from `[project].dependencies`, an optional-dependency extra, or a dependency group when its version range conflicts with the compute target's `databricks-connect` version, so `uv sync` no longer fails with an unsatisfiable resolution when a template ships a conflicting pin. A pin that co-resolves, carries no version, or is marker-gated is left untouched, and each removed pin is reported with the new `W_DBCONNECT_CONSOLIDATED` warning. Wildcard version pins such as `==15.1.*` are now also checked for conflicts with the environment's constraints. ### Bundles * Allow dashes in the catalog and schema names prompted by `databricks bundle init`, and backtick-quote the catalog and schema identifiers in the SQL generated by the built-in templates so names with dashes work at runtime. * Fixed `bundle.git.branch`, `bundle.git.commit`, and `bundle.git.origin_url` being empty for bundles deployed from a workspace Git folder that has Git CLI access. The workspace API does not report git metadata for those folders, so it is now read from the Repos API instead. * direct: job_runs deploy progress lines now include the resource key (e.g. `Output from job_runs.foo: id=123: ...`) so concurrent runs are easier to tell apart. * direct: `resources.job_runs` can set `lifecycle.triggers.on_bundle_deploy: true` to re-fire the run on every bundle deploy. Removing the trigger does not recreate the existing run. * When migrating a bundle to the direct deployment engine, resources that only the direct engine supports (e.g. instance pools, catalogs) are now skipped by the deploy that migrates the state instead of failing it. They are created by the next deploy, which runs on the migrated state. * Warn on invalid `secret_scopes` permission levels (`READ`, `WRITE`, `MANAGE`); fail under `bundle validate --strict`. * Reject secret scope permissions that name no principal, instead of failing after the scope is created. * Write the deployment state atomically so an interrupted save cannot leave a state file that the CLI refuses to read. * Warn when the deployment state was last written by a newer CLI version than the one running. * Support pip extras (e.g. `[train]`) on local wheels in a job environment's `dependencies` ([#1602](#1602)). ### Dependency Updates * Bump `github.com/databricks/databricks-sdk-go` from v0.170.0 to v0.171.0 ([#6320](#6320)). * Bump the Databricks Terraform provider to 1.127.0 ([#6319](#6319)). * Bump Go toolchain to 1.26.6 ([#6266](#6266)). * Bump Go toolchain to 1.26.7 ([#6325](#6325)).
Changes
Build released binaries with
GOFIPS140=v1.0.0. This links the FIPS 140-3 validated Go Cryptographic Module into the binary and defaults FIPS 140-3 mode on, so no runtime flag is needed.Why
Regulated environments (FedRAMP, IL5) require cryptography to come from a validated module. This has to be set at build time: the runtime
GODEBUG=fips140=ononly toggles the mode on whatever module was already linked, so without the build variable, there is no validated module in the binary and no certificate to cite.Pinned to a frozen version rather than an alias.
v1.0.0is the version covered by CMVP certificate#5247This changes behavior for everyone, not just regulated users: the TLS client offers only FIPS-approved suites (6 instead of 13, dropping ChaCha20 and CBC)
CI coverage for the FIPS build is added separately in #6193
Tests
Ran the whole unit and acceptance suite against a FIPS build — no failures. Also confirmed all six release targets (linux/darwin/windows x amd64/arm64) cross-compile with the variable set; none of the platforms Go excludes from FIPS mode are in our matrix.
This PR was written by Claude Code.