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

bleedingdeacons / integrity-sharp / 38246266445
88%

Build:
DEFAULT BRANCH: main
Ran 12 Oct 2026 12:01PM UTC
Jobs 1
Files 29
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

12 Oct 2026 12:00PM UTC coverage: 87.569% (-3.8%) from 91.39%
38246266445

push

github

web-flow
feat: batch write requests through WordPress core's /batch/v1 (#21)

* feat: batch write requests through WordPress core's /batch/v1

UnityRestSharp.CreateBatch() returns an IntegrityBatch that queues the
write calls (member create/update/compliance, intergroup register and
unregister) and sends them in one POST to /wp-json/batch/v1.

BatchResponse carries one BatchItemResponse per request, in order, each
with its own status, error, rate limit and Data typed for the call
(DataAs<T>() to read it). ValidationFailed reports a require-all-validate
batch that core rejected before running anything; Failures() lists the
requests that did not succeed. Errors are read from both Integrity's
{success, error} shape and WordPress's {code, message} shape. Queueing
past the batch limit (core's 25, configurable) throws.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01UcrtD4ebmrpEewMXwEoDed

* fix: document batch internals and raise the default batch limit to 256

SA1600 wants the internal constructor and SendBatchAsync documented.
The Integrity plugin now sets rest_get_max_batch_size to 256, so the
client's default limit follows it.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01UcrtD4ebmrpEewMXwEoDed

* test: hoist multi-line JSON fixtures out of call arguments (SA1118)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01UcrtD4ebmrpEewMXwEoDed

---------

Co-authored-by: Claude <noreply@anthropic.com>

215 of 281 new or added lines in 5 files covered. (76.51%)

958 of 1094 relevant lines covered (87.57%)

18.57 hits per line

Uncovered Changes

Lines Coverage ∆ File
49
86.36
-3.61% TheBleedingDeacons.Unity.Client/UnityRestSharp.cs
17
70.69
TheBleedingDeacons.Unity.Client/IntegrityBatch.cs
Jobs
ID Job ID Ran Files Coverage
1 38246266445.1 12 Oct 2026 12:01PM UTC 29
87.57
GitHub Action Run
Source Files on build 38246266445
  • Tree
  • List 29
  • Changed 1
  • Source Changed 1
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #38246266445
  • a41dc4f1 on github
  • Prev Build on main (#34384664949)
  • Next Build on main (#38246991509)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc