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(roc): F11.15 smaller example modules (wasm-opt -Os, strip, <=400 KB) · Issue #555 · developing-today/code

id(roc): F11.15 smaller example modules (wasm-opt -Os, strip, <=400 KB) #555

New issue
Copy link
New issue
Copy link
Closed
#1453
Closed
id(roc): F11.15 smaller example modules (wasm-opt -Os, strip, <=400 KB)#555
#1453
Copy link
Assignees
dezren39
Labels
app/idPackage/app: id (pkgs/ or apps/ in this repo)effort/sSmall: expected under 2 hours of workenhancementNew feature or requestkind/performancePerformance problem or optimizationmeta/enrichedIntake review done: acceptance criteria, links, and normalized labels addednowOrg Project gate: active priority — orchestrator adds to the boardpriority/highImportant and time-sensitivequeue/parkedQueue task is parked (waiting on CI, time, or an event)source/humanFiled directly by a humanstatus:donework/assignedQueue worker lifecycle state

Description

@dezren39
dezren39
opened on Oct 22, 2026
Issue body actions

What and why

Run wasm-opt -Os and strip in each example build.sh so every checked-in module is at or under 400 KB, and measure instantiate time. All seven checked-in modules are 526-686 KB, which costs download and instantiate time for every joiner.

Source

  • .opencode/plans/phase-11-foundations.md:56
  • .opencode/plans/2026-10-20_phase-11-status.md:25

Current status

Not started. All seven checked-in modules are over the target: ls -la pkgs/id/examples/*/*.wasm gives 526,219 to 685,561 bytes. grep -l wasm-opt pkgs/id/examples/*/build.sh matches nothing, and pkgs/id/examples/territory/build.sh:20 builds with --debug.

Acceptance criteria

  • Each example build.sh runs wasm-opt -Os and strips, and no longer builds with --debug
  • Every checked-in example module is at or under 400 KB
  • Instantiate time is measured before and after and recorded
  • Sandbox suite and fuel budgets still pass

Size

S

Prerequisites

  • id(roc): F11.18 pin the Roc compiler for checked-in example modules and rebuild them in CI #541 — D1-018 F11.18 Pinned Roc compiler for checked-in example modules + CI rebuild job

Activity

