Skip to content

Split the API snapshots: runner crate, api-vs-rest #338

Description

@blooop

Question

Implement the snapshot re-scope decided in "Re-scope the public-API snapshots": add a checked-in cargo public-api snapshot for devlaunch-runner (its whole surface currently enters core's snapshot as the one unexpanded glob at public-api.txt:2301), and split devlaunch-core's snapshot into an api-only file (the frozen wf promise; a diff is a breaking change by definition) and a rest file (routine tripwire over the binary surface, regenerated freely). Update the public-api CI job (.github/workflows/ci.yml:397-419) to check all three, keeping the pinned cargo-public-api 0.52.0 and the -ss rationale. While there: tidy the 2 bare-pub allow(dead_code) items (flows/repo_manager.rs:389 WrongRepoLock, domain/metadata.rs:313 region) where a demotion survives the build. Document regeneration somewhere findable outside the CI error string.

Blocks #314, #316, and the two api::Launch builds, so the snapshot files move once.

Activity

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

Metadata

Metadata

Assignees

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions