Skip to content
Cockpit0.29.0
A snapshot: read at commit 707a04c7ce8 on 2026-10-18T00:06:01Z by majordomus 0.29.0. Nothing on this page is read again. See it live

I0832

generate-site-data instrumented and its hot spots removed

Where it stands

devtask.issue
Readiness
ready no dependency and no gate holds it; nobody has started it
Status
READY
Can start
startable
Milestone
Milestone status
ACTIVE
Wave
2
Waiting on
none
Holds back
Behind it in all
2
Evidence
0 of 1
A move writes the repository: it stamps one field of this issue's record and appends one event to the ledger, and a commit will carry both.
The same moves from a terminal

majordomus plan start I0832

majordomus plan verify I0832

majordomus plan done I0832

What it is

Objective
Declare phases per section of the site generator, rank them, and remove the repeated work in the two most expensive sections.
Why
The generator's --check runs in CI and in case 51; it costs 27 s on this repository.
Now
No phase inside the generator is timed.
Wanted
--check under 8 s on this repository, output byte-identical.
Done when
unknown: the record declares no `completion`
Risk
The generator shares lib/common.sh, so the flatten cache and the batch loaders apply to it directly.

Acceptance

  • Byte-identical site/data/generated before and after
  • The phase ranking is printed under MJ_TIMING
Validation
MJ_TIMING=1 scripts/generate-site-data --check
Evidence required
batch_reads
Evidence present
unknown: the record carries no `evidence` entries

Scope

Touches
scripts/generate-site-datatest/cases/10_site_data.shtest/cases/51_derived_artifacts_committed.sh
Not
Changing the generated data
Depends on
Priority
p0
Profile
implementation
Parallel safe
false
Owner
unknown: the record declares no `owner`

The work so far

Branches
none
Merged
none
Commits
0
Trunk
master
Sessions
none
Created
2026-09-05
Updated
2026-09-05
Started
unknown: the record declares no `started_at`
Verified
unknown: the record declares no `verified_at`
Completed
unknown: the record declares no `completed_at`

Synchronisation

Adapter
scripts/github-sync
Repository
unknown: the derived plan's header carries no repository
External issue
unknown: a live GitHub state; this executable makes no network call, so only `scripts/github-sync --check` can answer it
State there
unknown: a live GitHub state; this executable makes no network call, so only `scripts/github-sync --check` can answer it

Findings

LevelCodeMessageReproduce
WARNscope_conflictshares test/cases/10_site_data.sh with I2487; they may not run concurrentlymajordomus plan validate
WARNscope_conflictshares test/cases/10_site_data.sh with I2488; they may not run concurrentlymajordomus plan validate