Carriage return not added
Maintainers usually reply within 3 days
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 45/100
Research direction
Start at the finishInteractiveShell entry point shown in the issue and reproduce the sequence in the Jenkins test run, paying attention to the three .cr() calls and the output where the two y values share a line. Done means the session consistently adds the expected carriage return after each submitted value across the test run.
Written by the indexing model from the issue text.
Description
Just before ending a session. I always print the last few lines in the terminal:
protected static void finishInteractiveShell(InteractiveShellSession session, Path outputFile, boolean verify, boolean submit) {
session.write(session.writeSequence().text(outputFile.toString()).cr().build());
session.write(session.writeSequence().text(verify ? "y" : "n").cr().build());
session.write(session.writeSequence().text(submit ? "y" : "n").cr().build());
}
I run my tests in Jenkins and there is around 100 tests. This is flaky and sometimes it breaks as it doesn't add the carriage return after each line of code .cr().
Here is the output in the Jenkins build you can see the two y added at the end of the same line.
? Select an action: [Use arrows to move], filtering 'finish/tmp/junit10400994433265716921/TYPEZTUUTCOLAJ.jsonyy'
- Dominant language
- Java
- Stars
- 826
- Forks
- 405
- Avg merge
- 6d 9h
- Merged PRs (30d)
- 1
Getting set up
- No Dockerfile or Docker Compose file
- No pull request template
- Read the contributing 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.
More from spring-projects/spring-shell
-
type/enhancement
Difficulty 3/5 1-2 days Newbie friendliness 68/100
spring-projects/spring-shell#1383 · 6 comments ·
Maintainers usually reply within 3 days
-
area/dependencies type/enhancement
Difficulty 5/5 Over a week Newbie friendliness 25/100
spring-projects/spring-shell#1213 · 1 reaction ·
Maintainers usually reply within 3 days
-
area/dependencies type/enhancement
Difficulty 5/5 Over a week Newbie friendliness 25/100
spring-projects/spring-shell#1205 · 1 comment ·
Maintainers usually reply within 3 days
-
Spring CLI AI AgentOpenstatus/need-triage
Difficulty 5/5 Over a week Newbie friendliness 20/100
spring-projects/spring-shell#1198 · 2 comments ·
Maintainers usually reply within 3 days
-
Add native buildOpenarea/build type/task
Difficulty 2/5 1-3 hours Newbie friendliness 42/100
spring-projects/spring-shell#1182 ·
Maintainers usually reply within 3 days
All issues in spring-projects/spring-shell
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
OpenAPITools/openapi-generator#25014 ·
Maintainers usually reply within 1 day
-
Difficulty 1/5 Under an hour Newbie friendliness 92/100
AloisSeckar/demos-java#380 ·
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
openhab/openhab-core#5847 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
appsmithorg/appsmith#42297 · 1 comment ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 75/100