Skip to content

perf: optimize extraction and analysis post-processing#22

Merged
ni5arga merged 5 commits into
mainfrom
ci/harden-and-eslint
Jun 6, 2026
Merged

perf: optimize extraction and analysis post-processing#22
ni5arga merged 5 commits into
mainfrom
ci/harden-and-eslint

Conversation

@ni5arga

@ni5arga ni5arga commented Jun 6, 2026

Copy link
Copy Markdown
Owner

Summary

  • optimize social handle extraction by reusing prebuilt regex objects safely
  • reduce repeated scans in analysis post-processing
  • merge latest main into this branch before optimization work

Commits

  • perf(extract): reuse social regex instances safely
  • perf(analyze): reduce repeated scans in post-processing

Validation

  • npm run lint
  • npm test

ni5arga added 5 commits June 5, 2026 14:20
- Run CI across Node 20, 22, and 24 via a build matrix
- Add concurrency group to cancel superseded runs on the same ref
- Restrict GITHUB_TOKEN to contents:read (least privilege)
- Add ESLint (flat config + typescript-eslint) with a lint step
- Fix the one issue the linter surfaced: drop an unused Platform import
Node's test runner only supports glob patterns from Node 21+, so the
quoted src/**/*.test.ts glob matched nothing on the Node 20 matrix leg.
Expand the file list with find instead, which works on all versions.
@ni5arga ni5arga merged commit d98c145 into main Jun 6, 2026
3 checks passed
@ni5arga ni5arga deleted the ci/harden-and-eslint branch June 6, 2026 18:45
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