Repository navigation
feat(launchpad): build scheduled-exports - #1307
Open
rubenvdlinde wants to merge 8 commits into
Open
rubenvdlinde wants to merge 8 commits into
rubenvdlinde wants to merge 8 commits into
Conversation
ScheduledExportService (Task 3, Task 21): CRUD on scheduled_export objects in OpenRegister through ScheduledExportStore (openregister main's object API), the next run computed from the recurrence, validation, and recipient secrets redacted on read and kept on an edit. Assisted-by: ClaudeCode:claude-opus-5-5
rubenvdlinde
requested review from
Rem-Dam,
WilcoLouwerse,
bbrands02 and
rjzondervan
as code owners
November 17, 2026 16:14
ScheduledExportAuditLog (Task 7): one scheduled_export_run row per fire in OpenRegister, artefacts and deliveries written at once, history newest first, overlap detection for scheduled fires. Assisted-by: ClaudeCode:claude-opus-5-5
DeliveryDispatcher (Task 5, Task 23): email through the Nextcloud mailer, Files with the overwrite rule, a webhook signed over its exact multipart body, SFTP through phpseclib with a host-key check; per-recipient filter contexts, each attempt written to the run-row, due retries read the stored artefact back. Artefacts live in the owner's Files area. Assisted-by: ClaudeCode:claude-opus-5-5
ScheduledExportJanitor (Task 9, Task 26): hourly retention, artefact files deleted and their paths nulled while hashes and deliveries stay, expired run-rows deleted with their files, null keeps forever. Design note D8 on recomputing the next run on every write (Task 38). Assisted-by: ClaudeCode:claude-opus-5-5
ScheduledExportController with list, read, create, update, soft-delete, run history and the retry of a run's permanently failed deliveries; eight routes, two seeded actions, and their OpenAPI entries. Run now and preview wait on the render pipeline (task 4). Assisted-by: ClaudeCode:claude-opus-5-5
Frontend tasks 12-19: the export list, editor, run history, run detail
with retry and preview modals, the exports store and its helpers, and
"Scheduled exports…" in the dashboard's Meer menu. Ported from the first
build line and fitted to this line's controller: retry answers
{retried, run}, and the entry moves from the cog to DashboardMoreMenu.
en and nl strings for the new UI.
Assisted-by: ClaudeCode:claude-opus-5-5
Tasks 27-30: the full workflow, per-recipient filter contexts, failure and retry, and retention, with a shared fixture that seeds exports through the API. They need the run and preview routes of task 4, so the Playwright config skips them until that lands. Assisted-by: ClaudeCode:claude-opus-5-5
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Round 2 of
scheduled-exports. Development already had the first slice: the four schemas,RecurrenceResolverand theRetryHandlerpolicy. This PR builds the backend core on top of it.Tasks done
ScheduledExportService. CRUD onscheduled_exportobjects in OpenRegister throughScheduledExportStore, which uses openregister main's object API (ObjectFindOptions,ObjectSaveOptions,ObjectDeletion); there are no own tables.nextRunAtis always computed on the server.********, and an edit that sends the placeholder back keeps the stored value (REQ-SCH-010).ScheduledExportAuditLog. Onescheduled_export_runrow per fire. Artefacts and each delivery attempt are written at once. History is newest first and paged. Only a scheduled run still running counts as an overlap.DeliveryDispatcher.overwrite=true, and./..in the path are refused.X-LaunchPad-Signature.Apps/LaunchPad/Exports/{exportId}/in the owner's Files (ScheduledExportArtefactStorage).ScheduledExportJanitor. An hourly job registered ininfo.xml.storagePathnulled; hashes and deliveries stay.Tasks left, and why
RetryHandler::afterAttempt/rearmplusDeliveryDispatcher::retryDue), but the run wiring arrives with Task 8.openconnectorSourceIdfails with a clear error instead of being sent with local credentials.Tests
ScheduledExportServiceTest(13),ScheduledExportStoreTest(6),ScheduledExportAuditLogTest(8),DeliveryDispatcherTest(11),ScheduledExportSftpConnectorTest(4),ScheduledExportArtefactStorageTest(4) andScheduledExportJanitorTest(4).Generated by Claude Code