Skip to content

DELIVERY: a green check proves something about where it ran - #17

Open
arnelirobles wants to merge 1 commit into
mainfrom
gate/the-check-ran-somewhere-else
Open

DELIVERY: a green check proves something about where it ran#17
arnelirobles wants to merge 1 commit into
mainfrom
gate/the-check-ran-somewhere-else

Conversation

@arnelirobles

Copy link
Copy Markdown
Contributor

One section, because both incidents are the same shape.

What it caught

A 4KB request body cap that nothing enforced in the suite. [RequestSizeLimit] does not reject anything itself, it sets IHttpMaxRequestBodySizeFeature, and Kestrel is what reads it. The integration suite runs on WebApplicationFactory, so it serves over TestServer, and TestServer does not implement that feature. The attribute was inert and an 8KB body came back 202. SECURITY.md, THREAT-MODEL.md and the controller's own remarks all stated the cap. Any test written for it in that suite would have passed while asserting nothing.

An hour later, a mutation check that could not see its own mutation. A gitleaks allowlist had been widened, and widening one far enough to disable the rule looks identical to widening it correctly, so the rule was tested by putting a real-looking password in the file. Clean scan, allowlist apparently proven. gitleaks detect scans commits; the password was uncommitted and never examined. --no-git scans files, and with it the rule fired at once.

Why one section rather than two

Both had a real runner, a zero exit, and the thing under test sitting outside the scope the runner was reading. The section ends on the question that subsumes the rest, which is whether deliberately breaking the thing turns the check red, and notes that it is the one most often skipped because by then the work feels finished.

That last point is not rhetorical. The second incident happened to someone who had spent the previous hour writing about the first.

Note

This is a sixth open DELIVERY pull request (#10, #11, #12, #14, #15, #16 are the others). Worth deciding whether the backlog wants clearing before it grows again.

Two silent passes from the umbraco-pwa work on 2 September, same shape both times.

A 4KB request body cap that nothing enforced in the suite, because RequestSizeLimit only sets
IHttpMaxRequestBodySizeFeature and TestServer does not implement it, so the attribute was inert
and an oversized body came back 202 while three documents stated the cap.

Then a mutation check that could not see its own mutation, because gitleaks detect scans commits
and the password under test was uncommitted. The scan was clean and the allowlist looked proven.

Both exited zero with a real runner. The thing under test was outside the scope the runner was
looking at.
@coderabbitai

coderabbitai Bot commented Sep 2, 2026

Copy link
Copy Markdown

Warning

Review limit reached

Next included review available in 14 minutes.

Check out review usage here.

View limit details

Limit details: You’ve used the included review currently available.

You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository.

Learn how review limits work.

Review configuration:

⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Team

Run ID: e19668d6-c87b-40ca-83cf-5bbca62c0830

📥 Commits

Reviewing files that changed from the base of the PR and between 60e4730 and 6212f1f.

📒 Files selected for processing (1)
  • DELIVERY.md

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

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