Skip to content

renamed ForkPolicy configuration option as ResponderCoreAffinityPolicy #6192

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

coot
Copy link
Contributor

@coot coot commented Apr 24, 2025

No description provided.

@coot coot requested a review from a team as a code owner April 24, 2025 10:22
@coot coot self-assigned this Apr 24, 2025
@github-project-automation github-project-automation bot moved this to In Progress in Ouroboros Network Apr 24, 2025
@coot coot moved this from In Progress to In Review in Ouroboros Network Apr 24, 2025
Copy link
Contributor

@karknu karknu left a comment

Choose a reason for hiding this comment

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

LGTM

-- * `ResponderForkPolicy` corresponds to `Ouroboros.Network.Mux.responderForkPolicy`
-- | We expose the `Mux.ForkPolicy` as a `NodeConfiguration` field.
--
-- * `NoResponderCoreAffinity` corresponds to `Mux.noBindForkPolicy`
Copy link
Contributor

Choose a reason for hiding this comment

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

What do these mean however? Can you link to documentation?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

It ought to be linked through haddocks, but there's something wrong with your haddocks pipeline: https://cardano-node.cardano.intersectmbo.org/cardano-node/Cardano-Node-Configuration-POM.html

Copy link
Contributor Author

@coot coot Apr 28, 2025

Choose a reason for hiding this comment

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

It will work if:

  • in this PR we use full module names rather than qualification (which likely is is a bug in haddock)
  • use a newer version of cabal (I tested it with cabal-0.14.2.0) (one needs to get rid of the --local switch which was removed from cabal project-haddock command). The nix develop exposes cabal-install-3.10.3.0.
  • in your github-page action you might need to use a custom cabal.project.local file which enables documentation for dependencies. Locally I have:
documentation: False
package ouroboros-network-framework
  documentation: True

and it worked, but it's probably enough to change documentation: True and not include the per-package specific option (which would be annoying if one needed to do that for all dependencies); or maybe a custom cabal.project.local file is not needed at all.

@coot coot force-pushed the coot/responder-core-affinity-policy branch 2 times, most recently from 937dd88 to 7411412 Compare April 28, 2025 09:15
@coot coot force-pushed the coot/responder-core-affinity-policy branch from 7411412 to 6ebb8d0 Compare April 28, 2025 12:42
@coot coot added this pull request to the merge queue Apr 29, 2025
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Apr 29, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: In Review
Development

Successfully merging this pull request may close these issues.

3 participants