0
Fork 0
mirror of https://github.com/oblien/openship.git synced 2026-11-18 06:55:56 +00:00
openship/packages/platform/test
Saim Shafique a0230bc4f5
fix(platform): match BullMQ repeatables by name so cron edits remove the old schedule (#1697)
getRepeatableJobs() returns repeatables whose `id` is null (BullMQ 5.70.4
stores them under an opaque hashed key and never writes an `id` into the
repeat hash), so the `r.id === jobId` check in scheduleRecurring and
removeRecurring never matched. Editing a job's cron added a second
repeatable that kept firing, and disabling a policy left a stale
repeatable in Redis. scheduleRecurring adds the job under its jobId as
the name, so match on `r.name` instead.

Adds a regression test with a mocked recurring queue shaped like real
BullMQ 5.70.4 output: the stale repeatable is removed on reschedule and
on disable, and other jobs' repeatables are left alone.

Fixes #1695
History 2026-11-11 16:38:44 +02:00
..
fixtures feat(actions): add durable GitHub-compatible workflow execution 2026-10-09 17:10:04 +03:00
assistant-agents.e2e.test.ts fix(assistant): use Codex device login on remote hosts (#1600) 2026-11-04 13:20:37 +02:00
assistant-harness.test.ts Fix public BuildKit pulls and scoped Claude startup (#1698) 2026-11-10 12:20:36 +02:00
assistant-keychain.test.ts fix(assistant): link the macOS keychain into the isolated assistant home (#1618) 2026-11-06 09:46:07 +02:00
assistant-managed-harness.test.ts fix: run agents on existing paid Cloud instances (#1560) 2026-11-03 03:36:48 +02:00
assistant-presentation.test.ts feat: add scoped AI agents, automations and chat apps 2026-11-01 20:29:07 +02:00
assistant-remote.test.ts fix(agents): preserve Cloud launcher permissions and recover dead endpoints (#1589) 2026-11-04 02:56:15 +02:00
authorization.test.ts fix(api): reject permission tags pointing at nonexistent resources (#1521) 2026-11-01 16:10:05 +02:00
backup-worker-lifecycle.test.ts fix(backups): serialize backup execution per destination to prevent connection exhaustion (#1720) 2026-11-11 13:03:11 +02:00
bullmq-repeatable-cleanup.test.ts fix(platform): match BullMQ repeatables by name so cron edits remove the old schedule (#1697) 2026-11-11 16:38:44 +02:00
cache.test.ts fix(platform): protect active work when session caches reach capacity 2026-09-26 08:35:28 +03:00
cloud-backup-recovery.test.ts Recover orphaned Cloud backup activities through existing ownership gates (#1711) 2026-11-11 00:33:22 +02:00
cloud-build-activity.test.ts fix(cloud): drain command acknowledgements before build cleanup 2026-10-15 05:11:44 +03:00
cloud-resource-usage.test.ts fix(cloud): prevent resource monitoring from exhausting Docker 2026-10-17 10:24:53 +03:00
deployment-capabilities.test.ts fix(tokens): enforce capability scope across deployment operations 2026-10-22 13:57:13 +03:00
deployment-container-info-schema.test.ts fix(deploy): add imageId to closed container-info output schema 2026-10-13 22:51:03 +03:00
deployment-execution-recovery.test.ts fix(deploy): recover orphaned build sessions through shared worker ownership (#1689) 2026-11-09 05:17:11 +02:00
deployment-resources.test.ts feat(monitoring): show deployment outcomes and shared notification settings 2026-10-12 14:33:40 +03:00
diagnostics.test.ts fix(diagnostics): restrict capture and database storage to Cloud 2026-10-09 08:59:23 +03:00
domains.test.ts feat(ingress): manage server Cloudflare tunnels, DNS and Access 2026-10-15 14:25:00 +03:00
durable-run-events.test.ts add cluster network setup 2026-09-17 09:45:39 +03:00
event-stream.test.ts ship sdk, intial scale panel 2026-09-14 01:34:59 +03:00
fixtures.ts fix(tokens): enforce capability scope across deployment operations 2026-10-22 13:57:13 +03:00
grant-capabilities.test.ts fix(tokens): enforce capability scope across deployment operations 2026-10-22 13:57:13 +03:00
grant-capability-boundaries.test.ts fix(tokens): enforce capability scope across deployment operations 2026-10-22 13:57:13 +03:00
guarded-stream.test.ts ship sdk, intial scale panel 2026-09-14 01:34:59 +03:00
instance-authorization.test.ts ship sdk, intial scale panel 2026-09-14 01:34:59 +03:00
instance-state.test.ts fix(backups): gate deployments on backup completion 2026-10-06 06:24:14 +03:00
laravel-cache-warming.test.ts refactor(core): resolve web optimization from stack metadata 2026-10-14 03:54:28 +03:00
project-controls.test.ts ship sdk, intial scale panel 2026-09-14 01:34:59 +03:00
project-logs.test.ts ship sdk, intial scale panel 2026-09-14 01:34:59 +03:00
project-routing-stream.test.ts fix(routing): sync owned route status and reconnect repair logs 2026-10-08 04:50:35 +03:00
queue-namespace.test.ts ship sdk, intial scale panel 2026-09-14 01:34:59 +03:00
referral-public.test.ts feat: unify Plans & billing and standardize Referral (#1680) 2026-11-08 22:30:29 +02:00
referrals.test.ts feat: unify Plans & billing and standardize Referral (#1680) 2026-11-08 22:30:29 +02:00
run-events.test.ts feat(observability): unify structured error reporting 2026-10-09 08:10:45 +03:00
runtime-image-receipts.test.ts feat: refresh runtime images through shared redeploy controls 2026-10-21 18:16:30 +03:00
server-clusters.test.ts seperate networking tab from clustring, and add saas billing enabled 2026-09-19 08:15:01 +03:00
server-monitor.test.ts feat(cloud): present managed capacity as Cloud spaces 2026-10-15 05:20:48 +03:00
server-swarm.test.ts feat(swarm): inspect existing clusters and protect scheduler-owned workloads 2026-10-21 01:34:28 +03:00
services.test.ts seperate networking tab from clustring, and add saas billing enabled 2026-09-19 08:15:01 +03:00
session-capacity.test.ts fix(platform): protect active work when session caches reach capacity 2026-09-26 08:35:28 +03:00
session-recovery.test.ts Improve deployment speed, verification, and cancellation emails (#1683) 2026-11-09 13:51:19 +02:00
source-archive.test.ts fix(sources): adapt PR #863 to shared archive staging and explicit uploads 2026-09-15 21:00:50 +03:00
task-group.test.ts ship sdk, intial scale panel 2026-09-14 01:34:59 +03:00
tunnel-manager.test.ts ship sdk, intial scale panel 2026-09-14 01:34:59 +03:00