You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@beam.apache.org by "zhaoyuanTian123 (via GitHub)" <gi...@apache.org> on 2026/03/27 01:11:24 UTC

[I] YAML Test CLI flag mismatch [beam]

zhaoyuanTian123 opened a new issue, #37980:
URL: https://github.com/apache/beam/issues/37980

   here is an inconsistency between the official documentation and the actual code for the YAML test CLI flag.Code: https://github.com/apache/beam/blob/master/sdks/python/apache_beam/yaml/main.py#L103 implements the flag as --test (singular),This mismatch leads to user confusion and failed test runs when following the documentation.


-- 
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: github-unsubscribe@beam.apache.org.apache.org

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


Re: [I] YAML Test CLI flag mismatch [beam]

Posted by "Eliaaazzz (via GitHub)" <gi...@apache.org>.
Eliaaazzz commented on issue #37980:
URL: https://github.com/apache/beam/issues/37980#issuecomment-4169576231

   .take-issue


-- 
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: github-unsubscribe@beam.apache.org

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


Re: [I] YAML Test CLI flag mismatch [beam]

Posted by "Eliaaazzz (via GitHub)" <gi...@apache.org>.
Eliaaazzz commented on issue #37980:
URL: https://github.com/apache/beam/issues/37980#issuecomment-4169575438

   I would like to take this issue as well.
   
   My approach will be:
   
   Code Audit: Verify if --tests (plural) is already used elsewhere in the codebase or if --test (singular) was the intended design choice.
   
   Alignment:
   
   If the Beam standard for YAML tools is plural, I will update main.py to support --tests (potentially keeping --test as an alias for backward compatibility).
   
   If singular was intended, I will submit a PR to correct the official documentation.
   
   Validation: Run the YAML test suite using the corrected flag to ensure the mismatch is resolved.


-- 
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: github-unsubscribe@beam.apache.org

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


Re: [I] YAML Test CLI flag mismatch [beam]

Posted by "derrickaw (via GitHub)" <gi...@apache.org>.
derrickaw commented on issue #37980:
URL: https://github.com/apache/beam/issues/37980#issuecomment-4390732574

   Hi @zhaoyuanTian123, I looked here - https://beam.apache.org/documentation/sdks/yaml-testing/ - and it uses `tests`.  Is that the documentation you were referring to? Or is there more that potentially has `test` as well? 


-- 
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: github-unsubscribe@beam.apache.org

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


Re: [I] YAML Test CLI flag mismatch [beam]

Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on issue #37980:
URL: https://github.com/apache/beam/issues/37980#issuecomment-5981010885

   This issue has been marked as stale due to 150 days of inactivity. It will be closed in 30 days if no further activity occurs. If you think that’s incorrect or this issue still needs to be addressed, please simply write any comment. If closed, you can reopen the issue at any time. Thank you for your contributions.


-- 
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: github-unsubscribe@beam.apache.org

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