From c32fda01f786e4bc356870c47a40a70156bee69b Mon Sep 17 00:00:00 2001 From: Claude Date: Tue, 18 Aug 2026 22:42:31 +0000 Subject: [PATCH] fix(platform-objects): sys_job_run description says history, not audit trail sys_job_run is job run history, not the audit trail (binding ruling on #9633: sys_audit_log is the separate audit surface, with its own opt-in, writer and retention). The object's own header comment already said so; the user-facing `description` field two lines below still called it an "audit trail". Regenerated the propagated translation bundle to match (products-follow-source, never hand-edited). Fixes #9735 Co-Authored-By: Claude Opus 5 Claude-Session: https://claude.ai/code/session_019yDEhPBC3tcGkW9bkce1HM --- .changeset/sys-job-run-description-history.md | 13 +++++++++++++ .../src/apps/translations/en.objects.generated.ts | 2 +- .../src/audit/sys-job-run.object.ts | 2 +- 3 files changed, 15 insertions(+), 2 deletions(-) create mode 100644 .changeset/sys-job-run-description-history.md 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}',