Chao Li

Results 24 issues of Chao Li

WaitForUpdates has been depracted since 4.1, WaitForUpdatesEx is the offical replacement. WaitForUpdatesEx has an option to specify wait timeout. We recently often encounter ReadTimeout error against wait_until because some task...

needs review
enhancement

## Changes proposed by this PR closes #8473 * [x] db schema change (up) * [x] db schema change (down) * [x] update `db.WorkerResourceCaches` * [x] update `InitResourceCache` and `InitStreamedResourceCache`...

bug

## Changes proposed by this PR closes #3299 * [x] done ## Notes to reviewer There have been much such requests, and I fully understood why implied `get` is needed...

enhancement

## Changes proposed by this PR We experienced an outage last week. One result of the outage is that all workers over extremely overloaded. Each worker got thousands of containers...

enhancement

## What challenge are you facing? I have realized the closed issue https://github.com/concourse/concourse/issues/837, as well as @vito 's post on stackoverflow https://stackoverflow.com/questions/38964299/why-does-concourse-get-a-resource-after-puting-it As our users keep raising the questions to...

enhancement

## Changes proposed by this PR If jobA of pipelineA call `set_pipeline` step to set pipelineB, then jobA is pipelineB's parent job. Currently Concourse has a logic that, if jobA...

enhancement

## Changes proposed by this PR This is a small refactor. `BeforeSelectWorker()` was added purely for having a place to call `OnCheckBuildStart()`. But ended up that `OnCheckBuildStart()` is called in...

misc

## Summary After upgrade one of cluster from 6.7.8, ATC cpu usages got to very high: ![image](https://user-images.githubusercontent.com/18585861/174219821-ec463272-07c4-4182-8903-ec247989c65a.png) Gprofile shows: ![runway-atc-74494cb468-wssnf](https://user-images.githubusercontent.com/18585861/174219852-8a96d9c0-658b-468b-885a-0513bb5c30a0.svg) Where `ConnectionTracker` was added by @vito 5 years ago: https://github.com/concourse/concourse/commit/8425a0b4e775d52732d4a54090a0e63b236095a4...

bug

## Changes proposed by this PR closes #7625 * [x] done ## Notes to reviewer Tested with below pipeline: ```yaml var_sources: - name: vars type: dummy config: vars: base_username2: alice...

enhancement

## Changes proposed by this PR A check step always update scope of a resource, but in most of case, a resource's scope should be unchanged. There is an optimization...

enhancement