Skip to content

[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

Merged
merged 10 commits into from
May 8, 2025

Conversation

bolekk
Copy link
Contributor

@bolekk bolekk commented May 6, 2025

No description provided.

@bolekk bolekk force-pushed the feature/CAPPL-735-execution-phase branch 3 times, most recently from ddacd7f to bf4850e Compare May 6, 2025 22:52
@bolekk bolekk changed the title [CAPPL-735] Engine V2 execution phase [CAPPL-735] Engine V2 execution phase (minimal impl) May 6, 2025
@bolekk bolekk marked this pull request as ready for review May 6, 2025 22:53
@bolekk bolekk requested a review from a team as a code owner May 6, 2025 22:53
@bolekk bolekk requested review from MStreet3 and nolag May 6, 2025 22:53
@bolekk bolekk force-pushed the feature/CAPPL-735-execution-phase branch from bf4850e to cb8d3c1 Compare May 6, 2025 23:00
@bolekk bolekk force-pushed the feature/CAPPL-735-execution-phase branch from cb8d3c1 to 36cbd6b Compare May 6, 2025 23:20
@bolekk bolekk requested a review from justinkaseman May 6, 2025 23:38

require.NoError(t, engine.Close())
})
}
Copy link
Contributor

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.

Copy link
Contributor

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.

@MStreet3 MStreet3 requested review from a team as code owners May 7, 2025 19:09
@MStreet3 MStreet3 requested a review from vyzaldysanchez May 7, 2025 19:09
@MStreet3 MStreet3 requested a review from nolag May 8, 2025 12:12
Copy link
Contributor

github-actions bot commented May 8, 2025

Flakeguard Summary

Ran new or updated tests between develop and 2ecd2be (feature/CAPPL-735-execution-phase).

View Flaky Detector Details | Compare Changes

Found Flaky Tests ❌

1 Results
Name Pass Ratio Panicked? Timed Out? Race? Runs Successes Failures Skips Package Package Panicked? Avg Duration Code Owners
Test_MeterReports 33.3333% true false false 3 1 2 0 github.com/smartcontractkit/chainlink/v2/core/services/workflows true 0s @smartcontractkit/keystone

Artifacts

For detailed logs of the failed tests, please refer to the artifact failed-test-results-with-logs.json.

Comment on lines +64 to +65
WorkflowExecutionTimeoutMs uint32
CapabilityCallTimeoutMs uint32
Copy link
Contributor

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.

Copy link
Contributor

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.

Copy link
Contributor

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.

@cl-sonarqube-production
Copy link

Copy link
Contributor

github-actions bot commented May 8, 2025

Flakeguard Summary

Ran new or updated tests between develop and be5ac26 (feature/CAPPL-735-execution-phase).

View Flaky Detector Details | Compare Changes

Found Flaky Tests ❌

1 Results
Name Pass Ratio Panicked? Timed Out? Race? Runs Successes Failures Skips Package Package Panicked? Avg Duration Code Owners
Test_MeterReports 66.6667% true false false 3 2 1 0 github.com/smartcontractkit/chainlink/v2/core/services/workflows true 0s @smartcontractkit/keystone

Artifacts

For detailed logs of the failed tests, please refer to the artifact failed-test-results-with-logs.json.

@nolag nolag added this pull request to the merge queue May 8, 2025
Merged via the queue into develop with commit 68aa27d May 8, 2025
143 of 146 checks passed
@nolag nolag deleted the feature/CAPPL-735-execution-phase branch May 8, 2025 14:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants