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

Dev mode: fix several problems when the initial build fails #35399

Merged
merged 1 commit into from
Aug 19, 2023

Conversation

mkouba
Copy link
Contributor

@mkouba mkouba commented Aug 17, 2023

  • IsolatedDevModeMain - replace the default exit handler before the app is created
  • previously, if there was a deployment problem then the default exit handler was used; as a result the dev mode exited after the subsequent build failure
  • run DevModeListener.afterFirstStart() during restart if the first run did not succeed
  • fix FixConfigOnErrorTest - add missing Test annotation
  • fix Qute and ArC optimizations to skip generation of certain classes
  • fixes dev mode crashes when adding and removing scope producer #35381

- IsolatedDevModeMain - replace the default exit handler _before_ the app is created
- previously, if there was a deployment problem then the default exit
handler was used; as a result the dev mode exited after the subsequent build
failure
- run DevModeListener.afterFirstStart() during restart if the first run
  did not succeed
- fix FixConfigOnErrorTest - add missing Test annotation
- fix Qute and ArC optimizations to skip generation of certain classes
- fixes quarkusio#35381
@quarkus-bot quarkus-bot bot added area/arc Issue related to ARC (dependency injection) area/core area/qute The template engine area/vertx labels Aug 17, 2023
Copy link
Contributor

@Ladicek Ladicek left a comment

Choose a reason for hiding this comment

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

The test and the ArC changes LGTM.

The rest makes sense, but I don't feel qualified to actually properly review.

Copy link
Contributor

@manovotn manovotn left a comment

Choose a reason for hiding this comment

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

Arc parts are definitely good; the rest looks more than sensible to me, but I am not an author of those pieces so my understanding maybe be limited :)

@quarkus-bot

This comment has been minimized.

@quarkus-bot

This comment has been minimized.

@quarkus-bot
Copy link

quarkus-bot bot commented Aug 19, 2023

✔️ The latest workflow run for the pull request has completed successfully.

It should be safe to merge provided you have a look at the other checks in the summary.

@geoand geoand merged commit 01902ac into quarkusio:main Aug 19, 2023
@quarkus-bot quarkus-bot bot added this to the 3.4 - main milestone Aug 19, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/arc Issue related to ARC (dependency injection) area/core area/qute The template engine area/vertx kind/bugfix
Projects
None yet
Development

Successfully merging this pull request may close these issues.

dev mode crashes when adding and removing scope producer
6 participants