-
Notifications
You must be signed in to change notification settings - Fork 341
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
comment --pr=true default #1139
Comments
Historical contextTraditionally, We promoted a workflow where users opened a single pull request per “experimentation session” and then pushed [potentially] several commits, each one with a different “experiment” like modifying an hyperparameter. Reports for every of these changes would be available as a commit comment1 as soon as the training process finished, and were guaranteed to match the code from a specific commit. Then, there was a request for creating pull request comments rather than commit comments (#735) to avoid losing comments when rebasing a pull request. Footnotes
|
blocked on #1172 ? |
One problem with requiring
in the workflow definition for I think we should augment cml drivers with forge-specific logic for determining the pull request (if there is one) to add comments to. |
I'm not following, can you elaborate? |
I think @tasdomas means |
updated the title & description a bit, clearer now? |
What about this ? |
Probably a layer-8 error on my side 🤔 |
opened #1223 |
@casperdcl, with the improved options and logic with the introduction of |
Yes closed by #1228 |
https://github.blog/changelog/2022-08-04-commit-comments-no-longer-appear-in-the-pull-request-timeline/ meaning the
--pr
flag is now mandatory for CML reports to show up in PRs. Kinda a UX breaking change potentially.Options (pick just one):
--pr
everywhere (breaking change, examples: add --pr cml.dev#331)also auto-detect this/print warnings?
cml comment ... [--pr=true]
by default (UX friendly)--pr=false
(commit-comment)--pr=false
/--no-pr
to use commit-comments in PRs (edge case)cml comment ... [--pr=auto]
by default (better fail-not-warn error handling)--pr={true,false}
throws error on failure (no fallback)--flag=foo
=="foo"
&&--flag
==true
(latter needed for backwards compat)?The text was updated successfully, but these errors were encountered: