You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Potential issues introduced by fix: skip head merge commits on pull requests #6452
So, prior to this PR, we didn't perform any network operations when starting a dagger session. However, after this, we start doing git operations. My worry is that this has introduced subtle bugs with how this works.
1: > in init
1: starting engine
Error: timed out waiting for session params: Error fetching branch: error fetching branch from origin: exit status 128Error fetching branch: error getting commit: object not found1: connect
: > in init
1: starting engine
1: starting engine [0.00s]
1: starting session
Error fetching branch: error fetching branch from origin: exit status 128Error fetching branch: error adding fork as remote: exit status 31: [0.40s] OK!
1: starting session [0.40s]
1: connect DONE
OK!
This is pretty consistent - the error doesn't appear to be fatal (the fatal case is caused by an internal infra issue and is being investigated separately)
strange that we're seeing that now since that has been merged a while back 🤔
once thing that I've noticed is that we never added a timeout to the git fetch operation. It'd be nice to have a timeout there and probably just log the error and continue executing the pipeline?
@gerhard@matipan let's get together when possible since it's very hard to understand what's happening here if we can't can't get the engine logs for that runner VM.
Rather than getting Engine logs out of the current Dagger Runners setups, I am most keen on finishing the migration to the new EKS CI cluster. We've been delaying it for over a month now, I really want us to move away from this:
Rather than getting Engine logs out of the current Dagger Runners setups, I am most keen on finishing the migration to the new EKS CI cluster. We've been delaying it for over a month now, I really want us to move away from this:
yes, SGTM! It's relatively easy for us (infra access) to get the engine logs via kubectl for the moment, so we're good on that front. 👍
Activity
grouville commentedon Jan 18, 2024
Nice one 🙏
marcosnils commentedon Jan 19, 2024
strange that we're seeing that now since that has been merged a while back 🤔
once thing that I've noticed is that we never added a timeout to the git fetch operation. It'd be nice to have a timeout there and probably just log the error and continue executing the pipeline?
jedevc commentedon Jan 25, 2024
My initial assessment was wrong 🎉
There are two issues at play here:
Error fetching branch: error fetching branch from origin: exit status 128Error fetching branch: error getting commit: object not found1on seemingly every run: https://github.com/dagger/dagger/actions/runs/7653266578/job/20854758251?pr=6496Error: timed out waiting for session paramsis related to an internal infrastructure issue with our cloud caching service.I'll update the issue description to focus instead on the first issue.
marcosnils commentedon Jan 25, 2024
Have we validated that it's because of caching every time? For example, today I saw this issue while merging a PR here https://github.com/dagger/dagger.io/actions/runs/7659846458/job/20875876380#step:7:41 but we didn't observe any caching incidents or elevated response times.
@gerhard @matipan let's get together when possible since it's very hard to understand what's happening here if we can't can't get the engine logs for that runner VM.
gerhard commentedon Jan 26, 2024
A few quick solutions to not being able to get the Engine logs from the
dagger-runner:dev-enginedoes it:dagger/.github/workflows/_hack_make.yml
Lines 34 to 39 in 41208c4
dagger/.github/workflows/publish-sdk-go.yml
Line 9 in 41208c4
Rather than getting Engine logs out of the current Dagger Runners setups, I am most keen on finishing the migration to the new EKS CI cluster. We've been delaying it for over a month now, I really want us to move away from this:
marcosnils commentedon Jan 26, 2024
yes, SGTM! It's relatively easy for us (infra access) to get the engine logs via
kubectlfor the moment, so we're good on that front. 👍