-
Notifications
You must be signed in to change notification settings - Fork 4
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
Pass Errors over to the Create Issue Action? #701
Comments
Hmm, maybe. What would you want to know about the Scenarios? Their descriptions? What if we provide the report (to put in the issue)? Just some notes for implementation: Regular GitHub action steps can output data and subsequent steps can use that data: https://docs.github.com/en/actions/learn-github-actions/contexts#needs-context. I'd like to assume composite actions can then pass that to the actions that used them because it seems like an obvious affordance, but... yeah, so we should do some research. [Update: It's totally possible to pass output from the action, but I think we can only output strings and I'm not sure we can output dynamic variable names. That is, all the scenario failures would be in one long (though multiline) string. The dev would have to then parse out individual scenarios to make individual errors, or just make an issue for one error for all the scenarios.] |
I'd take as much detail as I can get. Ideally, I'd get the step by step elements to see what failed. I can find that now in the log, but it takes a while to click there and then scroll to the right place:
|
Close #701, allow author to access the text of unexpected results in a portable way
Note: Revisit in the future to try implementing a different syntax for outputting the actual text as a proper multiline string: https://github.com/orgs/community/discussions/26288 |
If there is an error, you can use the action step to create a Github Issue - https://suffolklitlab.org/docassemble-AssemblyLine-documentation/docs/alkiln/#make-a-github-issue-when-tests-fail
Is there any way to pass more of the details about which scenarios failed to the issue?
The text was updated successfully, but these errors were encountered: