Skip to content

chore: prepare 2.1.1#712

Merged
matiwinnetou merged 4 commits intomainfrom
develop
Mar 24, 2026
Merged

chore: prepare 2.1.1#712
matiwinnetou merged 4 commits intomainfrom
develop

Conversation

@matiwinnetou
Copy link
Copy Markdown
Collaborator

No description provided.

Sotatek-DucPhung and others added 3 commits March 10, 2026 13:31
feat: add connection pool for indexer

Co-authored-by: Sotatek-DucPhung <[email protected]>
…call supporting methods (#710)

* fix: network/options returns empty call_methods despite /call supporting methods

fix: network/options returns empty call_methods despite /call supporting methods

* test: update golden example to expect call_methods

* test: add behavioral test for call_methods consistency

---------

Co-authored-by: Sotatek-DucPhung <[email protected]>
Co-authored-by: Lincon Vidal <[email protected]>
…on invalid address_type (#709)

* fix: construction/derive silently defaults to Enterprise on invalid address_type

fix: construction/derive silently defaults to Enterprise on invalid address_type

* fix: update code fix error null pointer

fix: update code fix error null pointer

* test: add golden example for invalid address_type error

---------

Co-authored-by: Sotatek-DucPhung <[email protected]>
Co-authored-by: Lincon Vidal <[email protected]>
@github-actions
Copy link
Copy Markdown
Contributor

❌ Preprod Tests: FAILED

📊 View Detailed Test Report

🔗 Action Run #241

Tests run against preprod network with live blockchain data

@github-actions
Copy link
Copy Markdown
Contributor

✅ Preprod Tests: PASSED

📊 View Detailed Test Report

🔗 Action Run #241

Tests run against preprod network with live blockchain data

@linconvidal linconvidal added this to the 2.1.1 milestone Mar 20, 2026
* feat: Add Helm chart and scripts for deploying Cardano Rosetta

* chore: add docs and update helm value

* feat: add .helmignore and update resource definitions in Helm charts

* feat: add node-exporter service definition in Helm chart

* chore: Update Grafana datasource configuration and dashboard

* refactor: remove unnecessary overrides from Rosetta dashboards

* docs: Update deployment documentation and restructure runbooks

* feat: update Helm chart configuration and deployment instructions

- Added `global.configHostPath` to specify host directory for network-specific config files.
- Updated deployment documentation to pre-create the namespace and use `--no-hooks` during Helm upgrades.
- Removed unnecessary config map template for node configuration files.
- Deleted outdated genesis and configuration files from Helm chart.

* feat: enhance HikariCP configuration for database connection pooling

* fix: change volume configuration from configMap to hostPath for node-config

* refactor: remove unused ConfigMap templates and update k3s setup script for improved deployment instructions

* feat: grant pg_monitor role to user for pg_exporter access to WAL/system stats

* feat: update .gitignore to exclude Helm build artifacts

* feat: add optional Mithril configuration for aggregator endpoint and verification keys

* chore: update docs

* chore: simplify Mithril job configuration

* chore: Remove K3s single-host deployment documentation and script

* chore: Align Kubernetes Helm Charts with Docker Compose

* docs: update Helm values reference and overview for index applier Job changes

* docs: update Kubernetes deployment documentation for clarity and accuracy

* fix: startup probe threshold and sync stages docs (#708)

* fix: make cardano-node startupProbe failureThreshold configurable

- Hardcoded value of 60 (15 minutes) is insufficient for ImmutableDB replay after Mithril snapshot download
- Node gets killed repeatedly by startup probe before replay completes
- Default changed to 720 (3 hours), matching the troubleshooting guidance in deployment.md
- Value is now configurable via values.yaml at node.startupProbe.failureThreshold

* docs: fix Three sync stages table in overview

- SYNCING was incorrectly described as "Mithril download + node syncing" with "cardano-node only" pods ready
- SYNCING actually means yaci-indexer has not yet reached chain tip, with all pods already running

* fix: enable token registry in preprod values (#711)

values-preprod.yaml configured logo fetch and cache TTL but never enabled the registry or set its base URL. Added:
- tokenRegistryEnabled: true
- tokenRegistryBaseUrl pointing to preprod.tokens.cardano.org/api

* fix: monitoring removal

* chore: correct pg-explorter package

* refactor(helm): move node sync gate from postgresql to yaci-indexer

* chore:  replace the exec readiness probe with httpGet in rosetta api

* chore(helm): remove unused Prometheus/Grafana monitoring components

* refactor(helm/rosetta-api): simplify service to single templated resource

* refactor(helm): support existing secret and remove duplicate pgpassword key

* chore: fullname helpers with trunc 63

* chore: drop namespace.yaml

* chore: InitContainer resources

* chore: remove unused

* chore: use template resource

* chore: correct values-k3s

* chore: remove unused k8s monitoring docs

* chore: update namespace

* fix: increase index-applier deadline and node startup probe threshold

- activeDeadlineSeconds: 86400 (24h) -> 259200 (72h) for index-applier Job
- cardano-node startupProbe failureThreshold default: 720 (3h) -> 1920 (8h)

The 24h deadline caused the index-applier pod to be killed by the garbage collector before sync completed. The 3h startup probe was insufficient for ImmutableDB replay on mainnet.

* chore: introduce the indexer db turning env

* refactor(helm): replace raw printf with template helpers across all templates

Use include calls (with trunc 63) instead of inline printf patterns to
avoid code duplication and prevent failures when release names are long.
Added missing helpers: rosettaApiName, nodeDataPvcName, pgDataPvcName,
roleName, rolebindingName, testConnectionName.

* refactor(helm): remove explicit metadata.namespace from all templates

* chore: remove unused

* refactor(helm): move Mithril download into init container, remove RBAC

Replace standalone Mithril Job + wait-for-mithril K8s API polling with a
direct mithril-download init container on cardano-node. This eliminates
the need for ServiceAccount, Role, and RoleBinding since no pod accesses
the Kubernetes API anymore.

* refactor(helm): use StatefulSet volumeClaimTemplates for PVC management

Replace standalone Helm-managed PVCs with native Kubernetes
volumeClaimTemplates on both cardano-node and postgresql StatefulSets.
This lets K8s manage PVC lifecycle and eliminates the need for
helm.sh/resource-policy annotations. Also removed unused
global.namespace from values.yaml.

* feat(helm): bake node configs into image, remove hostPath volumes

* chore: update docs

---------

Co-authored-by: Lincon Vidal <[email protected]>
@matiwinnetou matiwinnetou marked this pull request as ready for review March 24, 2026 13:49
@github-actions
Copy link
Copy Markdown
Contributor

✅ Preprod Tests: PASSED

📊 View Detailed Test Report

🔗 Action Run #246

Tests run against preprod network with live blockchain data

@matiwinnetou matiwinnetou merged commit 444ac21 into main Mar 24, 2026
7 checks passed
@matiwinnetou matiwinnetou deleted the develop branch March 24, 2026 14:27
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.

4 participants