Skip to content

Test enforce-groovy-migration workflow#10746

Closed
sarahchen6 wants to merge 3 commits intomasterfrom
sarahchen6/test-g2j-workflow
Closed

Test enforce-groovy-migration workflow#10746
sarahchen6 wants to merge 3 commits intomasterfrom
sarahchen6/test-g2j-workflow

Conversation

@sarahchen6
Copy link
Contributor

@sarahchen6 sarahchen6 commented Mar 5, 2026

What Does This Do

This PR tests #10730.

Jira ticket: #10744

Testing Results

In draft mode, the workflow should be skipped (i.e. pass).
image

In ready to review mode...

The workflow should fail when a new Groovy test file was created in a migrated module and leave a comment.
image

The workflow should pass and leave a warning comment when a new Groovy test file was created in a soon-to-be-migrated module (i.e. not already migrated and not smoke tests or instrumentations). After removing the ShouldError.groovy file, we also see that the error comment has been deleted.
image

The workflow should pass and leave no comment when a new Groovy test file was created in a dd-smoke-tests or dd-java-agent/instrumentations module, or when an existing Groovy test file was edited. After removing the ShouldWarn.groovy file, we also see that the error comment has been deleted.
image

Finally, the override tag: override-groovy-enforcement should skip the workflow entirely. This was tested successfully in the original workflow implementation PR linked at the top of this description.

@sarahchen6 sarahchen6 added the tag: do not merge Do not merge changes label Mar 5, 2026
@sarahchen6 sarahchen6 marked this pull request as ready for review March 5, 2026 15:42
@sarahchen6 sarahchen6 requested review from a team as code owners March 5, 2026 15:42
@sarahchen6 sarahchen6 requested review from amarziali and removed request for a team March 5, 2026 15:42
@github-actions
Copy link
Contributor

github-actions bot commented Mar 5, 2026

Hi! 👋 Thanks for your pull request! 🎉

To help us review it, please make sure to:

  • Add at least one type, and one component or instrumentation label to the pull request

If you need help, please check our contributing guidelines.

@sarahchen6
Copy link
Contributor Author

Apologies in advance for the pings while testing! The PR needs to be in undrafted for the workflow to take effect. Feel free to unsubscribe.

@sarahchen6
Copy link
Contributor Author

sarahchen6 commented Mar 5, 2026

Done testing!

@sarahchen6 sarahchen6 closed this Mar 5, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

tag: do not merge Do not merge changes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant