Skip to content

Budget the authoritative HTTP policy decision at zero growth - #591

Merged
Antnation merged 2 commits into
mainfrom
feat/437-enforce-http-policy-budget
Oct 21, 2026
Merged

Antnation merged 2 commits into
mainfrom
feat/437-enforce-http-policy-budget

Conversation

@Antnation

Copy link
Copy Markdown
Contributor

Part of #437. This is the budget step of the two-step transition; #571 landed the harness.

  • microbench-budget.json moves to schema 2 and approves the http_policy harness digest f10830a1…. That digest is computed from the git blob through microbench.py's own _kernel_harness(); the same method reproduces the already-approved pure-path digest 0e005f79…. A zero-growth http_policy target is added.
  • validate_budget accepts it, and kernel_policy(main budget, this budget) returns proposed. Once this merges, every comparison whose base carries schema 2 is enforced.
  • docs/performance/pure-path-benchmarks.md documents the target and its adoption states.

Local: test_microbench.py and test_microbench_process.py pass.

Second step of the reviewed harness-then-budget transition for the
http_policy target (#571 landed the harness). microbench-budget.json moves to
schema 2: it approves the harness digest in kernel_harness_sha256 (computed
from the git blob, as microbench.py does) and adds a zero-growth http_policy
entry. This PR runs in the proposed state against its schema-1 base; every
later comparison whose base carries schema 2 enforces the budget.

The benchmark doc gains a section on the target, its adoption states and
the per-revision build.
Copilot AI balanced review requested due to automatic review settings October 21, 2026 00:14

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

An organization owner can choose the repository organization as the billing source for reviews requested by members with a paid Copilot license. Learn about Copilot code review billing.

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 21, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-10-21T00:16:23.118157Z 704e48c PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@Antnation
Antnation merged commit fb3611a into main Oct 21, 2026
35 checks passed
@Antnation
Antnation deleted the feat/437-enforce-http-policy-budget branch October 21, 2026 00:42
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.

2 participants