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

Initial version of Dev UI Dependencies menu item #40481

Merged
merged 1 commit into from
May 7, 2024

Conversation

aloubyansky
Copy link
Member

This menu item gets enabled when quarkus.bootstrap.incubating-model-resolver option is true (has to be set either in a pom.xml or as a system property).

In collaboration with Phillip Kruger [email protected]

quarkus.bootstrap.incubating-model-resolver

In collaboration with Phillip Kruger <[email protected]>
Copy link
Member

@phillip-kruger phillip-kruger left a comment

Choose a reason for hiding this comment

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

There are some Sysouts that might have to be replaced with logger or removed ?

Comment on lines +295 to +301
private static void logPaths(List<DepPath> paths, String title) {
System.out.println(title + " total: " + paths.size());
int j = 1;
for (var dp : paths) {
System.out.println(j++ + ") " + dp);
}
}
Copy link
Member

Choose a reason for hiding this comment

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

Maybe this should be removed ?

Copy link
Member Author

Choose a reason for hiding this comment

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

This will be logged only if the shortest common paths are enabled, which is for now hardcoded to false.

return;
}
if (node.dependents.isEmpty()) {
System.out.println(node.resolvedDep.getArtifactId() + " has no dependents");
Copy link
Member

Choose a reason for hiding this comment

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

Remove or change to using Logger ?

Copy link
Member Author

Choose a reason for hiding this comment

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

Same as above. I can change it to use proper logger API but this code isn't running currently anyway.

This comment has been minimized.

Copy link

quarkus-bot bot commented May 7, 2024

Status for workflow Quarkus CI

This is the status report for running Quarkus CI on commit 040d8a5.

Failing Jobs

Status Name Step Failures Logs Raw logs Build scan
✔️ Native Tests - HTTP Failures Logs Raw logs 🚧

Failures

⚙️ Native Tests - HTTP #

- Failing: integration-tests/rest-client 

📦 integration-tests/rest-client

Failed to execute goal uk.co.automatictester:truststore-maven-plugin:3.0.0:generate-truststore (self-signed-truststore) on project quarkus-integration-test-rest-client: Execution self-signed-truststore of goal uk.co.automatictester:truststore-maven-plugin:3.0.0:generate-truststore failed: Unable to establish TLS connection with: self-signed.badssl.com:443


Flaky tests - Develocity

⚙️ JVM Tests - JDK 17

📦 extensions/smallrye-reactive-messaging-kafka/deployment

io.quarkus.smallrye.reactivemessaging.kafka.deployment.dev.KafkaDevServicesDevModeTestCase.sseStream - History

  • Assertion condition defined as a Lambda expression in io.quarkus.smallrye.reactivemessaging.kafka.deployment.dev.KafkaDevServicesDevModeTestCase Expecting size of: [] to be greater than or equal to 2 but was 0 within 10 seconds. - org.awaitility.core.ConditionTimeoutException
org.awaitility.core.ConditionTimeoutException: 
Assertion condition defined as a Lambda expression in io.quarkus.smallrye.reactivemessaging.kafka.deployment.dev.KafkaDevServicesDevModeTestCase 
Expecting size of:
  []
to be greater than or equal to 2 but was 0 within 10 seconds.
	at org.awaitility.core.ConditionAwaiter.await(ConditionAwaiter.java:167)
	at org.awaitility.core.AssertionCondition.await(AssertionCondition.java:119)
	at org.awaitility.core.AssertionCondition.await(AssertionCondition.java:31)

@aloubyansky aloubyansky merged commit 89b732b into quarkusio:main May 7, 2024
51 checks passed
@quarkus-bot quarkus-bot bot added this to the 3.11 - main milestone May 7, 2024
Root root = new Root();
root.rootId = curateOutcomeBuildItem.getApplicationModel().getAppArtifact().toCompactCoords();
Set<String> allGavs = new TreeSet<>();
buildTree(curateOutcomeBuildItem.getApplicationModel(), root, Optional.of(allGavs), Optional.empty());
Copy link
Member

Choose a reason for hiding this comment

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

My understanding is that we will always execute this in dev mode once we switch to the new incubating model.

Question: how slow is it?

Copy link
Member Author

Choose a reason for hiding this comment

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

Good point. It's not really slow but would be good to avoid it. @phillip-kruger could we avoid it until we get a click on "Dependencies"?

Copy link
Member

Choose a reason for hiding this comment

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

We can, we then need to move it from build time, where we do this at the moment, to runtime. Let me know if you want to change that and we can do it that way

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants