myxce/src/docs
lei.chen 06887985b4 fix(schedulerclient): node memory_bytes_total no longer ×1e6 (bug-1514)
The apiserver's host max_mem is already in bytes (the worker reads
sysinfo().totalram × mem_unit → bytes and passes it through unchanged via
controller.capnp), but ListNodes treated it as MB and multiplied by
mbToBytes, inflating each node's reported memory to ~8.2e15 (~7.3 PiB).
Now reports the raw bytes (~7.7 GiB per node).

- httpclient.go: drop ×mbToBytes for node max_mem; clarify mbToBytes is
  job-submit-path only (job max_mem is never populated → stays 0)
- ordermap_test.go: correct assertion that had encoded the buggy value
- httpclient_test.go: regression test TestListNodeMemoryBytesKeepsByteUnit
- buglog.json: bug-1514 + close-tags for the bug-1494 family (prior session)

Also add MCP demo deliverables:
- docs/claude-code-demo-guide.md: live Claude Code demo guide (7 scenes)
- docs/mcp-demo-design.md: leadership demo design
- docs/mcp-demo-run.py: add --slow/--color flags for screen recording

Co-Authored-By: Claude <noreply@anthropic.com>
2026-08-22 14:58:56 +00:00
..
apiserver-backend-tasks.md docs: mark Phase 6 complete in phase6-scheduler-integration-plan 2026-04-30 07:17:32 +00:00
chatbot-verification.md fix(configs): add worker-builtin load indices missing from resources.yaml 2026-08-02 07:36:03 +00:00
claude-code-demo-guide.md fix(schedulerclient): node memory_bytes_total no longer ×1e6 (bug-1514) 2026-08-22 14:58:56 +00:00
cluster-config-split-analysis.md docs(ha-single-leader-role): sync steering + contributor docs to three-state model + own-term gate (task 6.1) 2026-06-13 14:58:55 +00:00
config-replication-design.md feat(config-repl): implement wait_all_with_timeout() for push fan-out 2026-05-21 08:30:43 +00:00
config-replication-impl-status.md docs(config-repl): update impl-status — Phase 1 wire protocol complete 2026-05-22 09:20:29 +00:00
deployment.md docs(deployment): note WAL/snapshot retention is automatic 2026-07-31 08:48:41 +00:00
FUTURE_WORK.md chore: baseline snapshot — prior-session work + ha-consistency-invariants spec family 2026-06-11 13:21:50 +00:00
job_peek.md Init commit of jobs output/error message peek project. 2026-05-09 16:57:54 +08:00
mcp-demo-design.md fix(schedulerclient): node memory_bytes_total no longer ×1e6 (bug-1514) 2026-08-22 14:58:56 +00:00
mcp-demo-run.py fix(schedulerclient): node memory_bytes_total no longer ×1e6 (bug-1514) 2026-08-22 14:58:56 +00:00
p1-2-host-select.md chore: baseline snapshot — prior-session work + ha-consistency-invariants spec family 2026-06-11 13:21:50 +00:00
persistence-and-ha-design.md feat: add --peers to controller for HA peer list and priority election 2026-05-08 04:40:27 +00:00
resreq-ast-cse-design.md docs: mark Phase 6 complete in phase6-scheduler-integration-plan 2026-04-30 07:17:32 +00:00
xce.md chore: baseline snapshot — prior-session work + ha-consistency-invariants spec family 2026-06-11 13:21:50 +00:00