You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by "jason810496 (via GitHub)" <gi...@apache.org> on 2026/10/13 17:49:33 UTC

[I] Go SDK: Add `--strict` flag for packer [airflow]

jason810496 opened a new issue, #74665:
URL: https://github.com/apache/airflow/issues/74665

   ### Body
   
   - refer to https://github.com/apache/airflow/pull/74637#discussion_r4259077768
   - Add a `--strict` flag for the packer and fail the packing if there isn't any Dag
   
   ### Committer
   
   - [x] I acknowledge that I am a maintainer/committer of the Apache Airflow project.


-- 
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: commits-unsubscribe@airflow.apache.org.apache.org

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


Re: [I] Go SDK: Add `--strict` flag for packer [airflow]

Posted by "jason810496 (via GitHub)" <gi...@apache.org>.
jason810496 commented on issue #74665:
URL: https://github.com/apache/airflow/issues/74665#issuecomment-6152300325

   Yeah, we should handle both entities, thanks.


-- 
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: commits-unsubscribe@airflow.apache.org

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


Re: [I] Go SDK: Add `--strict` flag for packer [airflow]

Posted by "abhishekmauryaKsolves (via GitHub)" <gi...@apache.org>.
abhishekmauryaKsolves commented on issue #74665:
URL: https://github.com/apache/airflow/issues/74665#issuecomment-6151794583

   Hi @jason810496, I'd like to take this if you're not already on it.
   
   My plan: add an opt-in `--strict` flag to `airflow-go-pack` (default off, so the current warn-and-continue behavior from #74637 stays), and make packing exit non-zero when no Dags are registered.
   
   One question: in strict mode, should it fail only when no Dags are registered, or also when no task handlers are registered?


-- 
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: commits-unsubscribe@airflow.apache.org

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