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

chore: improved error handling when config uses cluster-id and pubsub topics #2368

Merged
merged 2 commits into from
Jan 30, 2024

Conversation

SionoiS
Copy link
Contributor

@SionoiS SionoiS commented Jan 24, 2024

Description

An error is now returned when trying to do for example;
--cluster-id=2 --pubsub-topic=/waku/2/rs/1/7
--cluster-id=0 --pubsub-topic=/waku/2/rs/1/7
--cluster-id=2 --content-topic=/myapp/2/mytopic/proto
--cluster-id=0 --content-topic=/myapp/2/mytopic/proto
N.B. This in addition to shard errors

Tracking #2259

@SionoiS SionoiS added the enhancement New feature or request label Jan 24, 2024
@SionoiS SionoiS self-assigned this Jan 24, 2024
Copy link

github-actions bot commented Jan 24, 2024

You can find the image built from this PR at

quay.io/wakuorg/nwaku-pr:2368

Built from eff1a21

@SionoiS SionoiS force-pushed the chore--improved-error-handling branch from bd98bfc to c08e807 Compare January 24, 2024 15:30
Copy link
Contributor

@gabrielmer gabrielmer left a comment

Choose a reason for hiding this comment

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

LGTM, thanks so much!

Also noticed that this change would fix also #2311

Tested it and indeed it resolves that issue too 🥳

Copy link
Collaborator

@Ivansete-status Ivansete-status left a comment

Choose a reason for hiding this comment

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

LGTM! Thanks for it! I just added a couple of nitpick comments :)

apps/wakunode2/app.nim Outdated Show resolved Hide resolved
apps/wakunode2/app.nim Outdated Show resolved Hide resolved
@SionoiS
Copy link
Contributor Author

SionoiS commented Jan 29, 2024

LGTM! Thanks for it! I just added a couple of nitpick comments :)

I added a proc isClusterMismatched

@danisharora099
Copy link

thank you! will look into resolving js-waku interop tests

@SionoiS SionoiS merged commit e04e35e into master Jan 30, 2024
9 of 10 checks passed
@SionoiS SionoiS deleted the chore--improved-error-handling branch January 30, 2024 12:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants