Replies: 5 comments 12 replies
-
Suggestion: Speed up Zebra's syncing speed. Our longest workflows sync Zebra from the genesis block, and take a few hours. But we know Zebra can go faster, because it can copy its state in about 15 minutes. If we can work out what is slow, and fix the slowest bits, we can make all these workflows faster. And we can make Zebra faster for users. |
Beta Was this translation helpful? Give feedback.
-
Suggestion: Only re-sync from genesis when it is actually needed. We have a lot of database change PRs open right now. Each time one of them gets rebuilt, it replaces the cached state image with its own state version. When the state version doesn't match the running PR, all the cached state tests take a few hours, because they sync from genesis.
|
Beta Was this translation helpful? Give feedback.
-
Suggestion: Use rebase merges to GitHub's merging algorithm sometimes detects conflicts with squashed PRs, when If we rebased PR commits on |
Beta Was this translation helpful? Give feedback.
-
Suggestion: Reduce build time If we can build Zebra faster, most jobs will finish faster. Example: I just discovered that we're building all the compression libraries into our (And maybe we should be using |
Beta Was this translation helpful? Give feedback.
-
I've been analyzing some behaviors with our PR workflow, this are some annotations:
Possible solutions:
|
Beta Was this translation helpful? Give feedback.
-
We want to make pull requests merge faster, but still achieve our other goals.
What can we do to speed up our CI?
If we post each suggestion as a top-level comment, they will each get their own discussion thread.
Goals
Here are our goals for reviewing, testing, and merging code:
(Based on #3935.)
Beta Was this translation helpful? Give feedback.
All reactions