-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Workflow landing improvements #18979
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
Changes from all commits
67fff6a
6debec7
59cf716
8d3b2ae
4f497a3
f4a779e
9608202
d5879db
2565bb7
3c7b0c1
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -12,8 +12,8 @@ import { rethrowSimple } from "utils/simple-error"; | |
* @param {String} workflowId - (Stored?) Workflow ID to fetch data for. | ||
* @param {String} version - Version of the workflow to fetch. | ||
*/ | ||
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 commentThe 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. |
||
if (version) { | ||
url += `&version=${version}`; | ||
} | ||
|
Uh oh!
There was an error while loading. Please reload this page.