-
Notifications
You must be signed in to change notification settings - Fork 314
Programming exercises
: Remove the need to combine template commits
#10960
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
Draft
krusche
wants to merge
10
commits into
develop
Choose a base branch
from
feature/copy-bare-template-repository
base: develop
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Programming exercises
: Remove the need for combining template commitsProgramming exercises
: Remove the need to combine template commits
End-to-End (E2E) Test Results Summary
|
End-to-End (E2E) Test Results Summary
|
End-to-End (E2E) Test Results Summary
|
End-to-End (E2E) Test Results Summary
|
End-to-End (E2E) Test Results Summary
|
End-to-End (E2E) Test Results Summary
|
End-to-End (E2E) Test Results Summary
|
End-to-End (E2E) Test Results Summary
|
LeZhen1105
previously approved these changes
Jun 2, 2025
End-to-End (E2E) Test Results Summary
|
There hasn't been any activity on this pull request recently. Therefore, this pull request has been automatically marked as stale and will be closed if no further activity occurs within seven days. Thank you for your contributions. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
athena
Pull requests that affect the corresponding module
client
Pull requests that update TypeScript code. (Added Automatically!)
core
Pull requests that affect the corresponding module
documentation
exam
Pull requests that affect the corresponding module
exercise
Pull requests that affect the corresponding module
iris
Pull requests that affect the corresponding module
programming
Pull requests that affect the corresponding module
server
Pull requests that update Java code. (Added Automatically!)
stale
tests
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
With this PR, the history in template repos is kept. When students start the exercise a new bare repository is created that contains one commit with the latest version of the template / exercise repository. This is also faster and improves the performance. All functionality to combine template commits (either manually or scheduled) is deleted because it rewrites history (potentially leading to issues).
Checklist
General
Server
Client
authorities
to all new routes and checked the course groups for displaying navigation elements (links, buttons).Changes affecting Programming Exercises
Motivation and Context
Preparing the exercise start for 200 students and 3 programming exercises (i.e. creating 600 git repositories and corresponding database entries for student participations) now takes ~ 1.8s in local tests instead of ~18.6s on develop. In a test with 2000 students and 5 programming exercises, it took 72s. This is blazingly fast.
Description
Steps for Testing
Prerequisites:
Exam Mode Testing
Prerequisites:
Testserver States
You can manage test servers using Helios. Check environment statuses in the environment list. To deploy to a test server, go to the CI/CD page, find your PR or branch, and trigger the deployment.
Review Progress
Performance Review
Code Review
Manual Tests
Exam Mode Test
Performance Tests
Test Coverage
Screenshots