Commit Graph

9 Commits (cfd112952eefbb77f18cbd7b66cef44455941bed)

Author SHA1 Message Date
quotentiroler 5c62e4d51b Improve code analyzer for independent packages, CI: only run release-check on push to main 10 months ago
quotentiroler b40a7771e5 ci: imprpove warning for size check 10 months ago
quotentiroler 1074d13e4e Improve flagging in code analyzer 10 months ago
quotentiroler 1fad19008e fix: improve code-size gate output and duplicate detection, fix Windows path in source-display 10 months ago
quotentiroler de8eb2b29c feat(ci): also flag already-large files that grew larger 10 months ago
max 50b3d32d3c
CI: add code-size check for files crossing LOC threshold (#12810)
* CI: add code-size check for files crossing LOC threshold

* feat(ci): add duplicate function detection to CI code-size check

The --compare-to mode now also detects new duplicate function names
introduced by a PR. Uses git diff to scope checks to changed files
only, keeping CI fast.

* fix(ci): address review feedback for code-size check

- Validate git ref upfront; exit 2 if ref doesn't exist
- Distinguish 'file missing at ref' from genuine git errors
- Explicitly fetch base branch ref in CI workflow
- Raise threshold from 700 to 1000 lines

* fix(ci): exclude Swabble, skills, .pi from code analysis

* update gitignore for pycache

* ci: make code-size check informational (no failure on violations)
10 months ago
max 79c2466662
refactor: consolidate throwIfAborted + fix isCompactionFailureError (#12463)
* refactor: consolidate throwIfAborted in outbound module

- Create abort.ts with shared throwIfAborted helper

- Update deliver.ts, message-action-runner.ts, outbound-send-service.ts

* fix: handle context overflow in isCompactionFailureError without requiring colon
10 months ago
max f0924d3c4e
refactor: consolidate PNG encoder and safeParseJson utilities (#12457)
- Create shared PNG encoder module (src/media/png-encode.ts)

- Refactor qr-image.ts and live-image-probe.ts to use shared encoder

- Add safeParseJson to utils.ts and plugin-sdk exports

- Update msteams and pairing-store to use centralized safeParseJson
10 months ago
max a1123dd9be
Centralize date/time formatting utilities (#11831) 10 months ago