commit | 44ccac1954faabf1f22fac0df8c214d3eaa76f3d | [log] [tgz] |
---|---|---|
author | Fumitoshi Ukai <ukai@google.com> | Mon Jun 17 08:58:48 2024 |
committer | LUCI CQ <infra-scoped@luci-project-accounts.iam.gserviceaccount.com> | Mon Jun 17 08:58:48 2024 |
tree | ae3a686b8fa5a655f08fdf5191fd7239c10e2739 | |
parent | fcf835480b74a9f75555a2d2a17e6157fc964cd5 [diff] |
siso: fix crash in lazyCompute: "send no closed channel". When interrupted, build finished and hashfs is closed, but some goroutines for scandeps keep running, and it would trigger lazyCompute and try to send on closed channel. Set digester's q to nil when closed, and check it in lazyCompute before sending to the channel. Also check whether ctx is done in lazyCompute and compute. Bug: b/347635033 Change-Id: I5ef43467264b8621aebb12936773f93a9d6f65ef Reviewed-on: https://chromium-review.googlesource.com/c/infra/infra/+/5636173 Reviewed-by: Takuto Ikuta <tikuta@chromium.org> Auto-Submit: Fumitoshi Ukai <ukai@google.com> Commit-Queue: Fumitoshi Ukai <ukai@google.com> Cr-Commit-Position: refs/heads/main@{#66253}
Welcome to the Chrome Infra repository!
Wondering where to start? Check out General Chrome Infrastructure documentation. In particular, to check out this repo and the rest of the infrastructure code, follow the instructions here. The rest of this page is specific to this repo.
sys.path
modifications.git push origin <updated hash>:deployed
git push
commandIf you've added a new module, run your tests with test.py:
*_test.py
files to this directory.Double-check that your tests are getting picked up when you want them to be: ./test.py test <path-to-package>
.
Tests still not getting picked up by test.py? Double-check to make sure you have __init__.py
files in each directory of your module so Python recognizes it as a package.
The preferred style is PEP8 with two-space indent; that is, the Chromium Python style, except functions use lowercase_with_underscores
. Use yapf (git cl format
) to autoformat new code.