-
Notifications
You must be signed in to change notification settings - Fork 1k
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
Workflow landing improvements #18979
Workflow landing improvements #18979
Conversation
85f873f
to
aa20274
Compare
Private requests must be claimed before use. Public / Anonymous requests only depend on the public flag, so anoymous users can create private landing requests and authenticated users can create public requests. Tests should cover all of these scenarios.
Chose to make the url query param `client_secret` to match the API parameter.
We'd treat macros.xml and sample_tool_conf.xml as potential tools and fail `assert tool_source.parse_id()`.
aa20274
to
2565bb7
Compare
export async function getRunData(workflowId, version = null) { | ||
let url = `${getAppRoot()}api/workflows/${workflowId}/download?style=run`; | ||
export async function getRunData(workflowId, version = null, instance = false) { | ||
let url = `${getAppRoot()}api/workflows/${workflowId}/download?style=run&instance=${instance}`; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fetching by instance ID gave me really unexpected behavior in workflow rerun API - I'd check that out and make sure this is giving you the expected behavior and that you and I are the on the same page about what that expected behavior should be in this case. The PR I'm referring to is #18985 and the commit that fixed the API behavior IMO is cc8f1b6 - you may need to apply the same fix to this endpoint if we're on the same page.
Thanks for making those changes - I really appreciate it. The API makes a lot of coherent sense to me now but I hate creating extra work for you. Also I love seeing Selenium tests - thanks so much for doing that! |
I never see those tests fail unless I have broken something but there isn't logging, it won't let me rerun them, and I have no clue how any of those changes could break those tests - you haven't touched tool parsing code here - so I am going to assume those spurious failures I just haven't seen before. |
This PR was merged without a "kind/" label, please correct. |
Optimizing the BRC / IWC case first here:
Also adds a selenium test that exercises public and private landing requests.
How to test the changes?
(Select all options that apply)
License