{"id":16876429,"url":"https://github.com/staktrace/wire-bug-20240226-cc","last_synced_at":"2026-05-18T01:35:51.801Z","repository":{"id":224586215,"uuid":"763661338","full_name":"staktrace/wire-bug-20240226-cc","owner":"staktrace","description":"Reproducer for a wire configuration caching bug","archived":false,"fork":false,"pushed_at":"2024-04-04T15:53:15.000Z","size":6,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-19T04:43:20.902Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://github.com/square/wire/issues/2837","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/staktrace.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-02-26T17:42:05.000Z","updated_at":"2024-02-26T17:52:37.000Z","dependencies_parsed_at":"2024-11-25T04:25:01.031Z","dependency_job_id":"7eb3b57f-e1e4-42ee-8be8-a02bbdf8d8e2","html_url":"https://github.com/staktrace/wire-bug-20240226-cc","commit_stats":null,"previous_names":["staktrace/wire-bug-20240226-cc"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/staktrace/wire-bug-20240226-cc","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/staktrace%2Fwire-bug-20240226-cc","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/staktrace%2Fwire-bug-20240226-cc/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/staktrace%2Fwire-bug-20240226-cc/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/staktrace%2Fwire-bug-20240226-cc/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/staktrace","download_url":"https://codeload.github.com/staktrace/wire-bug-20240226-cc/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/staktrace%2Fwire-bug-20240226-cc/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33161860,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-17T22:39:12.733Z","status":"ssl_error","status_checked_at":"2026-05-17T22:39:10.741Z","response_time":107,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-13T15:39:25.384Z","updated_at":"2026-05-18T01:35:51.786Z","avatar_url":"https://github.com/staktrace.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"Steps to reproduce\n==================\n\n1. Clone this repo\n2. Run `bin/gradle clean generateMainProtos`\n\nExpected: build passes\n\nActual: build fails with error:\n\n```\n* What went wrong:\nExecution failed for task ':generateMainProtos'.\n\u003e unable to find period.proto\n    searching 0 proto paths:\n\n    for file /Users/kartikaya/zspace/wire-bugs/20240226-cc/src/main/proto/dinosaur.proto\n  unable to resolve Period\n    for field period (/Users/kartikaya/zspace/wire-bugs/20240226-cc/src/main/proto/dinosaur.proto:6:3)\n    in message Dinosaur (/Users/kartikaya/zspace/wire-bugs/20240226-cc/src/main/proto/dinosaur.proto:5:1)\n```\n\nWorkarounds\n===========\n\n1. Disable configuration caching in `gradle.properties`. Then the build passes.\n2. In the build.gradle.kts file, add `tasks.matching { it.name == \"generateMainProtos\" }.configureEach { notCompatibleWithConfigurationCache(\"wiretask not cc-compatible\") }`. Then the build passes.\n3. Downgrade `gradle` by running `bin/hermit install gradle-7.6.3`. Also then the build passes.\n\n\nTheories\n========\n\n- WireTask is not configuration-cache compatible, at least in gradle 8.6 and other versions of gradle 8+.\n- This is likely related to https://github.com/square/wire/issues/2815\n\nNotes\n=====\n\nThis repo uses hermit to manage tooling, so that everybody running it gets the same tool versions. You can add a gradle wrapper if you like, you should get the same results using that.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstaktrace%2Fwire-bug-20240226-cc","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fstaktrace%2Fwire-bug-20240226-cc","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstaktrace%2Fwire-bug-20240226-cc/lists"}