• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

chrisns / repomanager / 24274401663
85%

Build:
DEFAULT BRANCH: master
Ran 11 Apr 2026 04:14AM UTC
Jobs 1
Files 6
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

11 Apr 2026 04:13AM UTC coverage: 84.601% (+63.0%) from 21.649%
24274401663

push

github

web-flow
Modernize stack + checkbox consent workflow (#1555)

* Modernize stack and add checkbox consent workflow

Fix silent branch-protection bugs, migrate to Repository Rulesets, introduce
a webhook-driven task-list consent issue for high-risk changes, and replace
Serverless v3 + Octokit v20 with SAM + the Octokit meta package on Node 22.

- handler.js: fix allSettled wrapper bug, drop private-repo gate, guard NPE
  on required_status_checks, deep-merge configs, stop reopening closed
  templated-files PRs
- src/planner.js + src/applier.js: typed diff, per-change try/catch, dry-run
- src/consent.js: renderPlan / upsertConsentIssue / markItemsApplied / parse
  task-list checkboxes with stable HTML-comment markers
- src/config-schema.js: zod RepoConfig; invalid configs open a tracking issue
- Rulesets: new 'rulesets' key using repos.createRepoRuleset / updateRepoRuleset
- Low-risk toggles (vuln alerts, secret scanning, etc.) apply automatically;
  high-risk (rulesets, BP, repo flags, templated files) require a ticked box
- Serverless v3 -> SAM template.yaml, Node 18 -> Node 22, arm64
- Webhook Lambda wired up for issues.edited / push / installation events
- 47 Jest tests, 91% line coverage, enforced via coverageThreshold

* Neutralise hyphens in consent-issue marker ids (CodeQL js/bad-tag-filter)

The original encodeId only rewrote literal `-->` and left the equally-valid
HTML5 comment end `--!>` (and bare `--`) untouched. CodeQL flagged this.

Percent-encode the id with encodeURIComponent and additionally swap `-` for
`%2D` so no hyphen pair can appear inside the embedded `<!-- repomanager:... -->`
comment at all. Parsers decode the id back on the way out.

Regression test fuzzes several hyphenated ids and asserts every emitted
HTML comment interior is free of `--`.

Also:
- ignore `.aws-sam/` in jest testPathIgnorePatterns and .gitignore so the
  SAM build artifact directory isn't treated as a duplicate test tree

126 of 178 branches covered (70.79%)

Branch coverage included in aggregate %.

338 of 370 new or added lines in 6 files covered. (91.35%)

341 of 374 relevant lines covered (91.18%)

7.82 hits per line

Uncovered Changes

Lines Coverage ∆ File
15
77.78
56.13% handler.js
7
80.87
src/planner.js
5
88.1
src/applier.js
5
89.47
src/consent.js
Jobs
ID Job ID Ran Files Coverage
1 24274401663.1 11 Apr 2026 04:14AM UTC 6
84.6
GitHub Action Run
Source Files on build 24274401663
  • Tree
  • List 6
  • Changed 1
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • 89c81fec on github
  • Prev Build on master (#24229435122)
  • Next Build on master (#24274458226)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc