Skip to content

Post-refactor follow-ups: discovery.reset() generation counter + minor parity items #9

Description

@dzhelezov

Deferred items from the final adversarial verification of #6 (none merge-blocking):

  1. discovery.reset() generation counter (latent, unreachable today): reset() doesn't invalidate in-flight scans — a scan completing after a reset still advances confirmed, and a later failure could roll through up to that stale watermark. Unreachable via the shell today (reset fires only before any scan exists), but a generation counter closes it cheaply. See portal/portal-discovery.ts.
  2. HTTP-date retry-after parses to NaN → treated non-retryable (hard throw) instead of backing off. Main-parity behavior; worth normalizing.
  3. INTEGRATION.md metrics table omits the extends counter (main omitted it too).
  4. Biome useSingleVarDeclarator sweep: a couple of multi-declarator lines in portal-client.ts pass the warn-level gate; sweep + bump the rule to error per CLAUDE.md.
  5. Format the (pre-existing) test files' remaining style-rule warnings when the rule bumps.

🤖 Generated with Claude Code

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions