bearomorphism commented on issue #27026:
URL: https://github.com/apache/airflow/issues/27026#issuecomment-7126543073

   We're prototyping a separation of capture and display: retain dictionary 
insertion order in the worker, then offer a UI sorting toggle enabled by 
default. Canonical Dag serialization stays unchanged.
   
   Removing worker-side sorting alone is insufficient: MySQL can reorder JSON 
object keys, and browsers reorder integer-like keys. A local worker-to-MySQL 
reproduction preserves those keys when rendered containers are stored as 
ordered JSON text.
   
   **Trade-off:** dictionary/list entries in the existing `rendered_fields` 
response would become JSON strings. This needs no new endpoint, schema field, 
or database column, but it is still an API behavior change: consumers expecting 
structured containers would need to parse the text. Structural secret masking 
and truncation must happen before encoding; those paths are being validated.
   
   Would this representation change be acceptable, or should the response 
retain structured values and carry a separate ordered display representation? 
The prototype is local and the design is not finalized; #77520 remains on hold.
   
   ---
   Drafted-by: Pi (GPT-6.1 Sol) (no human review before posting)
   


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