Repository navigation
fix(managed-server): keep the tunnel manager under its line limit (fix red main lint) - #30933
Conversation
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info
📝 Walkthrough
Priority: ⬇️ Low Merge Risk: ⚪ Minimal · up to
|
ELI5
Two fixes to the managed SSH tunnel (#30888 and #30891) each passed CI on their own, but together they pushed
orcad-managed-tunnel-manager.tsone line over the file-length lint limit.mainnow fails lint, and so does every PR that runs the static job. This moves one self-contained check out of that file so lint passes again. Behaviour doesn't change.What Changed
pnpm linton main reportsorcad-managed-tunnel-manager.ts: File has too many lines (301).managedTunnelStillPairedinorcad-managed-tunnel-active.ts, next tomanagedTunnelAccess, which it already wrapped. The build'sstillOwnedkeeps its generation checks and calls it.Why
The predicate is pure and belongs with the access check it extends. Raising the limit or disabling the rule isn't allowed.
Testing
pnpm tc:node: clean.pnpm test src/main/managed-server/lifecycle/: 24 files, 296 tests pass.