add ci-normalize tool - #439
Conversation
|
Review the following changes in direct dependencies. Learn more about Socket for GitHub.
|
|
Example OSS run: https://github.com/gravitational/teleport/actions/runs/21073646763 |
|
OSS run with latest changes: https://github.com/gravitational/teleport/actions/runs/21214190170/job/61030541144 |
| select { | ||
| case <-d.ctx.Done(): | ||
| return d.ctx.Err() | ||
| default: | ||
| } |
There was a problem hiding this comment.
Should we teach sw.Write to respect contexts instead of checking once here?
There was a problem hiding this comment.
Internally it sw.Write checks the same context, this is just a escape hatch to error early if we already cancelled the context.
rosstimothy
left a comment
There was a problem hiding this comment.
Looks better but it still feels overly abstracted in some places. I know that you were initially thinking to make this apply to junit files and benchmark tests which may be contributing to the abstractions and complexity. Can we pare this down a bit more?
| errFn: func(tt require.TestingT, err error, i ...interface{}) { | ||
| assert.NoError(tt, err) | ||
| }, |
There was a problem hiding this comment.
Did this get reverted?
711ecab to
42380b9
Compare
|
Could we please get a review from the @gravitational/cloud-team? |
This is a MVP to get some metrics going into our results bucket, there is likely a lot of things that could be done tidier and will likely need more iteration in the future with expanded coverage.