[worker] upgrade OpenWorkflow to 0.11.0 #161

Merged
eleith merged 1 commits from feat/openworkflow-011-compat into main 2026-10-27 16:19:29 +00:00

Summary

  • Pin OpenWorkflow 0.11.0 in web, worker and shared jobs, with the matching lock update.
  • Use the native logger option and explicit queue-backend ownership. Reuse the worker's application DB and stop active work before closing its databases.
  • Keep operational logs free of raw engine payload/error arguments. Force-close health-only connections during shutdown so a stalled request cannot delay worker stop.
  • Remove custom OpenWorkflow history deletion. Preview-file/app-log cleanup remains application-owned; engine history stays until native retention is available.

This is the simplified upgrade, not a historical migration/recovery or retention framework.

Verification

  • Independent code/readability reviews and follow-up closures: clear.
  • All 23 checks passed; 2,417 tests passed, including explicit jobs tests/lint/typechecking.
  • Jobs/config/helpers/theme coverage: 100%. Worker line coverage: 98.34%, up from 97.89%.
  • Svelte: 0 errors, the same 27 existing warnings in seven untouched files.
  • Native fresh-queue startup/health/shutdown test includes active work and a stalled health connection. Existing HTTP/SSR and SDK-reader cases pass.
  • Config, archives, templates, OG compiler, publishing/preview/SSE contracts and protected samples remain unchanged.

Boundaries

The current startup enqueue and 24-hour timer remain in this PR. PR 2 will use native cron and durable jitter near 02:00 UTC, with focused seven-day preview-file/app-data cleanup.

No historical queue replay fixture, private engine-retention SQL, new service, rolling deployment framework or production Docker test. Existing database migrations remain library-owned. Engine history may accumulate until upstream retention is adopted. Production-image testing remains separately owner-owned.

## Summary - Pin OpenWorkflow **0.11.0** in web, worker and shared jobs, with the matching lock update. - Use the native logger option and explicit queue-backend ownership. Reuse the worker's application DB and stop active work before closing its databases. - Keep operational logs free of raw engine payload/error arguments. Force-close health-only connections during shutdown so a stalled request cannot delay worker stop. - Remove custom OpenWorkflow history deletion. Preview-file/app-log cleanup remains application-owned; engine history stays until native retention is available. This is the simplified upgrade, not a historical migration/recovery or retention framework. ## Verification - Independent code/readability reviews and follow-up closures: clear. - All **23 checks** passed; **2,417 tests** passed, including explicit jobs tests/lint/typechecking. - Jobs/config/helpers/theme coverage: **100%**. Worker line coverage: **98.34%**, up from 97.89%. - Svelte: **0 errors**, the same 27 existing warnings in seven untouched files. - Native fresh-queue startup/health/shutdown test includes active work and a stalled health connection. Existing HTTP/SSR and SDK-reader cases pass. - Config, archives, templates, OG compiler, publishing/preview/SSE contracts and protected samples remain unchanged. ## Boundaries The current startup enqueue and 24-hour timer remain in this PR. **PR 2** will use native cron and durable jitter near 02:00 UTC, with focused seven-day preview-file/app-data cleanup. No historical queue replay fixture, private engine-retention SQL, new service, rolling deployment framework or production Docker test. Existing database migrations remain library-owned. Engine history may accumulate until upstream retention is adopted. Production-image testing remains separately owner-owned.
eleith-gitea-agent Bot added 1 commit 2026-10-27 16:15:58 +00:00
[worker] upgrade OpenWorkflow to 0.11.0
ci/woodpecker/pr/web-jobs Pipeline was successful
ci/woodpecker/pr/web-worker Pipeline was successful
ci/woodpecker/pr/web Pipeline was successful
ci/woodpecker/push/web-jobs Pipeline was successful
ci/woodpecker/push/web-worker Pipeline was successful
ci/woodpecker/push/web Pipeline was successful
4ce98e7780
eleith merged commit 4ce98e7780 into main 2026-10-27 16:19:29 +00:00
eleith deleted branch feat/openworkflow-011-compat 2026-10-27 16:19:29 +00:00
Sign in to join this conversation.
No Reviewers
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: eleith/luzzle#161