Repository navigation
docs(testing): record the live run of #39 (placement, budget counts, bench) - #121
Merged
Merged
Conversation
…e a raised create limit `stage2-contract.sh main` expected 31 tests where the suite has 51 once the six `oidc_` tests and the others it skips are left out (counted with `cargo test -- --list`, not by arithmetic), so a green run would have exited 5. Fixed, and confirmed live: all 51 tests started against the deployed Worker and 50 passed; the 51st is the rate-limit test below. A `budget` pass runs `list_endpoints_stay_within_five_db_round_trips` alone, so the database round-trip budget of #39 can be read against a deployed Postgres Worker. `create_is_rate_limited_per_user` (in `main`, and as `ratelimit`) sends up to 2 x limit + 1 creates one at a time. Against a Worker whose create binding was raised for the bench (1,000,000) it ran for 90 minutes without a result and had to be stopped, and the pass's vacuity guard could not see it. The pass now refuses a THRUST_EXPECT_CREATE_LIMIT above 1000 (or one that is not a number) before it sends anything. Checked both ways: 1,000,000 and `abc` exit 2, the default 30 and the `budget` pass with a raised limit get past it. Refs: #39 Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
…ct, the budget counts, the bench with placement on Run on 2026-11-11 against a fresh spike stack built from 1991731, torn down afterwards (checked by listing: no Worker, queue, bucket, Hyperdrive config, role or schema left). - Placement: the Workers API returned targeted / aws:us-east-1; a request that entered at EWR answered `cf-placement: remote-IAD`; 18 of 18 probes from the laptop answered `local-IAD`. The sentence in architecture/infra.md that said this was unverified now says what was seen. - Budget: the `budget` pass passed on the deployed Worker with the same nine counts as native-pg (3 for the slice, S17 and S47; 4 for the /api/v1 lists; 3 and 4 for a limited guest). - Bench: three runs each at c=1 and c=8, recorded as research/0004 section 10.3a beside 10.3, with the caveats (one vantage, no placement-off arm, a different build, so the lower create latency is not attributed to placement). 0011 gets dated notes at 6.10 and 12. G-24 says what ran live and what did not. - Not green: `stage2-contract.sh main` passed 50 of 51; the rate-limit test needs a create limit of 30 and this Worker's was 1,000,000. It is recorded as not run to the end. Issue #39 stays open. Refs: #39 Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
This was referenced Nov 11, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
The gated live run of #39, recorded. It ran on 2026-11-11 against a fresh spike stack built from
1991731(placement on, Hyperdrive caching off), and the stack was torn down afterwards.placement: {mode: "targeted", region: "aws:us-east-1"}. A request that entered at EWR answeredcf-placement: remote-IAD, which is the observation that tells the two header values apart. All 18 probes from the laptop (whose edge is IAD) answeredlocal-IADwith an-IADray, so from that vantage placement moves nothing, as research/0011 §6.8 found.budgetpass ofscripts/stage2-contract.shpassed 1 of 1 and gave the same nine counts asnative-pg: 3 for the slice's work items, S17 and S47; 4 for the/api/v1lists; 3 and 4 for a limited guest.docs/src/architecture/infra.mdand G-24 indocs/src/testing/status.mdnow say what was seen instead of "not run".scripts/stage2-contract.sh:maincounted 31 tests where the suite has 51 (counted with--list), abudgetpass, and a refusal of a create limit above 1000 (below).Not green, and why
stage2-contract.sh mainran all 51 tests: 50 passed, the 51st did not finish.create_is_rate_limited_per_usersends up to 2 x limit + 1 creates one at a time, and this Worker's create binding was 1,000,000 (raised for the bench), so it would have sent about two million requests. I stopped it after about 90 minutes with no result. It needs a Worker deployed with the default 30. The pass's vacuity guard could not see this, so the script now refuses a limit above 1000 (or a non-number) formainandratelimitbefore it sends anything. Checked both ways: 1,000,000 andabcexit 2; the default and thebudgetpass with a raised limit get past it.Not run live: a placement-off arm in the same run, a second vantage,
mainto the end.Checks
Refs #39. The issue stays open.
🤖 Generated with Claude Code