jason810496 opened a new pull request, #75944:
URL: https://github.com/apache/airflow/pull/75944

   The Java SDK refreshes its vendored supervisor schema from the staged docs 
site. Staged is a
   preview of the in-progress docs build, not a release artifact, so a released 
SDK should be
   pinned to the published location instead:
   
   ```diff
   -val schemaBaseUrl = 
"https://airflow.staged.apache.org/schemas/supervisor-schema";
   +val schemaBaseUrl = "https://airflow.apache.org/schemas/supervisor-schema";
   ```
   
   ### What this does not do
   
   It does not change what any current build reads. `:sdk:syncSupervisorSchema` 
only downloads when
   the vendored `java-sdk/sdk/schema/schema.json` declares a different 
`api_version` than
   `airflowSupervisorSchemaVersion` in `java-sdk/gradle.properties`. Both say 
`2026-10-30`, so the
   task short-circuits and the URL is never requested:
   
   ```console
   $ ./gradlew -p java-sdk :sdk:syncSupervisorSchema
   Supervisor Schema is up-to-date (api_version=2026-10-30).
   BUILD SUCCESSFUL
   ```
   
   CI builds the Java SDK with `./gradlew test` from a fresh checkout, which 
always has the vendored
   copy, so this change is inert there and will not be exercised until the two 
versions disagree,
   which is the next time the supervisor schema version moves.
   
   `https://airflow.apache.org/schemas/supervisor-schema/2026-10-30.json` is 
not published yet. It
   has to be in place before the next version bump, or that bump's sync fails.
   


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to