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.issueMoves
plan.transitionWhat 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
| Level | Code | Message | Reproduce |
|---|---|---|---|
| WARN | scope_conflict | shares test/cases/10_site_data.sh with I2487; they may not run concurrently | majordomus plan validate |
| WARN | scope_conflict | shares test/cases/10_site_data.sh with I2488; they may not run concurrently | majordomus plan validate |