Skip to content

fix(progress): allow users to share lesson assignments - #2580

Merged
nbaars merged 1 commit into
mainfrom
fix/2573-multi-user-progress
Oct 11, 2026
Merged

nbaars merged 1 commit into
mainfrom
fix/2573-multi-user-progress

Conversation

@nbaars

@nbaars nbaars commented Oct 11, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • Allow each user to record progress against the same lesson assignment.
  • Add a Flyway SQL migration that removes the old unique constraint while preserving existing progress and the assignment foreign key.
  • Cover an existing database upgrade and two users solving the same CSRF assignment.

Verification

  • ./mvnw clean -Dtest=AssignmentProgressMigrationTest,UserProgressRepositoryTest test -q
  • ./mvnw -Pstart-server -Dtest=NoSuchTest -Dsurefire.failIfNoSpecifiedTests=false -Dit.test=MultiUserProgressIntegrationTest verify -q
  • ./mvnw spotless:check -q

Closes #2573

A unique progress constraint prevented later users from completing CSRF assignments and returned HTTP 500 when they solved the same challenge.

Closes: #2573
@nbaars
nbaars merged commit 2d57cc9 into main Oct 11, 2026
5 checks passed
@nbaars
nbaars deleted the fix/2573-multi-user-progress branch October 11, 2026 12:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

1 participant