8000 fix(minimap): preserve refreshed related work pages by rore · Pull Request #52 · rore/minimap · GitHub
[go: up one dir, main page]

Skip to content

fix(minimap): preserve refreshed related work pages - #52

Open
rore wants to merge 6 commits into
mainfrom
feat/minimap-source-read-and-related-refresh
Open

rore wants to merge 6 commits into
mainfrom
feat/minimap-source-read-and-related-refresh

Conversation

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

This PR fixes the source-bound workspace deadline and refreshes related-work pagination while preserving later pages and resetting when the snapshot generation changes. It also prevents a delayed stale-lock cleanup from deleting a replacement owner held by another current-version launcher. Both packaged restart scripts are kept identical; automatic stale JSON recovery remains, and cleanup removes only the observed token. The related-work reset witness is test-only.

Validation completed:

  • Focused restart race and runtime compatibility: 21 passed, exit 0 (Windows).
  • Source-bound deadline: 2 passed, exit 0.
  • Related-work reset/pagination Playwright journey: 1 passed, exit 0.
  • Full Minimap suite has no green local result. The first run had 430 passed, 2 failed, 3 skipped because TEMP/TMP placed non-Git fixture directories inside the checkout; moving temp outside the checkout resolved those two environment failures. The corrected external-temp run had 431 passed, 1 failed, 3 skipped, exit 1: stop-server.mjs exited with 3221226505 in test/server-lifecycle-log.test.js after restart and foreground assertions passed. No matching node.exe Application Error/WER event or retained child stderr was found; the cause is unknown and no product cause is established.
  • Exact-head CI test run 39096334964 failed npm test: 433 passed, 1 failed, 1 skipped, exit 1. In the Participants launcher race at test/roadmap.test.js:2813, one child exited 1 as expected, then the stderr assertion failed in 78.45 ms: expected the configuration-conflict message but received Port 4444 is in use by a non-minimap process. The launcher emits that message after EADDRINUSE when its health probe returns null; the retained evidence does not identify the port holder or prove it was unrelated. The failure happened before the test's live-health assertions.
  • Exact-head Agent Workflow run 39096334984 passed both Redline and workflow jobs. The fresh candidate checker reported exit 1 advisory because the architecture-review checkpoint is configured in Redline shadow mode; all blocking Work Record and behavior-contract checks passed.
  • Earlier hosted test run 39089229569 (older head 3d57f290…) had a separate Participants opt-in lifecycle child exit 1 after about 1.85 seconds (432 passed, 1 failed, 1 skipped); this was not established as a timeout.

The Windows focused test is not a full-suite or cross-platform concurrency guarantee. Mixed old/new launcher contention is not covered by a documented contract. The local stop-helper failure, current exact-head Participants assertion failure, and earlier hosted Participants child exit remain unresolved; none is waived by the focused pass.

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

agent-redline

❗ RED — Red-zone files changed.

  • red (4): package/minimap/skills/minimap-roadmap/scripts/restart-server.mjs, package/minimap/skills/minimap-spec-review/scripts/restart-server.mjs, playwright/related-work.spec.js, test/restart-race.test.js
  • gray (7): package/minimap/server.js, package/minimap/skills/minimap-roadmap/runtime/server.js, package/minimap/skills/minimap-roadmap/runtime/ui/app.js, package/minimap/skills/minimap-spec-review/runtime/server.js, package/minimap/skills/minimap-spec-review/runtime/ui/app.js, package/minimap/ui/app.js, test/roadmap-snapshot-deadline.test.js
  • watch (4): package/minimap/skills/minimap-roadmap/runtime/server.js, package/minimap/skills/minimap-roadmap/runtime/ui/app.js, package/minimap/skills/minimap-spec-review/runtime/server.js, package/minimap/skills/minimap-spec-review/runtime/ui/app.js

Behavior contracts: playwright/related-work.spec.js, test/restart-race.test.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

minimap-source-read-and-related-refresh

  • ✅ Work Record structure — 7 checks, all passed
  • ✅ Risk classification — 5 checks, all passed
  • ⚠️ Required reviews — 2 checks, 1 advisory
    • ⚠️ review.checkpoints_satisfied — unsatisfied checkpoint 'architecture-review' — red-zone change: package/minimap/skills/minimap-roadmap/scripts/restart-server.mjs; 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 ca45e53d.

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