Repository navigation
feat(leasing): let requesters choose the lease ID - #423
Merged
Merged
Conversation
…the docs that described them (#410) Tests: 0 failing before the fixes (each new test goes red when its code is broken).
Contributor
Author
Review notesNot blocking, not verified. Each is one reviewer's claim.
Written by an agent. |
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.
Closes #410
Status
Implement: done (spec tests green) Review: round 2, 0 open Mutate: 13 alive, all equivalent Hardware: n/a Gate: merged
leaseId: "ad-7f3a"is granted a lease with IDad-7f3a, on a single host and through a gateway. Checked by e2e/http-api.test.ts and the gateway fleet-coordinator tests.LEASE_ID_TAKEN. Checked by HTTP e2e (waits for the grant first) and coordinator tests for both cases.BAD_REQUEST. Checked by contract and HTTP route tests; the route test goes red when the route schema is loosened.LEASE_ID_TAKENrefusal emitslease.rejectedwith reasonlease-id-taken. Checked by single-host and gateway tests.leaseIdgets an ID exactly as today. Checked by tests forlse_and<worker>.lse_IDs.Surviving mutants (equivalent)
src/daemon/dispatcher.ts:404,src/gateway/dispatcher.ts:460,src/http/app.ts:181-182,src/leasing/lease-request-book.ts:251:x === undefined ? {} : { k: x }forced to the second arm only addsk: undefined, which nothing observes.src/gateway/fleet-coordinator.ts:1119,1151,1160,src/gateway/lease-index.ts:238,281: log-message or reason-text string literals.src/http/test-fakes.ts:132,src/mcp/test-support.ts:225: fixture flag in test support.src/contract/errors.ts:197: the value in a set-of-keys table; only the key is read.Assumptions
none
Review
Spec review: 1 blocking, 1 fixed, 3 notes. Code review: 7 blocking, 5 fixed, 4 notes. Claims review: 6 blocking, 6 fixed, 4 notes.
Mutate: 217 mutants, 13 alive.
Rejected:
Written by an agent.