Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cardano-node 8.12.2, cardano-db-sync sancho-5.0.0 #43

Merged
merged 33 commits into from
Jul 3, 2024

Conversation

johnalotoski
Copy link
Collaborator

@johnalotoski johnalotoski commented May 28, 2024

Overview:

Sets cardano-node (release) and cardano-node-ng (pre-release) versions to 8.12.2 and cardano-db-sync-ng to sancho-5-0-0. Updates nixpkgs to 24.05. Includes nixosModule, dashboard, metric, alert and recipe improvements and new features.

Details:

  • Important versioning updates:
    • cardano-node and cardano-node-ng are now 8.12.2
    • cardano-db-sync-ng are now sancho-5.0.0
  • Bumps capkgs:
    • For node releases of 8.9.3, 8.9.4, 8.12.1, 8.12.2
    • For node pre-releases 8.12.0-pre
    • For mithril 2423.0 and mithril-unstable
    • For cardano-ogmios of v6.3.0
    • For cardano-db-sync-ng of sancho-5.0.0
    • For blockPerf bump to head
  • Bumps iohk-nix and iohk-nix-ng for updates corresponding to the above node versions and private chain respin
  • Bumps nixpkgs to 24.05 and nixpkgs-unstable which includes openssh 9.8p1
  • Adds a cardano-tracer ram constraint to the profile-cardano-node-new-tracing nixosModule
  • Adds cardano-parts flakeModule pkgs references for ogmios
  • Adds a show_stake_addr_deleg_amount_history_fn prepared statement in profile-cardano-postgres nixosModule
  • Adds template alert high connection count for cardano-node
  • Adds template alert oom and coredump detection
  • Updates cardano-parts nixosModule versioning checks to be compatible with the nixpkgs 24.05 release
  • Updates process-compose private chain jobs to pre-release versioning after a respin to node 8.12.2
  • Updates template justfile recipe handling for cardano-node environment switching in nixpkgs 24.05
  • Updates template openTofu handling for nixpkgs 24.05 compatible AMI references
  • Updates template job pool creation to 10M pledge to match default faucet script pool delegation quantity
  • Updates template sql dedelegation query to not auto-union > 2M ADA staked pools with justification
  • Cleans up deprecated systemd dependencies on the network-online service
  • Cleans up some template new tracing dashboard expressions
  • Cleans up some nix mainProgram names in the devShell
  • Add comment on ram constraint strategy for cardano-db-sync after testing (ie: best to leave unconstrained)

Breaking Changes, Recommended Updates and Action Items:

Breaking:

  • Until sanchonet is respun from cardano-node 8.11.0 to >=9.0.0:
    • The nix .#run-process-compose-* node and db-sync stacks involving sanchonet are not likely to work
    • This will be resolved in the next PR.

Recommended Updates:

Apply the template Justfile diff and patch on files described below.

Action Items:

Diff and patch the following files with just template-diff "$FILE" and then just template-patch "$FILE". Looking at the short PR diff for these files found at directory templates/cardano-parts-project/ prior to diffing and patching against your own repo can also be helpful.

Justfile                                                                  # For enhanced cardano-node environment switching, needed in nixpkgs 24.05+
flake/opentofu/cluster.nix                                                # For new AMI handling, needed in nixpkgs 24.05+
flake/opentofu/grafana/alerts/cardano-node-forge.nix-import               # Alert expression improvements
flake/opentofu/grafana/alerts/cardano-node-network.nix-import             # New connection count high alert
flake/opentofu/grafana/alerts/cardano-parts.nix-import                    # New coredump alert
flake/opentofu/grafana/alerts/node-exporter.nix-import                    # New OOM alert
flake/opentofu/grafana/dashboards/cardano-node-new-tracing.json           # Dashboard panel expression fix
scripts/dbsync-pool-perf.sql                                              # Dedelegation logic update

@johnalotoski johnalotoski changed the title Next 2045 05 28 Cardano-node 8.12.2, cardano-db-sync sancho-5.0.0 Jul 3, 2024
@johnalotoski johnalotoski merged commit 674c2fc into main Jul 3, 2024
2 checks passed
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.

1 participant