Skip to content

best practices guide#50

Open
a-frantz wants to merge 2 commits intoopenwdl:mainfrom
a-frantz:best-practices
Open

best practices guide#50
a-frantz wants to merge 2 commits intoopenwdl:mainfrom
a-frantz:best-practices

Conversation

@a-frantz
Copy link

This PR adds a set of "WDL Best Practices" to the getting started section of the site. These best practices are agnostic of backend or engine.

The best practices herein were originally written for the St. Jude Cloud workflows repo (and are currently hosted there - https://github.com/stjudecloud/workflows/blob/77be0a72244209db1e08d289658233c476f5affa/best-practices.md ), but I think this site is a much better long term home for them!

The current document is just an exact copy of what we have on workflows, but maybe it needs some more elaboration or editorializing? Happy to discuss and edit as needed, but figure this is a good jumping off point!

@claymcleod claymcleod self-requested a review February 19, 2026 16:07
@claymcleod claymcleod self-assigned this Feb 19, 2026
Copy link
Contributor

@claymcleod claymcleod left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for putting this together — having a best practices guide on the docs site is a great addition. A few thoughts below.

- mutually exclusive parameters
- missing optional file for selected parameters
- filename extensions
- Use `after` clauses in workflows to ensure that all these assumptions are valid before beginning tasks with heavy computation.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The after clause is a useful feature but isn't currently documented anywhere on the docs site. Would you mind adding a section about after clauses to the Workflows page in the Language Guide and linking to it from here?

text: "Getting Started",
items: [
{ text: "Quickstart", link: "/getting-started/quickstart" },
{ text: "Best Practices", link: "/getting-started/best-practices" },
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm not sure "Getting Started" is the right home for this — would you mind moving it to a new top-level "Guides" section between Design Patterns and Reference?

@claymcleod claymcleod assigned a-frantz and unassigned claymcleod Feb 19, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants