Skip to content

refactor: five functions under the complexity limit (ratchet 81 → 76) - #351

Merged
apedintensor merged 1 commit into
mainfrom
claude/ratchet-complexity-1030
Oct 29, 2026
Merged

apedintensor merged 1 commit into
mainfrom
claude/ratchet-complexity-1030

Conversation

@apedintensor

Copy link
Copy Markdown
Member

Owner refactor mandate (finish the frontend ratchets). Pure extractions, no behaviour change:

  • ApiKeys → initialForm(grant);
  • dstackLifecycle → between, uniqueIds, validHold;
  • navigation intercept → plainClick, inPageAnchor;
  • operatorNodeStatus → unconfirmedObservation, stateTone;
  • readBillingReferences → billingFilter, mergeBillingPage.

The complexity ratchet baseline is 81 → 76. npm test 898/898 and npm run lint pass.

ApiKeys initial form, dstackLifecycle validation, navigation click/anchor
checks, operator node observation/tone and the billing page filter/merge move
into small named helpers. Behaviour unchanged; all 898 tests pass.
@apedintensor
apedintensor merged commit 416f182 into main Oct 29, 2026
2 checks passed
@apedintensor
apedintensor deleted the claude/ratchet-complexity-1030 branch October 29, 2026 19:49
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