diff --git a/.changeset/sys-job-run-description-history.md b/.changeset/sys-job-run-description-history.md new file mode 100644 index 0000000000..318c50d142 --- /dev/null +++ b/.changeset/sys-job-run-description-history.md @@ -0,0 +1,13 @@ +--- +"@objectstack/platform-objects": patch +--- + +Fix `sys_job_run`'s object `description` to say "history", not "audit trail" (#9735) + +`sys_job_run` is job run **history**; `sys_audit_log` is the separate audit surface, +with its own opt-in, writer and retention (binding ruling on #9633). The object's own +header comment already said "Background Job Execution History", but the `description` +field two lines below — the user-facing copy Studio/Setup surface, and the string that +propagates into the generated translation bundle — still called it "Background job +execution audit trail". Both now say "Background job execution history"; the generated +`en.objects.generated.ts` bundle was regenerated to match (never hand-edited). diff --git a/packages/platform-objects/src/apps/translations/en.objects.generated.ts b/packages/platform-objects/src/apps/translations/en.objects.generated.ts index 898fe26d88..e561150c84 100644 --- a/packages/platform-objects/src/apps/translations/en.objects.generated.ts +++ b/packages/platform-objects/src/apps/translations/en.objects.generated.ts @@ -2372,7 +2372,7 @@ export const enObjects: NonNullable = { sys_job_run: { label: "Job Run", pluralLabel: "Job Runs", - description: "Background job execution audit trail", + description: "Background job execution history", fields: { id: { label: "Run ID" diff --git a/packages/platform-objects/src/audit/sys-job-run.object.ts b/packages/platform-objects/src/audit/sys-job-run.object.ts index 378f546285..f8d52040a9 100644 --- a/packages/platform-objects/src/audit/sys-job-run.object.ts +++ b/packages/platform-objects/src/audit/sys-job-run.object.ts @@ -29,7 +29,7 @@ export const SysJobRun = ObjectSchema.create({ class: 'telemetry', retention: { maxAge: '30d' }, }, - description: 'Background job execution audit trail', + description: 'Background job execution history', displayNameField: 'job_name', nameField: 'job_name', // [ADR-0079] canonical primary-title pointer (mirrors deprecated displayNameField) titleFormat: '{job_name} @ {started_at}',