-
Notifications
You must be signed in to change notification settings - Fork 294
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
Programming exercises
: Fix an issue when parsing empty files
#8964
Conversation
WalkthroughThe changes involve modifying the Changes
Sequence Diagram(s)sequenceDiagram
participant LocalCIIntegrationTest
participant BuildJobExecutionService
LocalCIIntegrationTest->>BuildJobExecutionService: testEmptyResultFile()
BuildJobExecutionService-->>BuildJobExecutionService: if (testResultFileString.isBlank())
BuildJobExecutionService-->>BuildJobExecutionService: log.warn(msg)
BuildJobExecutionService-->>BuildJobExecutionService: buildLogsMap.appendBuildLogEntry(buildJobId, msg)
LocalCIIntegrationTest->>BuildJobExecutionService: assert log and buildLog entry
Tip AI model upgrade
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Code looks good to me 👍
…gfix/programming/emptyresults
88aca99
Checklist
General
Server
Motivation and Context
We encountered an issue where students saw a "Failed to process build results" error.
Description
The error was caused by trying to parse an empty string, which we now filter out.
Steps for Testing
Create a new PE with language empty and a buildscript like this:
echo "" > results.xml
Test that you see a build failed results, but without any internal exceptions in the log.
Testserver States
Note
These badges show the state of the test servers.
Green = Currently available, Red = Currently locked
Click on the badges to get to the test servers.
Review Progress
Code Review
Manual Tests
Summary by CodeRabbit
New Features
Tests