Skip to content

[C3] Bundle-flip-while-running test #45

@radical

Description

@radical

Track C validation. Depends on B5 (bundle install-id + atomic flip).

Test that a long-running aspire run survives a concurrent aspire update --self and bundle reparse flip:

  1. Start a long-running CLI command (mock or real) that holds bundle file handles.
  2. From another process, perform a bundle flip to a new version.
  3. Assert: the running process completes without error; new shells observe the new bundle.

Windows-specific variant: assert atomicity of the flip — there must be no observable window where ~/.aspire/bundle/ doesn't exist or points at a partial dir.

Scenarios covered

S5.2, S5.3, S7.1, S7.2.

Manual companion

runbook-bundle-flip-race.md — Windows reparse non-atomic window repro (real Windows only).


Part of: #29

Metadata

Metadata

Assignees

No one assigned

    Labels

    acquisitionAspire CLI acquisition coherence worktrack-c-validationTrack C: validation / runbooks / tests

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions