Skip to content
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

Log impacted features #16526

Merged

Conversation

kokosing
Copy link
Member

Log impacted features

This is helpful in CI to understand the context on how tests are
executed.

Impacted features are passed as a log file and then they are passed from
suite to test run, so logging them here make sure if everything is
passed correctly.

This is helpful in CI to understand the context on how tests are
executed.

Impacted features are passed as a log file and then they are passed from
suite to test run, so logging them here make sure if everything is
passed correctly.
@cla-bot cla-bot bot added the cla-signed label Mar 13, 2023
@@ -203,6 +203,7 @@ public Execution(EnvironmentFactory environmentFactory, EnvironmentOptions envir
if (impactedFeaturesFile.isPresent()) {
try {
this.impactedFeatures = Optional.of(Files.asCharSource(impactedFeaturesFile.get(), StandardCharsets.UTF_8).readLines());
log.info("Impacted features: %s", this.impactedFeatures);
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Doesn't hurt to print it here but we already print this in the CI: https://github.com/trinodb/trino/blob/master/.github/workflows/ci.yml#L809

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I know. But it is a different job. So printing here saves me clicking ;)

@kokosing kokosing merged this pull request into trinodb:master Mar 14, 2023
@kokosing kokosing deleted the origin/master/177_impacted_features branch March 14, 2023 11:26
@github-actions github-actions bot added this to the 411 milestone Mar 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

Successfully merging this pull request may close these issues.

3 participants