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: upgrade protons + commit new proto code #1898

Merged
merged 13 commits into from
Apr 7, 2024
Merged

Conversation

danisharora099
Copy link
Collaborator

@danisharora099 danisharora099 commented Mar 9, 2024

Problem

also: https://github.com/waku-org/js-waku/actions/runs/8209802396/job/22456033863?pr=1889

Solution

This should be followed by generating a new lockfile (ref: #1810 (comment))

Notes

Copy link

github-actions bot commented Mar 18, 2024

size-limit report 📦

Path Size Loading time (3g) Running time (snapdragon) Total time
Waku node 180.82 KB (-2.66% 🔽) 3.7 s (-2.66% 🔽) 18 s (+13.43% 🔺) 21.6 s
Waku Simple Light Node 180.86 KB (-2.48% 🔽) 3.7 s (-2.48% 🔽) 15.9 s (+23.11% 🔺) 19.5 s
ECIES encryption 23.11 KB (+1% 🔺) 463 ms (+1% 🔺) 3.3 s (-1.89% 🔽) 3.8 s
Symmetric encryption 22.58 KB (+0.75% 🔺) 452 ms (+0.75% 🔺) 4 s (-4.04% 🔽) 4.4 s
DNS discovery 72.4 KB (-1.73% 🔽) 1.5 s (-1.73% 🔽) 14.3 s (+4.18% 🔺) 15.7 s
Peer Exchange discovery 73.97 KB (-1.86% 🔽) 1.5 s (-1.86% 🔽) 15.6 s (+13.26% 🔺) 17.1 s
Local Peer Cache Discovery 67.71 KB (-1.86% 🔽) 1.4 s (-1.86% 🔽) 7.8 s (+2.73% 🔺) 9.2 s
Privacy preserving protocols 38.75 KB (-3.05% 🔽) 775 ms (-3.05% 🔽) 6.1 s (-43.28% 🔽) 6.9 s
Waku Filter 20.17 KB (+0.31% 🔺) 404 ms (+0.31% 🔺) 4.1 s (+18.57% 🔺) 4.5 s
Waku LightPush 110.08 KB (-4.62% 🔽) 2.3 s (-4.62% 🔽) 17.3 s (+34.9% 🔺) 19.5 s
History retrieval protocols 110.77 KB (-4.55% 🔽) 2.3 s (-4.55% 🔽) 17.5 s (+46.88% 🔺) 19.7 s
Deterministic Message Hashing 4.83 KB (-2.55% 🔽) 97 ms (-2.55% 🔽) 151 ms (-54.51% 🔽) 248 ms

@danisharora099 danisharora099 changed the title chore: generate new lockfile & update proto chore: commit new proto code + lockfile Mar 28, 2024
@danisharora099 danisharora099 marked this pull request as ready for review March 28, 2024 10:40
@danisharora099 danisharora099 requested a review from a team as a code owner March 28, 2024 10:40
@danisharora099 danisharora099 changed the title chore: commit new proto code + lockfile chore: upgrade protons + related deps Mar 28, 2024
@@ -191,7 +191,7 @@ describe("Waku Store, cursor", function () {
for await (const page of waku.store.queryGenerator([TestDecoder], {
cursor
})) {
page;
void page;
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

side change that eslint complained about

Comment on lines +187 to 196
// ensure the connection is closed from the other side
let counter = 0;
while (waku.libp2p.getConnections().length !== 0) {
if (counter > 10) {
console.error("Connection was not closed");
break;
}
await delay(100);
counter++;
}

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

side change to handle flaky tests

@danisharora099 danisharora099 changed the title chore: upgrade protons + related deps chore: upgrade protons + commit new proto code Mar 28, 2024
Copy link
Member

@adklempner adklempner left a comment

Choose a reason for hiding this comment

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

discussed with @danisharora099 and approved; we don't use the new opts that are generated by upgraded protons so my comments are irrelevant

@danisharora099 danisharora099 merged commit 8ec11b2 into master Apr 7, 2024
10 of 12 checks passed
@danisharora099 danisharora099 deleted the chore/lockfile branch April 7, 2024 07:55
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