Skip to content

Sysexts of 2 suites: SHA256SUMS has no write lock, and ext/ has no retention #102

Closed

Description

@frostyard-machines

Problem

snosi will publish the sysexts of 2 suites (trixie as _13_, forky as _14_) into 1 ext/<name>/ directory with 1 SHA256SUMS (core Plan 0009 Phase 6).

  • SHA256SUMS is read, merged and written back with no lock or conditional write (generator.go:598-672). If 2 suites publish at the same time, one run can drop the entries of the other.
  • Nothing prunes ext/. The upload has no --delete for sysexts (action.yml:639). So ext/ and SHA256SUMS grow without limit, for both suites.

Fix

  • Document that publishers must serialize sysext publication (snosi: 1 job, or a concurrency group), or add a conditional write (an ETag / If-Match) and retry.
  • Decide on a retention rule for each suite (version + OS version + arch), or record that nothing is pruned.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions