collect_released_identifiers

Function collect_released_identifiers 

Source
fn collect_released_identifiers(
    releases_dir: &Path,
) -> Result<ReleasedIdentifiers>
Expand description

Scan every existing release CUE file for the sha: and pr_number: fields inside its commits: array and return the union as two sets.

We extract via simple regexes rather than running cue export. The shape of these files is well-defined (auto-generated and cue fmt-normalised against urls.cue) so this is the cheapest correct option, and avoids a runtime dependency on the cue binary just for de-duplication.