You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@sedona.apache.org by "zhangfengcdt (via GitHub)" <gi...@apache.org> on 2026/04/27 17:24:59 UTC

[I] pre-commit: validate-dependabot-yml flakes in CI on TLS reset to json.schemastore.org [sedona]

zhangfengcdt opened a new issue, #2866:
URL: https://github.com/apache/sedona/issues/2866

   The validate-dependabot-yml pre-commit hook (powered by @bugron/validate-dependabot-yaml) fetches the JSON schema from https://json.schemastore.org/dependabot-2.0.json on every run. When the TLS handshake to schemastore.org is reset mid-connection, the whole pre-commit job fails with ECONNRESET, even though .github/dependabot.yml itself is valid.
   
   This is a transient infrastructure failure that has nothing to do with the PR being checked, so it shows up as a flaky red on otherwise green CI runs.
   
   Proposed fix
   
   Replace the live-fetch validator with python-jsonschema/check-jsonschema's check-dependabot hook, which ships the schema bundled with the package — fully offline, no network at runtime, no flakes:
   
   ```
     - repo: https://github.com/python-jsonschema/check-jsonschema
       rev: 0.30.0
       hooks:
         - id: check-dependabot
           name: validate dependabot.yml
           files: ^\.github/dependabot\.yml$
   ```
   
   This is a drop-in replacement: same coverage (validates .github/dependabot.yml against the dependabot v2 schema), same trigger pattern, but no outbound HTTP from the hook.
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@sedona.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] pre-commit: validate-dependabot-yml flakes in CI on TLS reset to json.schemastore.org [sedona]

Posted by "jiayuasu (via GitHub)" <gi...@apache.org>.
jiayuasu closed issue #2866: pre-commit: validate-dependabot-yml flakes in CI on TLS reset to json.schemastore.org
URL: https://github.com/apache/sedona/issues/2866


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@sedona.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org