GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — id: implement loadgen core — step 1 of the #5891 workload-generator record · Issue #8307 · developing-today/code

id: implement loadgen core — step 1 of the #5891 workload-generator record #8307

New issue
Copy link
New issue
Copy link
Closed
#10067
Closed
id: implement loadgen core — step 1 of the #5891 workload-generator record#8307
#10067
Copy link
Assignees
dezren39
Labels
epic/id-programReprioritization program epic (2026-11-12)status:done
Milestone
ID platform program

Description

@dezren39
dezren39
opened on Nov 10, 2026
Issue body actions

Implementation step 1 from the shared load & workload generator decision record (#5891, landed via PR #7662): doc/2026-11-08T11-27-00Z_design_shared_workload_generator/2026-11-08T11-27-00Z_design_shared_workload_generator.md §"Implementation order".

Scope: the generator core in pkgs/id/tests/common/loadgen.rs — actor scheduler, mix tables, seeded corpus, and the InProcess target surface (the record's Target trait over InProcess / LocalSocket / Iroh; LocalSocket and Iroh are steps 3 and 5, not this packet). Re-express the existing world_bench workloads (pkgs/id/benches/world_bench.rs) on the core without changing its output lines — the F11.8 baselines must stay comparable (same numbers within noise on the reference machine class, per #5894).

Acceptance:

  • loadgen.rs core exists with the record's scheduler/mix/corpus shape and the InProcess surface; honest profiles per the record.
  • world_bench runs on the core and emits byte-identical output line formats (bench <name> unit=<unit> median=<value> min=<value> reps=<n>); baseline comparison per BASELINES.md shows no format drift.
  • Tests cover the seeded-corpus determinism invariant (same seed → same workload sequence).

Parent programme: #5685 · design: #5891 · sibling record: #5894 · consumer waiting on this machinery: the per-interface benchmark matrix, #5896.

Activity

  1. developing-today commented on Nov 10, 2026

    @developing-today
    developing-todayBot
    on Nov 10, 2026 – with developing.today
    Contributor
    More actions

    CODE-2477

  2. dezren39
    added
    epic/id-programReprioritization program epic (2026-11-12)
    on Nov 12, 2026
  3. dezren39
    added this to the ID platform program milestone on Nov 12, 2026
  4. github-actions
    assigned
    dezren39
    on Nov 12, 2026
  5. dezren39
    added
    queue/queuedHas a queued queue task
    on Nov 13, 2026
  6. dezren39 commented on Nov 14, 2026

    @dezren39
    dezren39
    on Nov 14, 2026
    MemberAuthor
    More actions

    Released to the queue under Drew's 2026-11-13 unblock-all order (main chat, 23:53 CT). Task(s) 15287 moved from blocked/parked to queued in the fleet unblock-all pass (worker main-unblock-all-2026-11-13). Dependency gates still recorded on a task remain recorded — the dependency checker will re-block it if a gate is genuinely unmet.

  7. dezren39 commented on Nov 14, 2026

    @dezren39
    dezren39
    on Nov 14, 2026
    MemberAuthor
    More actions

    Agent note — task 15287 blocker triage complete (lane any-b, STEER 2026-11-13)

    • state: triaged
    • task: 15287
    • issue: id: implement loadgen core — step 1 of the #5891 workload-generator record #8307
    • kind: triage (blocker triage — this issue blocks task 12924 / id: design: per-interface benchmark matrix (from #5685) #5896)
    • Fresh triage (2026-11-14): issue id: implement loadgen core — step 1 of the #5891 workload-generator record #8307 is OPEN, no held / user/owned / do-not-merge / do-not-auto-edit labels, and it is a fully specified implementation step: step 1 of the landed id: design: shared load & workload generator (from #5685) #5891 workload-generator record (PR docs(id): shared load & workload generator design record (#5891) #7662), with concrete scope (pkgs/id/tests/common/loadgen.rs core + world_bench re-expression) and three explicit acceptance bullets. Nothing is gated on Drew or on another issue — the record it implements is merged; the issue simply never had a live task of its own.
    • Route: task 15287 completes as triaged. The implementation packet (the issue's own scope and acceptance, record-governed) is enqueued as this task's revive successor on the canonical fix dedupe key the moment this row is terminal; the new task's id is posted in the next note. Dependent task 12924 (id: design: per-interface benchmark matrix (from #5685) #5896): your blocker now has a live owner.
    • No code was written by this lane.
  8. dezren39 commented on Nov 14, 2026

    @dezren39
    dezren39
    on Nov 14, 2026
    MemberAuthor
    More actions

    Follow-on status — task 15287 triage of #8307

    Correction to the triage note above: the implementation packet is written and validated, but its enqueue is temporarily delayed — the queue broker tunnel began failing (os error 11, resource temporarily unavailable) immediately after task 15287 completed, and two enqueue attempts returned no usable response. The validated packet is preserved at hidden_files/packet-8307-fix-owed.json in the keep-the-four-repos-healthy goal workspace; the next lane (or this lane, if the tunnel recovers this shift) enqueues it on the canonical fix dedupe key repo-health:v1:fix:developing-today/code:issue:8307, which makes the enqueue idempotent. The follow-on task id will be posted here once the enqueue lands.

  9. dezren39 commented on Nov 14, 2026

    @dezren39
    dezren39
    on Nov 14, 2026
    MemberAuthor
    More actions

    Follow-on named — task 15287 triage of #8307

    Resolution of the enqueue status note above: the first enqueue attempt DID land server-side before the tunnel failed — the packet is queued as task 16856 ("Fix #8307: implement loadgen core (step 1 of the #5891 workload-generator record)", created 2026-11-14T12:23:53Z, status queued; confirmed by dedupe hit when re-enqueued after the broker recovered). No duplicate exists. Issue #8307 keeps queue/queued for task 16856.

  10. dezren39 commented on Nov 14, 2026

    @dezren39
    dezren39
    on Nov 14, 2026
    MemberAuthor
    More actions

    🤖 Agent note · parked — fully specified implementation, not started in this lane's remaining window

    • Agent: queue worker (repo-worker-code), lane code-b
    • Session / ID: task 16856 (implementation packet for id: implement loadgen core — step 1 of the #5891 workload-generator record #8307, from task 15287's triage)
    • State: nothing is gated — the id: design: shared load & workload generator (from #5685) #5891 workload-generator record is merged (PR docs(id): shared load & workload generator design record (#5891) #7662) and this step is fully specified on the issue: pkgs/id/tests/common/loadgen.rs core plus the world_bench re-expression, with three explicit acceptance bullets. Task 15287's validated packet is preserved in the goal workspace (hidden_files/packet... per its follow-on note). Dependent task 12924 (id: design: per-interface benchmark matrix (from #5685) #5896) is blocked on this landing.
    • Why park: this lane claimed the task with ~50 minutes left in its shift — enough to start the Rust implementation but not to build, test, shepherd a PR, and land it without rushing the review discipline. A clean park with the pointers beats a half-built branch. Parked 1800s; the next lane should start from the preserved packet and the issue's acceptance bullets, and budget for a full pkgs/id test build.
    • Links: queue tasks 16856 / 15287 / 12924; record PR docs(id): shared load & workload generator design record (#5891) #7662; dependent issue id: design: per-interface benchmark matrix (from #5685) #5896
  11. dezren39 commented on Nov 14, 2026

    @dezren39
    dezren39
    on Nov 14, 2026
    MemberAuthor
    More actions

    Implementation picked up — 2026-11-14 (lane code-c, queue task 16856)

    Session-length lane work replacing the earlier too-short claim: the loadgen core is being implemented in worktree queue-16856-8307-loadgen-core (branch queue/16856-8307-loadgen-core, off main 3b4cb17751).

    Scope per the record's step 1 and the packet:

    • pkgs/id/tests/common/loadgen.rs (new, std-only): versioned core — mix tables (counts per 1,000 ops, validated), the seeded corpus and actor derivation (a fully-specified in-file PRNG so the stream is identical on every machine), profiles (honest closed-loop / adversarial open-loop parameterizations), the RunSpec run identity with the §4-style header line, the Target surface trait (§2), and the closed-loop scheduler. Warm-up ops are executed and discarded; an unsupported operation aborts the run rather than downgrading; open-loop pacing is refused by this step's scheduler with the refusal named (the rate executor is the record's later step).
    • Acceptance oracle wired as tests: same seed → identical corpus sequence and identical driven stream (unit tests in the module plus pkgs/id/tests/loadgen_determinism.rs through the public mod common; path). 16/16 pass.
    • world_bench re-expression: the four synchronous workloads (journal_append_fsync, checkpoint_compaction, guest_replay, session_fanout) now run as loadgen workloads through the scheduler against InProcess surfaces, with their sample math and output lines unchanged. The two async, wall-clock-paced workloads (many_worlds, fuel_spin_isolation) keep their dedicated drivers in this step — their pacing is the open-loop/rate executor work of the record's later steps; that boundary is named in the bench source.
    • The §4 measurement header/summary writer is step 2 and is not in this packet; the core provides the header fields and per-family stats it will print.

    Next: bench --quick output verification against the recorded baselines, then commit / PR / merge.

  12. dezren39
    added
    work/assignedQueue worker lifecycle state
    queue/claimedQueue worker lifecycle state
    status/in-progressQueue worker lifecycle state
    and removed
    queue/queuedHas a queued queue task
    on Nov 14, 2026
  13. developing-today
    added
    status:in-review
    on Nov 14, 2026
  14. dezren39
    added a commit that references this issue on Nov 14, 2026

    Merge pull request #10067 from developing-today/queue/16856-8307-load…

    48c72ef
  15. dezren39
    closed this as completedin #10067on Nov 14, 2026
  16. developing-today
    added
    status:done
    and removed
    status:in-review
    on Nov 14, 2026
  17. dezren39 commented on Nov 14, 2026

    @dezren39
    dezren39
    on Nov 14, 2026
    MemberAuthor
    More actions

    Done — loadgen core landed, 2026-11-14 (lane code-c, queue task 16856)

    PR #10067 merged 2026-11-14T14:53:36Z (merge commit 48c72ef10be4e0e7ff23dec01c4ee3d35fa23566, head 74c83b6560). Step 1 of the #5891 record is implemented:

    • pkgs/id/tests/common/loadgen.rs — the std-only core: mix tables (counts per 1,000 ops, validated), the seeded corpus + actor derivation (in-file SplitMix64, identical on every machine), honest/adversarial profiles, the Target surface trait (§2), the closed-loop scheduler (warm-up discarded, per-family error counts, unsupported aborts rather than downgrades, open-loop refused by name in this step), and the fixed §4 header fields via RunSpec::header_line(). GENERATOR_VERSION = 1.
    • pkgs/id/tests/loadgen_determinism.rs + in-module tests — the acceptance invariant as executable tests: same seed → identical corpus sequence and identical driven workload sequence.
    • world_bench — the four synchronous workloads re-expressed on the core with output lines and sample math unchanged; the two async wall-clock-paced workloads keep their dedicated drivers (named boundary, below).

    Verification on the PR head:

    • cargo test --test loadgen_determinism — 16 passed, 0 failed (9 core unit tests, 2 acceptance tests, 5 pre-existing common tests).
    • cargo bench --bench world_bench -- --quick — all six lines in their established formats: journal_append_fsync us_per_append, checkpoint_compaction us_per_compact, guest_replay us_per_event (guest still asserts it saw every event), session_fanout us_per_delivery, many_worlds, fuel_spin_isolation. Values are this laptop's, not baseline updates (baselines move only under the id: design: the standard server baseline (from #5685) #5894 protocol).
    • cargo clippy --test loadgen_determinism --bench world_bench — no warnings in the touched files; rustfmt clean.

    Named remainder (not part of this step, recorded so it is not lost): many_worlds and fuel_spin_isolation re-expression waits on the open-loop / rate-based executor (record implementation step 4), and the §4 header/summary writer is step 2 — both are their own follow-on packets under #5891. This unblocks the #5896 benchmark-matrix work (queue task 12924) on the core.

    Closing as done.

  18. dezren39
    removed
    status/in-progressQueue worker lifecycle state
    queue/claimedQueue worker lifecycle state
    work/assignedQueue worker lifecycle state
    on Nov 14, 2026
  19. dezren39
    added 2 commits that reference this issue on Nov 15, 2026

    id: add the fleet-laptop matrix baseline (#5896)

    1298242

    id: implement the per-interface benchmark matrix (#5896) (#10507)

    b51e88c
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

  • @dezren39
    dezren39

Labels

epic/id-programReprioritization program epic (2026-11-12)status:done

Type

No type

Projects

No projects

    Milestone

    • ID platform programNo due date

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

    You are visitor 01402775 — GeezerVison does not store the pages you look up.
    Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.