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

RuntimeUpdatesProcessor now supports hot replacement problems #31645

Merged
merged 1 commit into from
Mar 14, 2023

Conversation

FroMage
Copy link
Member

@FroMage FroMage commented Mar 7, 2023

Fixes #31013

This allows participants that implement HotReplacementSetup to throw problems which will:

  • be printed in the console
  • go via the ErrorPageGenerators process to be displayed in the web UI

I'm unsure about the fact that I only stop and map the first error from the list of HotReplacementSetup providers. But ATM we don't have support for ErrorPageGenerators for more than one kind of exception at a time.

@quarkus-bot

This comment has been minimized.

@quarkus-bot

This comment has been minimized.

@FroMage
Copy link
Member Author

FroMage commented Mar 10, 2023

The test failure doesn't seem related…

@quarkus-bot
Copy link

quarkus-bot bot commented Mar 13, 2023

Failing Jobs - Building 25bc923

Status Name Step Failures Logs Raw logs
Gradle Tests - JDK 11 Download Maven Repo Failures Logs Raw logs
✔️ Gradle Tests - JDK 11 Windows

Full information is available in the Build summary check run.

Failures

⚙️ Gradle Tests - JDK 11 #

- Failing: integration-tests/gradle 

📦 integration-tests/gradle

io.quarkus.gradle.devmode.MultiModuleWithEmptyModuleDevModeTest.main line 22 - More details - Source on GitHub

java.lang.AssertionError: 

Expecting actual:

@geoand
Copy link
Contributor

geoand commented Mar 13, 2023

Don't worry about the Gradle tests, they are not terribly reliable

@FroMage
Copy link
Member Author

FroMage commented Mar 14, 2023

In this case, let's merge and get rid of this.

@FroMage FroMage merged commit 2eb4839 into quarkusio:main Mar 14, 2023
@quarkus-bot quarkus-bot bot added the kind/enhancement New feature or request label Mar 14, 2023
@quarkus-bot quarkus-bot bot added this to the 3.0 - main milestone Mar 14, 2023
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.

RuntimeUpdatesProcessor should offer a way for hot reload consumers to set an exception
2 participants