Build-ui failed in CI on `tsc -b` (which `tsc --noEmit` doesn't catch locally without strict project-references). DerivedJob from src/pages/sovereign/jobs.ts uses `title`, not the flat-Job `displayName`/`jobName` fields. Use `dj.title || dj.id` for the global-log component-name prefix. Co-authored-by: hatiyildiz <hatice@openova.io> Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
parent
3f1d5c106d
commit
aae99cf9e0
@ -158,7 +158,11 @@ export function JobDetail({
|
||||
const merged: Array<{ ts: number; line: LogLine }> = []
|
||||
let counter = 1
|
||||
for (const dj of derivedJobs) {
|
||||
const label = dj.displayName ?? dj.jobName ?? dj.id
|
||||
// DerivedJob (./jobs.ts) uses `title` for the human-readable
|
||||
// label — not `displayName`/`jobName` which belong to the flat
|
||||
// Job in @/lib/jobs.types. Fall back to the id when title is
|
||||
// unset (it shouldn't be, but defensive).
|
||||
const label = dj.title || dj.id
|
||||
for (const ll of stepsToLogLines(dj.steps)) {
|
||||
const ts = ll.timestamp ? Date.parse(ll.timestamp) : NaN
|
||||
merged.push({
|
||||
|
||||
Loading…
Reference in New Issue
Block a user