Skip to content

Update job writing guide docs #718

Open
mtuchi wants to merge 5 commits intomainfrom
714-job-writing
Open

Update job writing guide docs #718
mtuchi wants to merge 5 commits intomainfrom
714-job-writing

Conversation

@mtuchi
Copy link
Copy Markdown
Contributor

@mtuchi mtuchi commented Nov 12, 2025

Short Description

Improve job writing guide docs by grouping into smaller topics and add warning message on Referencing credentials in job code section. [See advanced concept page]

Closes #714

Details

  • Group job writing guide content into specific topic files and update sidebar
  • Add a warning about Referencing credential secretes in job code

AI Usage

Please disclose how you've used AI in this work (it's cool, we just want to
know!):

  • Code generation (copilot but not intellisense)
  • Learning or fact checking
  • Strategy / design
  • Optimisation / refactoring
  • Translation / spellchecking / doc gen
  • Other
  • I have not used AI

You can read more details in our
Responsible AI Policy

@mtuchi mtuchi linked an issue Nov 12, 2025 that may be closed by this pull request
2 tasks
@mtuchi
Copy link
Copy Markdown
Contributor Author

mtuchi commented Nov 12, 2025

Hey @hunterachieng Please review my pr and share your feedback, See my quick walk through video here

Copy link
Copy Markdown
Collaborator

@josephjclark josephjclark left a comment

Choose a reason for hiding this comment

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

This PR confused me a bit until I figured out what you were doing!

Generally I approve, I think it's great. Just a couple of suggestions before I'm ready to merge

title: Advanced Concepts
---

## Cleaning final state
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

I think I'd move this under the Operations and State section


## Referencing credential secrets in your job code

:::danger This is NOT a recommended practice
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

I don't think this is as bad as you're saying here - but if you're not comfortable with it I'd drop it from the docs entirely.

It's not really an antipattern, but it's something that users shouldn't need to do. So let's cut it.

@@ -0,0 +1,181 @@
---
sidebar_label: Advanced Concepts
title: Advanced Concepts
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Maybe we can call this Best Practice or something? "advanced" feels very vague

Or maybe we can just move each section somewhere better

whole batch, and you know which items succeeded and which failed. You can then
throw an exception to recognise that the job has failed.

## Compilation
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

This could be its own page. I'll think about whether to remove it or develop it further. There are some important things here which need to be documented.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: No status

Development

Successfully merging this pull request may close these issues.

Update job writing docs

3 participants