Skip to content

CI, ~84% test coverage, ADRs, API docs and 0.2.0 changelog - #5

Closed
maarkN wants to merge 1 commit into
feat/epic-2-agent-supportfrom
feat/epic-3-quality-ci-release
Closed

maarkN wants to merge 1 commit into
feat/epic-2-agent-supportfrom
feat/epic-3-quality-ci-release

Conversation

@maarkN

@maarkN maarkN commented Jul 1, 2026

Copy link
Copy Markdown
Owner

EPIC-3 — Quality, CI & Release

  • createScraper unit tests via an injected fake daemon → 22 tests, ~84% line coverage (npm run test:unit / test:cov).
  • GitHub Actions CI (.github/workflows/ci.yml, Node 22/24) running build + unit tests.
  • Architecture Decision Records (docs/adr/0001-0003) and docs/API.md.
  • CHANGELOG 0.2.0 and version bump to 0.2.0; README CI/node/license badges.

Base: feat/epic-2-agent-support.

🤖 Generated with Claude Code

…hangelog

- Add createScraper unit tests via an injected fake daemon (scraper.js coverage 11% -> 94%); full suite is now 22 tests at ~84% line coverage. Add a test:cov script (native node:test coverage).
- GitHub Actions CI (.github/workflows/ci.yml) running build + unit tests on Node 22 and 24 (22.12+ for the MCP SDK's require(esm)).
- Architecture Decision Records (docs/adr/0001-0003) and docs/API.md.
- CHANGELOG 0.2.0 entry and version bump to 0.2.0; README CI/node/license badges.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@maarkN maarkN changed the title EPIC-3: CI, ~84% test coverage, ADRs, API docs and 0.2.0 changelog CI, ~84% test coverage, ADRs, API docs and 0.2.0 changelog Jul 1, 2026
maarkN added a commit that referenced this pull request Jul 1, 2026
CI, ~84% test coverage, ADRs, API docs and 0.2.0 changelog
@maarkN

maarkN commented Jul 1, 2026

Copy link
Copy Markdown
Owner Author

Merged into main as part of the v0.2.0 release — the commits are on main (release: https://github.com/maarkN/cloudscraper.js/releases/tag/v0.2.0). GitHub didn't flip the badge because the stacked PRs were merged via a direct push to main. Closing.

@maarkN
maarkN deleted the branch feat/epic-2-agent-support July 1, 2026 07:24
@maarkN maarkN closed this Jul 1, 2026
@maarkN
maarkN deleted the feat/epic-3-quality-ci-release branch July 1, 2026 07:24
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