Skip to content

CI: nightly gradle hosted-snippet e2e fails on main: the printed snippet's repository URL holds <redacted> #2491

Backlog

Description

[agent] PR shepherd: the nightly CI run on main (d987721, the 5.2.0 release commit, run 47045205850) fails all four e2e-extended (… e2e_redirect_gradle_build …, --ignored gradle_hosted…) legs (Gradle 6.9.4, 7.6.6, 8.14.3, 9.8.0). The nightly before it (7d78f2f) did not fail them.

Failing tests: gradle_hosted_fallback_snippet_compiles_groovy, gradle_hosted_fallback_snippet_compiles_kotlin, gradle_hosted_pasted_snippet_not_attested.

The paste-ready snippet the CLI prints now has <redacted> in the repository URL path, so Gradle can't parse it:

forRepository { maven { url 'https://patch.socket.dev/patch-registry/maven/<redacted>/4d5e6f70-…/maven2' } }
…
Cannot convert 'https://patch.socket.dev/patch-registry/maven/<redacted>/…/maven2' to a URI.
> Illegal character in path at index 46

Likely cause: 2440352 (#2445, "Stop printing the credentials of URLs quoted from lockfiles in refusals and hosted warnings") is in the 7d78f2f..d987721 range and now redacts a segment of the hosted Gradle snippet's URL. If so, this ships in 5.2.0: a user who pastes the snippet gets a build that fails to evaluate. The fix needs to keep the snippet usable. Either print the real path segment if it isn't a secret, or print a named placeholder (for example an env-var reference) that the snippet resolves, and stop redacting it to a string that isn't a valid URI.

Log: gh run view 47045205850 --log-failed (job 144043957789 for Gradle 8.14.3).


Generated by Claude Code

Activity

  1. added
    ci-janitor
    on Dec 3, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    agent:triagedci-janitorpriority:p1

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions