fix: update configuration permissions and glob patterns
Signed-off-by: Chris Guiney <[email protected]>
Signed-off-by: Chris Guiney <[email protected]>
Signed-off-by: Chris Guiney <[email protected]>
Signed-off-by: Chris Gianelloni <[email protected]>
Signed-off-by: Chris Guiney <[email protected]>
Adds a WAL_METADATA table to the redb WAL DB tracking a schema version, checked at open(). Older or missing versions trigger a wipe-and-stamp; newer versions return WalError::IncompatibleVersion to prevent an old binary from destroying newer data. After a wipe, check_wal_in_sync_with_state auto-reseeds the WAL from the state cursor (when fully defined) instead of erroring, eliminating the manual `dolos doctor reset-wal` step.
* chore: prepare 8.5.2
* Chore/bump node db sync mithril (#986)
* chore: update script for new release
* chore: bump node/dbsync/mithril
* chore: config files for node/dbsync
* chore: add mainnet config files
* chore: bump cardano db sync
* feat(tests): add Python test framework with full schema coverage (#987)
* chore: update script for new release
* chore: bump node/dbsync/mithril
* chore: config files for node/dbsync
* feat(tests): add Python test framework with full schema coverage
Adds a Rosetta-inspired, read-only test suite at tests/ for any GraphQL
implementation of the cardano-graphql schema. Six phases shipped in one go:
Phase 1 — sanity, golden functional, negative tests
Phase 2 — Locust load harness + p95<500ms / err<1% baseline gate
Phase 3 — multi-instance comparison (skipped without --compare-url)
Phase 4 — regression goldens seeded from cardano-foundation issues
(#951, #953, #978/#980, #979)
Phase 5 — schema introspection diff against committed snapshot
Phase 6 — CI workflows: PR gate, nightly, weekly
Coverage:
* 52 / 52 top-level Query roots (100%)
* 428 / 440 data-type fields (97.3%) across 61/61 types touched
* 59 mainnet goldens captured at anchor block 13228000
* 8 preprod goldens scaffolded (auto-skip on mainnet runs)
* 8 negative tests, 7 schema tests (1 integration + 6 offline unit)
Determinism:
* All goldens pinned to anchor_block 13228000 in config/networks.yaml
* Address buckets: light / medium / heavy with separate goldens + perf tasks
* --update-golden record-then-review lifecycle; forbidden when CI=true
* Volatile fields masked via dot.notation[*] ignore_paths DSL
Tooling:
* uv-managed, Python 3.12+
* generate_report.py: self-contained HTML report with coverage panel,
per-test timing table, and query corpus appendix
* utils/coverage.py: graphql-core-based coverage report (top-level + field)
* utils/markers.py: lists 52 auto-applied root markers + cip26/cip68
* Dynamic markers — pytest -m assets / -m cip26 / -m cip68 / -m <root>
target only goldens whose query touches that root, computed at collection
Reusable patterns lifted from cardano-rosetta-java/tests/data-endpoints:
* pytest_runtest_makereport Allure attachment hook
* Recording GraphQL client proxy
* YAML network test data layout
* Deep-diff with path-based ignores
Documentation:
* tests/README.md — top-level reference
* tests/QUICKSTART.md — install + run in 5 minutes
* tests/TESTING_GUIDE.md — skim-friendly reference for all test types
* tests/CONTRIBUTING.md — how to add tests, refresh anchor, debug
* tests/{performance,multi_instance,schema,negative}/README.md
* tests/queries/{coverage,regression}/README.md
* .claude/skills/test-cardano-graphql.md — natural-language Claude skill
CI:
* .github/workflows/graphql_tests.yml — PR gate (markers=pr), nightly (full
functional + negative + schema), weekly (adds perf smoke + baseline gate),
workflow_dispatch with optional URL override and run_perf toggle.
* Every job exports CI=true to block --update-golden / --update-schema.
---------
Co-authored-by: VladislavKudrin <[email protected]>
---------
Co-authored-by: Kartiiyer12 <[email protected]>
The `mithri`l `2617.0` release switched all nodes to static musl builds. As a side effect, mithril-client-cli is no longer exposed as a standalone Nix package for non-Linux platforms. It only exists under `packages.x86_64-linux`. This broke nix develop on `aarch64-darwin`. The one real downside of current solution is that the fallback pulls in the entire mithril package (aggregator, signer, end-to-end tooling, etc.) just to get `mithril-client`. <!-- Describe your change here --> --- <!-- Consider each and tick it off one way or the other --> * [ ] CHANGELOG updated or not needed * [ ] Documentation updated or not needed * [ ] Haddocks updated or not needed * [ ] No new TODOs introduced or explained herafter --------- Co-authored-by: Noon <[email protected]>
Signed-off-by: Jonathan Lim <[email protected]>
Signed-off-by: Jonathan Lim <[email protected]>
to fix the tests failing because of the new predicate failure
Signed-off-by: Jonathan Lim <[email protected]>
Consolidates golden tests from the separate `cardano-ledger-alonzo-test` package into the main `cardano-ledger-alonzo` impl package, following the same pattern already completed in other eras (allegra, mary, conway, babbage).
- Remove darwin.apple_sdk.frameworks.{CoreServices,AppKit} and
darwin.libobjc from buildInputs in any-darwin.nix and devshells.nix;
darwin.apple_sdk (aliased to apple_sdk_11_0) was removed as a legacy
compatibility stub — the default Darwin stdenv SDK provides all
frameworks automatically
- Update ghc8107 → ghc810 in installers/default.nix; ghc8107 was
removed from nixpkgs-25.11 (closest available: ghc810)