Skip to content

ci: fail on lint warnings and add upstream canary workflow#175

Merged
ardetrick merged 1 commit into
mainfrom
ci/upstream-compat
Jul 5, 2026
Merged

ci: fail on lint warnings and add upstream canary workflow#175
ardetrick merged 1 commit into
mainfrom
ci/upstream-compat

Conversation

@ardetrick

Copy link
Copy Markdown
Owner

Adds -Werror so lint warnings — notably uses of deprecated upstream API — fail compilation; the two current uses of URI helpers deprecated upstream are suppressed with TODOs to migrate to discovery-resolved URIs after the next testcontainers-ory-hydra release. -Werror can be disabled with -PlenientLint=true.

Moves the testcontainers-ory-hydra dependency into a version catalog (gradle/libs.versions.toml); a settings-level catalog overwrite lets -PtestcontainersOryHydraVersion select a different published version, which the canary uses for its latest-release jobs.

Adds a weekly/manually-dispatched canary workflow building this app against upstream in a {main, latest-release} x {lenient, strict} matrix: main via a Gradle composite build (catches unreleased breaking changes), latest-release via the newest published Maven Central artifact (catches pin drift and validates the artifact users consume). Lenient red means upstream actually breaks this app; strict red with lenient green means new deprecations to migrate. Informational only; does not gate merges.

@ardetrick ardetrick enabled auto-merge (squash) July 5, 2026 03:26
Adds -Werror so lint warnings — notably uses of deprecated upstream
API — fail compilation; the two current uses of URI helpers deprecated
upstream are suppressed with TODOs to migrate to discovery-resolved
URIs after the next testcontainers-ory-hydra release. -Werror can be
disabled with -PlenientLint=true.

Moves the testcontainers-ory-hydra dependency into a version catalog
(gradle/libs.versions.toml); a settings-level catalog overwrite lets
-PtestcontainersOryHydraVersion select a different published version,
which the canary uses for its latest-release jobs.

Adds a weekly/manually-dispatched canary workflow building this app
against upstream in a {main, latest-release} x {lenient, strict}
matrix: main via a Gradle composite build (catches unreleased breaking
changes), latest-release via the newest published Maven Central
artifact (catches pin drift and validates the artifact users consume).
Lenient red means upstream actually breaks this app; strict red with
lenient green means new deprecations to migrate. Informational only;
does not gate merges.
@ardetrick ardetrick force-pushed the ci/upstream-compat branch from 926a329 to 7e25392 Compare July 5, 2026 03:29
@ardetrick ardetrick disabled auto-merge July 5, 2026 03:32
@ardetrick ardetrick merged commit 859147a into main Jul 5, 2026
1 check passed
@ardetrick ardetrick deleted the ci/upstream-compat branch July 5, 2026 03:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant