refactor(behaviour): extract pkg/behaviourtest and pkg/e2etest public APIs - #4901
Conversation
|
🤖 Review · |
PR Summary by QodoExtract behaviour/e2e frameworks into importable pkg/behaviourtest and pkg/e2etest
AI Description
Diagram
High-Level Assessment
Files changed (39)
|
Code Review by Qodo
1.
|
|
🤖 Finished Review · ❌ Failure · Started 10:39 PM UTC · Completed 10:53 PM UTC |
ReviewClean mechanical extraction. The refactoring correctly preserves all runtime behavior — Prior review findings resolved:
FindingsMedium
Low
Previous runReviewFindingsMedium
Low
Labels: PR extracts shared e2e test infrastructure into public packages, modifying test code and CI workflow Previous runReviewFindingsMedium
Low
Previous run (2)ReviewFindingsHigh
Medium
Low
Previous run (3)ReviewFindingsHigh
Medium
Low
Previous runReviewFindingsCritical
Medium
Low
Labels: PR extracts shared e2e test infrastructure into public packages, touching CI workflow and test code. Previous run (4)ReviewFindingsHigh
Medium
Low
Previous run (5)ReviewFindingsCritical
Medium
Low
Labels: PR extracts shared e2e test infrastructure into public packages, touching CI workflow and test code. |
6a06f21 to
94eb130
Compare
|
🤖 Review · |
94eb130 to
be76c8d
Compare
|
🤖 Review · |
cd2876b to
e32e272
Compare
|
🤖 Review · |
|
🤖 Review · ❌ Terminated · Started 5:02 AM UTC · Ended 5:16 AM UTC |
Codecov Report❌ Patch coverage is
📢 Thoughts on this report? Let us know! |
|
🤖 Finished Review · ✅ Success · Started 5:02 AM UTC · Completed 5:16 AM UTC |
|
🤖 Review · |
|
🤖 Finished Review · ✅ Success · Started 5:30 AM UTC · Completed 5:40 AM UTC |
|
🤖 Finished Review · ❌ Failure · Started 12:46 PM UTC · Completed 1:03 PM UTC |
Superseded by updated review
… APIs Move shared live-test infrastructure from e2e/admin into pkg/e2etest and the Gherkin behaviour framework into pkg/behaviourtest so external repos can import pkg/* without e2e/ paths. Leave thin runners in e2e/admin and e2e/behaviour; update CI path filters and docs for version pinning. Closes fullsend-ai#3784 Signed-off-by: Barak Korren <bkorren@redhat.com> Co-authored-by: Cursor <cursoragent@cursor.com>
Site previewPreview: https://a61b5116-site.fullsend-ai.workers.dev Commit: |
|
🤖 Finished Review · ✅ Success · Started 9:17 AM UTC · Completed 9:29 AM UTC |
Summary
e2e/admin/into importablepkg/e2etest/e2e/behaviour/intopkg/behaviourtest/e2e/admin/admin_test.goande2e/behaviour/suite_test.go; external repos import onlypkg/*BuildModuleBinaryfor external consumers pinning this module; parameterize fixture lookup viaworld.FixturesRootRelated Issue
Closes #3784
Changes
pkg/e2etest/andpkg/behaviourtest/changesTest plan
make go-test— unit tests pass (including moved tests in pkg/)make go-vetmake lint(staged)e2ejob — admin install e2ebehaviourjob — Gherkin triage scenarioMade with Cursor