Skip to content

ADR β€” PR #1025

2026-05-19 10:00 β€” Replace console.error with structured logger

Section titled β€œ2026-05-19 10:00 β€” Replace console.error with structured logger”

2026-05-19 15:30 β€” Refactor to use Nanostores pattern

Section titled β€œ2026-05-19 15:30 β€” Refactor to use Nanostores pattern”

2026-05-19 15:35 β€” Fix selectedOrgId reset on form open/close

Section titled β€œ2026-05-19 15:35 β€” Fix selectedOrgId reset on form open/close”

2026-05-19 15:40 β€” Debounce slider changes to prevent rapid POSTs

Section titled β€œ2026-05-19 15:40 β€” Debounce slider changes to prevent rapid POSTs”

2026-05-19 15:45 β€” Ensure proper error handling in organizations fetch

Section titled β€œ2026-05-19 15:45 β€” Ensure proper error handling in organizations fetch”

2026-05-20 15:30 β€” Final verification of CodeRabbit findings

Section titled β€œ2026-05-20 15:30 β€” Final verification of CodeRabbit findings”

2026-05-20 16:45 β€” Skip false positives - logging already implemented

Section titled β€œ2026-05-20 16:45 β€” Skip false positives - logging already implemented”

2026-05-20 16:50 β€” Skip false positives - Nanostores pattern already implemented

Section titled β€œ2026-05-20 16:50 β€” Skip false positives - Nanostores pattern already implemented”

2026-05-20 16:55 β€” Add request token guard for slider changes

Section titled β€œ2026-05-20 16:55 β€” Add request token guard for slider changes”

2026-05-21 03:00 β€” Fix stale-response guard with useRef (PR #1080 review)

Section titled β€œ2026-05-21 03:00 β€” Fix stale-response guard with useRef (PR #1080 review)”
  • Comment: https://github.com/dboone31/erp-unlocked/pull/1080#discussion_r3279311233
  • Priority: must-fix
  • Decision: accept
  • Rationale: The previous request-token guard captured requestToken from the same render snapshot as currentToken, so the equality check always passed and stale responses could still overwrite newer updates. Switched to a useRef-backed token that the closure can re-read after await.

2026-05-21 03:00 β€” Mirror write path in parseRollout (PR #1080 review)

Section titled β€œ2026-05-21 03:00 β€” Mirror write path in parseRollout (PR #1080 review)”

2026-05-21 03:00 β€” Wrap flag catalog load in try/catch (PR #1080 review)

Section titled β€œ2026-05-21 03:00 β€” Wrap flag catalog load in try/catch (PR #1080 review)”

2026-05-21 03:00 β€” Don’t return raw exception messages in 500s (PR #1080 review)

Section titled β€œ2026-05-21 03:00 β€” Don’t return raw exception messages in 500s (PR #1080 review)”