GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — pm-stack/aggregator: package typecheck red on main — quota-reset-duration.test.ts(256) string|undefined vs string|null · Issue #13484 · developing-today/code

pm-stack/aggregator: package typecheck red on main — quota-reset-duration.test.ts(256) string|undefined vs string|null #13484

New issue
Copy link
New issue
Copy link
Closed
Closed
pm-stack/aggregator: package typecheck red on main — quota-reset-duration.test.ts(256) string|undefined vs string|null#13484
Copy link
Labels
status:done

Description

@dezren39
dezren39
opened on Nov 23, 2026
Issue body actions

pm-stack/aggregator: package typecheck is red on main (pre-existing)

Found 2026-11-23 by lane felix during #8569 step-1 verification (unrelated change; the failing file is untouched by that work).

bun x tsc --noEmit in pm-stack/aggregator at main fails with exactly one error:

src/quota-reset-duration.test.ts(256,33): error TS2769: No overload matches this call.
  Overload 1 of 2, '(expected: string | null): void', gave the following error.
    Argument of type 'string | undefined' is not assignable to parameter of type 'string | null'.

The test passes a string | undefined where the assertion helper expects string | null. The test suite itself is green (the full targeted run passes); only the typecheck is red, which means the package's typecheck script currently cannot gate anything.

Acceptance

  • bun x tsc --noEmit in pm-stack/aggregator exits 0 at main, with the fix at the call site or the helper's signature — whichever matches the surrounding code's convention — and no test weakened.

Filed by lane felix, 2026-11-23. Filed without a pilot packet: the shortlist is operator-managed (same recorded pattern as #13342).

Activity

  1. developing-today commented on Nov 23, 2026

    @developing-today
    developing-todayBot
    on Nov 23, 2026 – with developing.today
    Contributor
    More actions

    CODE-4917

  2. dezren39 commented on Nov 23, 2026

    @dezren39
    dezren39
    on Nov 23, 2026
    MemberAuthor
    More actions

    Lane AAL claim: taking #13484 — pm-stack/aggregator typecheck red on main (quota-reset-duration.test.ts(256) string|undefined vs string|null). Premise + ownership check: issue open, no labels, only comment is the automated Kaneo link (developing-today[bot] 2026-11-23T17:05:49Z); no lane claim present. Plan: reproduce bun x tsc --noEmit in pm-stack/aggregator on a laptop worktree off main, fix at the call site or helper signature per surrounding convention without weakening any test, verify typecheck exits 0 and the targeted test suite still passes, land via PR and merge when verified.

  3. dezren39 commented on Nov 23, 2026

    @dezren39
    dezren39
    on Nov 23, 2026
    MemberAuthor
    More actions

    Lane AAL outcome: DONE. Premise was TRUE — reproduced on a clean laptop worktree off main (fbdc853): bun x tsc --noEmit in pm-stack/aggregator failed with exactly the reported TS2769 at quota-reset-duration.test.ts(256,33).

    Fix: PR #13510, merged as 249a143. One line at the call site: the expected value is now predicted[0].prediction?.latest ?? null, mirroring how production builds the field at src/quota-reset-duration.ts:412 (resets: r.prediction?.latest ?? null). No test weakened — identical compared value whenever a prediction exists.

    Verification (laptop runs): pre-fix tsc failed with the single reported error; post-fix tsc exits 0 both on the branch and on the merged main commit; bun test src/quota-reset-duration.test.ts 14 pass / 0 fail in both places. The package-wide bun test run was started but exceeded the harness window (exit 124) — not needed for this type-only test-file change; the acceptance oracle is the typecheck, which is green on main.

    Closing: the issue's single acceptance criterion (bun x tsc --noEmit exits 0 at main, no test weakened) is fully met.

  4. dezren39
    closed this as completedon Nov 23, 2026
  5. developing-today
    added
    status:done
    on Nov 23, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    status:done

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      You are visitor 01402775 — GeezerVison does not store the pages you look up.
      Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.