Conversation
Signed-off-by: Akarsh Sahlot <akarshsahlot7@gmail.com>
9aed00f to
68ddabe
Compare
smolkaj
left a comment
There was a problem hiding this comment.
Why are we adding a LICENSE file and a dubious README..md file to the workflows folder?
deleted unnecessary files Signed-off-by: Akarsh Sahlot <122122123+AkarshSahlot@users.noreply.github.com>
deleted unnecesaary file Signed-off-by: Akarsh Sahlot <122122123+AkarshSahlot@users.noreply.github.com>
deleted unnecessary file Signed-off-by: Akarsh Sahlot <122122123+AkarshSahlot@users.noreply.github.com>
If I understand correctly, the LICENSE and README.md file might be from a software package that helps one run Github Actions workflows on a local development system. If so, I agree that they should be removed from this PR, leaving only the modified ci-build-proto.yml file (which I have not attempted to understand or review the changes proposed here). |
deleted read me file Signed-off-by: Akarsh Sahlot <122122123+AkarshSahlot@users.noreply.github.com>
|
| strategy: | ||
| matrix: | ||
| # We only test on the oldest version we want to support and latest. | ||
| # We trust that things also work for versions in the middle. |
There was a problem hiding this comment.
Removing these comments seems like the wrong thing to do, unless you know that they are obsolete or wrong. If they are correct, they were written by someone who wanted to remember the reason that the lines of code were added, and why they were written in this way. That is valuable information, and should not be discarded.
There was a problem hiding this comment.
There are many more such comments removed elsewhere in your PR. My comment applies to all of those changes, not only the ones that I directly commented on.
There was a problem hiding this comment.
Please, please look at the diffs of your PR on the Github web site to see if it is what you think it should be. Without doing that, you might be proposing changes in the PR that you forgot you made, or never even intended to make.
There was a problem hiding this comment.
ok I will add back all those changes in comments
added back uncommented part Signed-off-by: Akarsh Sahlot <122122123+AkarshSahlot@users.noreply.github.com>
|
@AkarshSahlot thanks for looking into improving cache performance! Fast CI builds are super useful to allow quickly operating on PRs when they don't build the first time around. From what I understand, the main improvement here is to enable Bazel disk caching? A few questions:
|
|
@AkarshSahlot bump? |
|
Closing this PR since it currently seems to be stale. |
Logic for caching prior is:
Choose a completely new entry in the cache only if:
The build is taking place on the primary branch,
Build duration is more than 3 minutes (env.duration > 180),
The step is executed self-sufficiently (always()).
The updated version improved the cache by:
Efficient use of bazel-disk caching to improve performance.
Broadening the restore-keys to increase the possibility of cache hits.
Performing simultaneous builds to reduce the total build time.
overall speedup bazel CI builds