Skip to content

feat: show which contract packages the build carries - #1476

Merged
bmc08gt merged 4 commits into
code/cashfrom
feat/contract-info-surfacing
Sep 16, 2026
Merged

bmc08gt merged 4 commits into
code/cashfrom
feat/contract-info-surfacing

Conversation

@bmc08gt

@bmc08gt bmc08gt commented Sep 16, 2026

Copy link
Copy Markdown
Collaborator

A build in someone's hand does not say which backend contract it speaks. The pinned
versions are in libs.versions.toml, but the upstream proto commit each one was generated
from is not in this repo at all, and a build running on protoLocalRoot looks identical to
a published one.

Both contract packages now carry that metadata themselves (ocp 0.5.0, flipcash2 0.9.0), so
this reads it rather than deriving it. Two surfaces:

Labs, under Developer, next to the existing staff-gated rows — one row per package showing
<version> · <short proto commit>. A package built from a local proto sync reports LOCAL
instead of a SHA and the row turns warning, so it stands out on a screenshot.

The exported log header, which already carries app version, device and build, gains
OCP Contract: and FC2 Contract: lines in the same shape. That is the surface that
matters on a bug report, where nobody can go and look at the screen.

:libs:logging picks up a compile dependency on both packages. They are already in the app
graph through :services:opencode and :services:flipcash and both ship their own keep
rules, so the APK is unchanged.

@bmc08gt bmc08gt self-assigned this Sep 16, 2026
@github-actions github-actions Bot added type: feature New functionality area: build-system Gradle, convention plugins, build-logic and removed type: feature New functionality labels Sep 16, 2026
@bmc08gt
bmc08gt force-pushed the feat/contract-info-surfacing branch from e1cde6e to 3852ed9 Compare September 16, 2026 21:37
@github-actions github-actions Bot added the type: feature New functionality label Sep 16, 2026
@bmc08gt
bmc08gt merged commit 108220f into code/cash Sep 16, 2026
4 checks passed
@bmc08gt
bmc08gt deleted the feat/contract-info-surfacing branch September 16, 2026 22:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area: build-system Gradle, convention plugins, build-logic type: feature New functionality

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant