Skip to content

[cadence 9608a041b9691a2d] Fix (2) still permits a stale claim holder to activate after lease takeover. #244

Description

@crenshawdev

Raised at crates/baley/src/update/deliver.rs:246 as high by openai, ruled downgraded.

Claim. Fix (2) still permits a stale claim holder to activate after lease takeover.

Failure scenario. Pause the process immediately after before_step(Step::Activation) succeeds. Its heartbeat stops, its lease expires, and another checker acquires the claim while the stable link remains unchanged. On resumption, apply_activation performs the exchange without consulting the lease again. The displaced link matches start, so the stale checker activates successfully despite having lost ownership; rejecting its eventual completion cannot undo that effect.

Filed by Cadence. Fingerprint 9608a041b9691a2d over (file, claim).

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    • Status
      No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions