Skip to content

Add symbolic logging to cardano-tracer #6125

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

Draft
wants to merge 10 commits into
base: master
Choose a base branch
from
Draft

Conversation

Icelandjack
Copy link
Contributor

@Icelandjack Icelandjack commented Feb 20, 2025

Description

This includes 3 separate commits:

  • a022921: cardano-tracer: Eliminate cardano-node dependency.
  • 77de57e: cardano-tracer: Hide mkTimer module, change STM to IORef (fixes issue "Leaky thread in mkTimer").
  • 78297ba: cardano-node: Make rpMaxAgeMinutes optional.

Checklist

  • (Next up:) Commit sequence broadly makes sense and commits have useful messages
  • TODO: rebase on master
  • Fix Aeson FromJSON instance
  • New tests are added if needed and existing tests are updated.
  • Any changes are noted in the CHANGELOG.md for affected package
  • (This is on hold:) 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-8.10.7 and ghc-9.2.7
  • 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.

@Icelandjack Icelandjack requested a review from a team as a code owner February 20, 2025 09:13
@mgmeier mgmeier marked this pull request as draft February 20, 2025 09:42
@Icelandjack Icelandjack force-pushed the baldurb/symlink branch 19 times, most recently from f82d303 to 6d25d88 Compare February 25, 2025 08:50
@Icelandjack Icelandjack force-pushed the baldurb/symlink branch 3 times, most recently from d24c23d to fcc7d97 Compare March 3, 2025 13:23
@Icelandjack Icelandjack force-pushed the baldurb/symlink branch 5 times, most recently from 671e209 to 3d6f737 Compare March 17, 2025 16:15
-> [PeerT blk]
-> IO ()
traceNodePeers tr ev = traceWith tr $ NodePeers (fmap ppPeer ev)

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

double-check: can that be rmoved?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes this was safely removed.

@@ -1,5 +1,10 @@
# ChangeLog

## 0.3.2 (March 31, 2025)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

use 0.3.3

@@ -1,5 +1,11 @@
# Revision history for trace-dispatcher


## 2.8.2 (March 31, 2025)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

defer version bump until after 10.3 release

@mgmeier
Copy link
Contributor

mgmeier commented Mar 31, 2025

Please update PR description + title.

Leave as draft until Node 10.3 release on master, then rebase and bump package versions.

@Icelandjack Icelandjack force-pushed the baldurb/symlink branch 14 times, most recently from dffe5fb to 78297ba Compare April 7, 2025 13:18
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.

2 participants