-
Notifications
You must be signed in to change notification settings - Fork 1.8k
[CAPPL-735] Engine V2 execution phase (minimal impl) #17590
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
ddacd7f
to
bf4850e
Compare
bf4850e
to
cb8d3c1
Compare
cb8d3c1
to
36cbd6b
Compare
|
||
require.NoError(t, engine.Close()) | ||
}) | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
super nit, could you add a second test that runs the test executable used to test the module? It'll ensure that there's no gaps to re-use it. I wouldn't remove this test, since it's easier to debug if things go wrong.
I don't use config in that test yet, but it probably should opt to soon.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This test is blocked until SetCapabilityExecutor
is implemented on the host. So I've split this test out to a separate ticket.
Flakeguard SummaryRan new or updated tests between View Flaky Detector Details | Compare Changes Found Flaky Tests ❌1 Results
ArtifactsFor detailed logs of the failed tests, please refer to the artifact failed-test-results-with-logs.json. |
WorkflowExecutionTimeoutMs uint32 | ||
CapabilityCallTimeoutMs uint32 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why not use time.Duration
for these? Sheds the conversion on use, and makes the literals more readable.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
+1, for context, the other variables are already labeled Ms and uint32.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this pattern is used throughout the capabilities
and gateway
packages, can move to a separate discussion because changing here makes this now inconsistent with other areas of the code.
|
Flakeguard SummaryRan new or updated tests between View Flaky Detector Details | Compare Changes Found Flaky Tests ❌1 Results
ArtifactsFor detailed logs of the failed tests, please refer to the artifact failed-test-results-with-logs.json. |
No description provided.