Skip to content

fix(B-0191): tsc noUncheckedIndexedAccess + BACKLOG.md index drift#2253

Merged
AceHack merged 1 commit intomainfrom
fix/b0191-tsc-backlog-followup
May 9, 2026
Merged

fix(B-0191): tsc noUncheckedIndexedAccess + BACKLOG.md index drift#2253
AceHack merged 1 commit intomainfrom
fix/b0191-tsc-backlog-followup

Conversation

@AceHack
Copy link
Copy Markdown
Member

@AceHack AceHack commented May 9, 2026

Summary

Follow-up to #2250 — the squash-merge window closed before these non-required CI fixes landed on the branch.

  • Fix TS2532/TS18048 in check-orchestrator-state.test.ts: replace entries[0]/[1]/[2] with [0]!/[1]!/[2]! and const [entry] = ... destructuring with const entry = ...[0]! to satisfy noUncheckedIndexedAccess
  • Regenerate docs/BACKLOG.md so B-0076 (status: closed since commit 0a5af0c3) renders as [x] rather than [ ]

Test plan

  • bun --bun tsc --noEmit -p tsconfig.json → 0 errors
  • bun test tools/orchestrator-checks/ → 12 pass / 0 fail
  • bun tools/backlog/generate-index.ts --check → ok

operative-authorization: aaron 2026-05-04: "it**, not just the output. Grinding through failures + recoveries"

🤖 Generated with Claude Code

Follow-up to #2250 — the squash-merge window closed before these
non-required CI fixes landed on the branch.

- Replace entries[0]/[1]/[2] with entries[0]!/[1]!/[2]! and
  const [entry] destructuring with const entry = ...[0]! to
  satisfy noUncheckedIndexedAccess (TS2532 / TS18048)
- Regenerate docs/BACKLOG.md so B-0076 (status: closed since
  commit 0a5af0c) renders as [x] rather than [ ]

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Copilot AI review requested due to automatic review settings May 9, 2026 09:09
@chatgpt-codex-connector
Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.

@AceHack AceHack enabled auto-merge (squash) May 9, 2026 09:09
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR is a follow-up CI hygiene fix: it updates TypeScript unit tests to satisfy noUncheckedIndexedAccess and regenerates the auto-generated backlog index so closed items render correctly.

Changes:

  • Adjusted check-orchestrator-state unit tests to use non-null assertions on indexed array access under noUncheckedIndexedAccess.
  • Regenerated docs/BACKLOG.md so B-0076 renders as closed ([x]) based on its per-row status: closed.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 3 comments.

File Description
tools/orchestrator-checks/check-orchestrator-state.test.ts Updates test indexing/destructuring to satisfy noUncheckedIndexedAccess.
docs/BACKLOG.md Regenerated backlog index; fixes checkbox rendering for a closed row.

Comment thread tools/orchestrator-checks/check-orchestrator-state.test.ts
Comment thread tools/orchestrator-checks/check-orchestrator-state.test.ts
Comment thread tools/orchestrator-checks/check-orchestrator-state.test.ts
@AceHack AceHack merged commit 5b76d50 into main May 9, 2026
29 of 30 checks passed
@AceHack AceHack deleted the fix/b0191-tsc-backlog-followup branch May 9, 2026 09:12
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.

2 participants