microsoft / microsoft/vscode-spring-boot-dashboard
"Run with Profile..." containing unit test profile, and in duplicates
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 73
- Forks
- 38
- Avg merge
- 3d 5h
- Merged PRs (30d)
- 15
Description
Describe the bug
When I select "Run with Profile..." or "Debug with Profile...", it shows a list of available profiles.
In that list, I have profiles used for unit tests, and in multiple duplicates, which is irrelevant.
Environments
- OS: Windows 11 Enterprise with WSL2 Debian 12
- VS Code version: 1.102.1
- Extension version 1.63.0
To Reproduce
In the Spring projects explorer, right click on a project to launch and "Run with Profile..." or "Debug with Profile...".
In my case, on the picture :
- "local" is probably interpolated because of the
application-local.ymlfile in the main resources folder, but it is also defined in thespring-boot-maven-pluginconfiguration. - "unittest" is probably interpolated because of the
application-unittest.ymlfile in the test resources folder, but it is also defined with@ActiveProfilefor some unit tests. - "gitlabci"... I don't know... maybe interpolated because of the
.gitlab-ci.ymlfile ?
Expected behavior
Not having unit test profiles.
Not having duplicates.
Sample
I can't prive a sample as it is a company project.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Inspect the Spring projects explorer's "Run with Profile..." and "Debug with Profile..." entry points, then trace how profiles are collected from application resources, spring-boot-maven-plugin configuration, and tests. Reproduce with a minimal Spring project if possible; done means unit-test profiles are excluded and duplicate profile names appear once in both commands.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- spring-boot, typescript, vscode
- Domain
- tooling
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100