Skip to content

Use cardano-config and adopt db-synthesizer - #6628

Draft
jasagredo wants to merge 53 commits into
f-f/prepare-11.1from
js/cardano-config-db-synth
Draft

Use cardano-config and adopt db-synthesizer#6628
jasagredo wants to merge 53 commits into
f-f/prepare-11.1from
js/cardano-config-db-synth

Conversation

@jasagredo

Copy link
Copy Markdown
Contributor

Add your description here, if it fixes a particular issue please provide a
link
to the issue.

Checklist

  • Commit sequence broadly makes sense and commits have useful messages
  • New tests are added if needed and existing tests are updated. These may include:
    • golden tests
    • property tests
    • roundtrip tests
    • integration tests
      See Running tests for more details
  • Any changes are noted in the CHANGELOG.md for affected package
  • The version bounds in .cabal files are updated
  • CI passes. See note on CI. The following CI checks are required:
    • Code is linted with hlint. See .github/workflows/check-hlint.yml to get the hlint version
    • Code is formatted with stylish-haskell. See .github/workflows/stylish-haskell.yml to get the stylish-haskell version
    • Code builds on Linux, MacOS and Windows for ghc-9.6 and ghc-9.12
  • Self-reviewed the diff

Note on CI

If your PR is from a fork, the necessary CI jobs won't trigger automatically for security reasons.
You will need to get someone with write privileges. Please contact IOG node developers to do this
for you.

carbolymer and others added 30 commits June 16, 2026 13:26
(cherry picked from commit 2733a4a)
The cardano-node and cardano-tracer service modules unconditionally emitted
`--machine-readable -tcardano-node.stats -pocardano-node` in the default
`profilingArgs`, regardless of `cfg.profiling`. GHC's `-tFILE` always writes the
stats file on shutdown, which broke startup on read-only filesystems even
though no profiling was configured. Gate the three flags on
`cfg.profiling != "none" || cfg.eventlog` so the default RTS command line is
empty when nothing is requested.

When profiling is enabled, the same flags now consult a new option,
`services.cardano-node.profilingOutputDir` (and the tracer equivalent), to
prefix the output file paths. The option defaults to null, preserving today's
relative-path behavior on NixOS where systemd's `WorkingDirectory` equals
`cfg.stateDir`. `scripts.nix` sets it to `/logs` for the OCI script wrappers, so
profile output under the read-only OCI image lands on the writable `/logs`
mount.

In response to #6470.
@jasagredo
jasagredo force-pushed the js/cardano-config-db-synth branch from f684ecf to 7baf712 Compare July 24, 2026 15:01
@johnalotoski
johnalotoski force-pushed the f-f/prepare-11.1 branch 2 times, most recently from 9d4da9c to 2cfc906 Compare August 5, 2026 19:45
@carbolymer
carbolymer force-pushed the f-f/prepare-11.1 branch 3 times, most recently from 7af30e8 to 5e5812f Compare August 13, 2026 17:45
@koslambrou
koslambrou force-pushed the f-f/prepare-11.1 branch 8 times, most recently from 59b93b0 to b93644b Compare August 14, 2026 19:34
@johnalotoski
johnalotoski force-pushed the f-f/prepare-11.1 branch 4 times, most recently from 799e3dc to 18ee6f7 Compare August 16, 2026 07:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants