8000 Reduce Spec processing stalls and redundant board rendering by rore · Pull Request #55 · rore/minimap · GitHub
[go: up one dir, main page]

Skip to content

Reduce Spec processing stalls and redundant board rendering - #55

Merged
rore merged 7 commits into
mainfrom
feat/nonblocking-performance-pass
Oct 18, 2026
Merged

rore merged 7 commits into
mainfrom
feat/nonblocking-performance-pass

Conversation

@rore
@rore rore commented Oct 18, 2026
Copy link
Copy Markdown
Owner

Large Spec reviews could monopolize the service while resolving anchors, and the board rebuilt unnecessarily when switching to List or typing a search that kept the same results. Content-only reads also calculated anchor statuses they discarded.

This change reads content once, yields between eight-anchor batches, indexes line/heading positions within each resolution, removes the duplicate List rebuild, and preserves rendered cards for equivalent search results. Matching rules, worktree provenance, drafts, routes and scroll behavior remain unchanged.

Validation: 63 focused/existing backend checks, five focused/existing browser checks, two UI lint checks and runtime mirror verification passed. Independent technical review passed; desktop/narrow List and Columns screenshots inspected. Local workflow checks have no blocking findings. Full CI and separate human result approval are pending.

Measured isolated improvements: repeated-quote median 203.7ms to 0.47ms; health during anchor CPU work 810ms to 55ms; List click 172ms to 30ms; unchanged search 2–4ms with no board rebuild. These are calibration samples, not universal latency guarantees. Changed-result renders still showed 87–97ms long tasks, and a separate workspace request took 1.34s under heavy Spec load. Parsing/hashing/serialization and individual resolver calls remain synchronous. No live restart, install change, checkout-cap increase or new dependency.

Canonical feature: roadmap/features/nonblocking-performance-pass.md. Review and reproducible qualification details: .agent-workflow/tasks/nonblocking-performance-pass.md.

@github-actions
Copy link
Copy Markdown

agent-redline

❗ RED — Red-zone files changed.

  • red (2): package/minimap/src/sessions.js, playwright/nonblocking-performance.spec.js
  • gray (8): package/minimap/skills/minimap-roadmap/runtime/src/sessions.js, package/minimap/skills/minimap-roadmap/runtime/ui/app.js, package/minimap/skills/minimap-spec-review/runtime/src/sessions.js, package/minimap/skills/minimap-spec-review/runtime/ui/app.js, package/minimap/ui/app.js, roadmap/features/nonblocking-performance-pass.md, test/spec-anchor-index.test.js, test/spec-read-performance.test.js
  • blue (1): roadmap/board.md
  • watch (4): package/minimap/skills/minimap-roadmap/runtime/src/sessions.js, package/minimap/skills/minimap-roadmap/runtime/ui/app.js, package/minimap/skills/minimap-spec-review/runtime/src/sessions.js, package/minimap/skills/minimap-spec-review/runtime/ui/app.js

Behavior contracts: playwright/nonblocking-performance.spec.js
Workflow-only protection: checked in PR CI, but GitHub does not require it for merge.
Verification: test.

@github-actions
github-actions Bot commented Oct 18, 2026 •
Copy link
Copy Markdown

⚠️ Advisory: workflow checks have non-blocking findings

Scope: 2 task files (1 High, 1 unknown)

Audit detail — per-record checks

nonblocking-performance-pass

  • ⚠️ Work Record structure — 7 checks, 1 advisory
    • ⚠️ workrecord.commit_order — advisory — Work Record and code landed in the same commit (b59ada0). Ideally the WR is a separate commit BEFORE any code commit so it serves as recovery state. Non-blocking; treat as a signal to check whether the WR was written first or retroactively.
  • ✅ Risk classification — 5 checks, all passed
  • ⚠️ Required reviews — 2 checks, 1 advisory
    • ⚠️ review.checkpoints_satisfied — unsatisfied checkpoint 'architecture-review' — red-zone change: package/minimap/src/sessions.js; To fix this: CODEOWNER approval, label architecture-reviewed [shadow — advisory]
  • ✅ Other checks — 5 checks, all passed
  • ✅ Exceptions — 3 checks, all passed
  • ✅ Plan approvals — 4 checks, all passed
  • ✅ Verification plan — 2 checks, all passed
Effective rules (28)
Rule Source
workrecord.exists core
workrecord.markers_present core
risk.declared core
complexity.declared core
workrecord.shape_matches_classification core
workrecord.expanded_fields_present core
workrecord.state_valid core
workrecord.relationships_valid core
risk.redline_findings_available default
risk.boundary_violation_absent default
risk.declared_not_below_detected default
review.checkpoints_satisfied default
requirements.baseline_present core
requirements.baseline_unchanged core
requirements.behavior_changes_well_formed core
requirements.task_context_traceable core
requirements.requirement_changes_authorized core
exceptions.well_formed core
exceptions.not_against_boundary core
exceptions.not_expired core
approval.elevated_clean_context_review_present core
approval.high_clean_context_review_present core
approval.high_risk_approval_recorded core
approval.clean_context_does_not_satisfy_human core
review.agent_result_review_present core
evidence.criteria_have_methods core
evidence.failure_not_claimed_as_success core
workrecord.commit_order core

<behavior-contracts>

  • ✅ Other checks — 4 checks, all passed
Effective rules (4)
Rule Source
behavior_contracts.changed_paths_complete repo
behavior_contracts.changed_paths_classified repo
behavior_contracts.requirement_changes_authorized repo
behavior_contracts.verification_linked repo

Updated against commit e5efcb76.

@rore
rore merged commit 961422a into main Oct 18, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant

0