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

   With foreign language SDKs, it may be possible the two sides of supervisor 
comm have different versions. This adds a migration layer at the supervisor 
(server) side, so an SDK (client) using a lower version of the schema may be 
able to communicate to the server.
   
   This adds: (subpoints describe what each component is for, but those are not 
covered in this PR)
   
   1. A JSON schema file to describe the models used by the supervisor. This is 
automatically kept up-to-date with pre-commit hooks.
       * This should be published with versions for SDKs to use.
       * An SDK should use a version of this schema to talk to the supervisor.
   2. A structure to host Cadwyn migration files inside `execution_time`.
       * Whenever the supervisor schema changes, a migration should be added to 
the SDK.
   3. The supervisor use the migrations to upgrade the SDK’s message to match 
the schema version used by the supervisor, and downgrade messages before they 
are sent to the SDK to match the schema version used by the SDK.


-- 
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