Next
  1. dezren39
    added
    enhancementNew feature or request
    on Oct 22, 2026
  2. github-actions
    assigned
    dezren39
    on Oct 22, 2026
  3. dezren39
    added a commit that references this issue on Oct 25, 2026

    docs(id): Phase 14 plan — close-out: finish, measure, verify, open th…

    ee67188
  4. dezren39
    added
    kind/performancePerformance problem or optimization
    source/humanFiled directly by a human
    status/needs-triageNot yet triaged; needs a first look
    priority/lowNice to have; do when convenient
    effort/sSmall: expected under 2 hours of work
    app/idPackage/app: id (pkgs/ or apps/ in this repo)
    meta/enrichedIntake review done: acceptance criteria, links, and normalized labels added
    on Oct 26, 2026
  5. dezren39 commented on Oct 26, 2026

    @dezren39
    dezren39
    on Oct 26, 2026
    MemberAuthor
    More actions

    Intake review

    Fleet-monitor intake pass (2026-10-26). Body already carries a full ## Acceptance criteria section, so this pass is label normalization plus a liveness check — no body edit.

    Verified live on main e3467560 (2026-10-26): all seven checked-in example modules are still over the 400 KB target — lounge 678,409 B; roc-chat 685,561 B; roc-counter 526,219 B; roc-grid 572,968 B; roc-screen 578,754 B; territory 674,452 B; tic-tac-toe 532,356 B (sizes from git ls-tree -l origin/main). No example build.sh invokes wasm-opt. Still live, byte-for-byte as filed.

    Related: prerequisite #541 (pinned Roc compiler + CI rebuild job) is still open and unenriched — module sizes should be re-measured after any compiler pin change, and #565 (example migration) touches the same examples; the two should not rebuild the same modules in parallel.

    Risks / notes: wasm-opt -Os plus stripping may not alone reach 400 KB for the largest modules (685 KB → 400 KB is a 42% cut); if a module cannot reach the target, record the floor and the reason rather than silently missing the bullet.

    Suggested approach: after #541, add wasm-opt -Os + strip to each example build.sh, drop --debug, rebuild, and record before/after sizes and instantiate times on this issue.

  6. dezren39
    added
    priority/highImportant and time-sensitive
    nowOrg Project gate: active priority — orchestrator adds to the board
    queue/queuedHas a queued queue task
    and removed
    priority/lowNice to have; do when convenient
    on Oct 27, 2026
  7. 36 remaining items

  8. dezren39
    removed
    status/parkedDeliberately paused with a recorded resume condition
    queue/parkedQueue task is parked (waiting on CI, time, or an event)
    on Oct 27, 2026
  9. dezren39 commented on Oct 27, 2026

    @dezren39
    dezren39
    on Oct 27, 2026
    MemberAuthor
    More actions

    🤖 Agent note · parked

    • Agent: queue worker (repo-worker-code), Lane D
    • Session / ID: queue task 1314 (resume 2, re-parked 1200s, awaiting CI)
    • Found via: queue claim
    • Task: PR id(roc): F11.15 smaller example modules — wasm-opt -Os + strip, all 7 rebuilt ≤400 KB (#555) #1453 CI snapshot at re-park: 27 pass, 0 failures, 3 still pending (cargo-fmt-check, clippy-lint, test-shard-3), 1 skipping (CodeRabbit). Parked per the CI rule rather than holding the claim on queued runners.
    • Expectation: on resume, read PR id(roc): F11.15 smaller example modules — wasm-opt -Os + strip, all 7 rebuilt ≤400 KB (#555) #1453 checks fresh; if green, merge, complete task 1314, and clean the issue's queue/work/status labels (including the stale status/in-review + status/parked pair).
    • Links: PR id(roc): F11.15 smaller example modules — wasm-opt -Os + strip, all 7 rebuilt ≤400 KB (#555) #1453
  10. dezren39
    added
    queue/parkedQueue task is parked (waiting on CI, time, or an event)
    status/parkedDeliberately paused with a recorded resume condition
    and removed
    status/in-progressQueue worker lifecycle state
    queue/claimedQueue worker lifecycle state
    on Oct 27, 2026
  11. dezren39
    closed this as completedin #1453on Oct 27, 2026
  12. dezren39
    added a commit that references this issue on Oct 27, 2026

    id(roc): F11.15 smaller example modules — wasm-opt -Os + strip, all 7…

    a1321fd
  13. developing-today
    added
    status:done
    and removed
    status:in-review
    on Oct 27, 2026
  14. dezren39 commented on Oct 27, 2026

    @dezren39
    dezren39
    on Oct 27, 2026
    MemberAuthor
    More actions

    🤖 Agent note · done

    • Agent: queue worker (repo-worker-code), Lane C
    • Session / ID: queue task 1314 (resume 3)
    • Found via: queue claim
    • Task: PR id(roc): F11.15 smaller example modules — wasm-opt -Os + strip, all 7 rebuilt ≤400 KB (#555) #1453 CI finished fully green (31 pass, 0 fail, 1 skipping); verified PR body records all 7 modules ≤400 KB, before/after instantiate times, and roc nightly-2026-10-06-c34079d. Merged squash, merge sha 158033423d75666a2b3065a48a8e3ef91cad972f; issue auto-closed. Task 1314 completed (fixed_merged); queue/work/parked labels cleaned.
    • Expectation: done — no follow-up; id(roc): F11.18 pin the Roc compiler for checked-in example modules and rebuild them in CI #541 (step 13) CI rebuild will re-verify sizes later per id: Path to Phase 12 — ordered prerequisite queue (CI trust → validation → journal → visibility → remaining F11) #1235 ordering.
    • Links: PR id(roc): F11.15 smaller example modules — wasm-opt -Os + strip, all 7 rebuilt ≤400 KB (#555) #1453
  15. dezren39
    marked this as blocked on Nov 1, 2026
    • id(world): F11.9 bytes-per-frame baseline table #542
  16. dezren39
    marked this as blocking on Nov 1, 2026
    • id(roc): F11.18 pin the Roc compiler for checked-in example modules and rebuild them in CI #541
  17. dezren39
    removed
    status/parkedDeliberately paused with a recorded resume condition
    on Nov 1, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

  • @dezren39
    dezren39

Labels

app/idPackage/app: id (pkgs/ or apps/ in this repo)effort/sSmall: expected under 2 hours of workenhancementNew feature or requestkind/performancePerformance problem or optimizationmeta/enrichedIntake review done: acceptance criteria, links, and normalized labels addednowOrg Project gate: active priority — orchestrator adds to the boardpriority/highImportant and time-sensitivequeue/parkedQueue task is parked (waiting on CI, time, or an event)source/humanFiled directly by a humanstatus:donework/assignedQueue worker lifecycle state

Type

No type

Projects

No projects

    Milestone

    No milestone

    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.