@raybase/create 0.3.23 → 0.3.25
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -353,9 +353,10 @@ Repeatable handlers must be safe when they run late or more than once:
|
|
|
353
353
|
and schedule visibility before handing off.
|
|
354
354
|
- Each failed attempt, and each run that ends failed without one (its lease
|
|
355
355
|
expired, or it was denied), also logs `console.error("raybase.job.failed",
|
|
356
|
-
{ job, runId, attempt, maxAttempts, retry, partitionKey })`
|
|
357
|
-
logs and a host's tail events (`
|
|
358
|
-
|
|
356
|
+
{ job, runId, organizationId, attempt, maxAttempts, retry, partitionKey })`
|
|
357
|
+
for the Worker's logs and a host's tail events (`organizationId` is the
|
|
358
|
+
run's scope, `"default"` in Core; `partitionKey` is the run's host
|
|
359
|
+
partition, null for app-level work). It never includes the input; set
|
|
359
360
|
`appConfig.jobs.logFailureMessages: true` only if the error messages hold
|
|
360
361
|
nothing private, since that adds them as `error`.
|
|
361
362
|
|
|
@@ -183,8 +183,9 @@ toward `RAYBASE_BACKUPS_RETAIN` with the nightly and admin ones (trigger
|
|
|
183
183
|
ctx)` in the worker entry, ahead of the framework, as the templates have it;
|
|
184
184
|
`raybase doctor` warns (`host-routing`) when it is missing. Each failed job
|
|
185
185
|
attempt, and each run that ends failed without one (lease expired, denied),
|
|
186
|
-
logs `console.error("raybase.job.failed", { job, runId,
|
|
187
|
-
retry, partitionKey })` (`
|
|
186
|
+
logs `console.error("raybase.job.failed", { job, runId, organizationId,
|
|
187
|
+
attempt, maxAttempts, retry, partitionKey })` (`organizationId` the run's
|
|
188
|
+
scope, `"default"` in Core; `partitionKey` null for app-level work), never with the input, and with the error's message only under
|
|
188
189
|
`appConfig.jobs.logFailureMessages: true`. See the
|
|
189
190
|
hosting guide (`docs/hosting.md` on the Raybase site) for the full contract.
|
|
190
191
|
|