Skip to content

Automatically process remaining enrolled terms - #193

Merged
Cattn merged 1 commit into
friends-nextfrom
batch-term-processing
Oct 9, 2026
Merged

Cattn merged 1 commit into
friends-nextfrom
batch-term-processing

Conversation

@Cattn

@Cattn Cattn commented Oct 9, 2026 •

Copy link
Copy Markdown
Collaborator

After importing the selected term, automatically collect the other enrolled terms from LeopardWeb and process them through the batch endpoint added in WITCodingClub/calendar-backend#690. The selected calendar remains usable while the background terms finish.

Resume pending jobs instead of submitting duplicate imports, split requests at the 12-term limit, stop polling on failure or after three minutes, and keep failed imports retryable. Completed terms refresh the shared Calendar/Friends schedule and availability caches. Session changes prevent late responses from updating another environment.

Fixes #162. The closing reference on #180 will close the issue when the combined work reaches main.

Validation: 23 unit tests and 16 deterministic extension UI tests passed; application and UI TypeScript checks passed.

@Cattn
Cattn requested a review from jaspermayone as a code owner October 9, 2026 12:25
@Cattn
Cattn changed the base branch from main to friends-next October 9, 2026 12:26
@Cattn
Cattn removed the request for review from jaspermayone October 9, 2026 12:27
@Cattn
Cattn merged commit 38a10ea into friends-next Oct 9, 2026
1 of 2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

batch non-current term processing

1 participant