Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 13 additions & 0 deletions .changeset/sys-job-run-description-history.md
Original file line numberDiff line numberDiff line change
@@ -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).
Original file line numberDiff line numberDiff line change
Expand Up@@ -2372,7 +2372,7 @@ export const enObjects: NonNullable<TranslationData['objects']> = {
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"
Expand Down
2 changes: 1 addition & 1 deletion packages/platform-objects/src/audit/sys-job-run.object.ts
Original file line numberDiff line numberDiff line change
Expand Up@@ -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}',
Expand Down
Loading