spring-projects / spring-projects/spring-boot

Add an option to stop the application from spring-boot-properties-migrator

Open
#40,435 5 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

type: enhancement
Dominant language
Java
Stars
81.5k
Forks
42.7k
Avg merge
2d 4h
Merged PRs (30d)
65

Description

When spring-boot-properties-migrator detects an error (and/or warning) report, it would be nice to have an option to prevent the application from starting up.

I would like to enforce the proper usage of properties in the application (avoiding the use of deprecated or removed properties). Logs are easily buried, and developers often do not pay attention during development.
It would be beneficial to fail fast to detect incorrect usage of properties rather than discovering it the hard way later on.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by locating spring-boot-properties-migrator's warning and error reporting and its existing tests. Determine how an opt-in setting should turn migration problems into a startup failure while preserving the default behavior. Done when coverage verifies the option for reported warnings or errors and confirms normal startup remains unchanged when it is not enabled.

Written by the indexing model from the issue text.

Assessment

Tech stack
java, spring-boot
Domain
backend
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.