Skip to content

docs(gcp-batch): Add head job sizing guidance for production pipelines#1672

Open
justinegeffen wants to merge 3 commits into
masterfrom
claude/EDU-1192/gcp-batch-head-job-sizing
Open

docs(gcp-batch): Add head job sizing guidance for production pipelines#1672
justinegeffen wants to merge 3 commits into
masterfrom
claude/EDU-1192/gcp-batch-head-job-sizing

Conversation

@justinegeffen

Copy link
Copy Markdown
Contributor

Summary

Adds head job sizing guidance to the GCP Batch compute environment documentation across three surfaces: Cloud, Enterprise, and the version-26.1 versioned snapshot. Without this guidance, customers setting up production pipelines on GCP Batch have no indication that the default head job resources are insufficient for large workflows — if the head job OOMs mid-run, the pipeline fails and results may be incomplete.

Changes

Files updated

  • platform-cloud/docs/compute-envs/google-cloud-batch.md
  • platform-enterprise_docs/compute-envs/google-cloud-batch.md
  • platform-enterprise_versioned_docs/version-26.1/compute-envs/google-cloud-batch.md

What was added

A :::caution admonition on the Head job CPUs / Head job memory fields (Advanced options) covering:

  1. Production warning — Default head job resource values are insufficient for production pipelines.

  2. OOM failure behavior — Pipeline fails immediately; already-running worker tasks complete but no new tasks are scheduled; output files are not cleaned up.

  3. Sizing table — CPU/memory recommendations by pipeline scale:

    Scale Tasks CPUs Memory
    Small Up to 100 2 4 GB
    Medium 100–500 4 8 GB
    Large 500+ 8 16 GB
  4. Scaling guidance — Memory scales with concurrent tasks and duration; CPU is moderate.

  5. JVM heap tuningNXF_JVM_ARGS="-Xms4g -Xmx12g" as a Head job environment variable.

  6. Instance template cross-reference — Notes that a Head job instance template overrides these fields.

Plus a last updated frontmatter bump to 2026-07-20 on all three files.

Test plan

  • Netlify preview renders the caution/note blocks correctly on both Cloud and Enterprise pages
  • Sizing table renders with correct column alignment
  • Anchor link #scripting-and-environment-variables resolves on all three pages
  • Step-number references (step 8 in Cloud, step 9 in Enterprise/versioned) match the actual instance template step

🤖 Generated with Claude Code

Adds head job sizing guidance to the GCP Batch compute environment
documentation in the Cloud, Enterprise, and version-26.1 versioned docs.
Without this guidance, customers setting up production pipelines on GCP
Batch have no indication that the default head job resources are
insufficient for large workflows.

Adds a :::caution block on the Head job CPUs / Head job memory fields
covering: production warning, OOM failure behavior, sizing table
(Small/Medium/Large scales), scaling guidance, NXF_JVM_ARGS heap tuning,
and an instance-template override cross-reference.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@netlify

netlify Bot commented Jul 20, 2026

Copy link
Copy Markdown

Deploy Preview for seqera-docs ready!

Name Link
🔨 Latest commit ba6b4a3
🔍 Latest deploy log https://app.netlify.com/projects/seqera-docs/deploys/6a5fa8643c545b0008e3c02b
😎 Deploy Preview https://deploy-preview-1672--seqera-docs.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@justinegeffen justinegeffen added the 1. Editor review Needs a language review label Jul 20, 2026
@justinegeffen

Copy link
Copy Markdown
Contributor Author

Approved by Laramie on initial PR https://github.com/seqeralabs/docs-internal/pull/1.

@christopher-hakkaart christopher-hakkaart left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

A lite deslop on the text. We will need to check the preview at the indentation may now be off. Otherwise looks good.

Comment thread platform-cloud/docs/compute-envs/google-cloud-batch.md
Comment thread platform-enterprise_docs/compute-envs/google-cloud-batch.md
Comment thread platform-cloud/docs/compute-envs/google-cloud-batch.md Outdated
@christopher-hakkaart

Copy link
Copy Markdown
Member

Indentation looks correct. But please note the update to the step in cloud. I think it should be 9 not 8.

Co-authored-by: Chris Hakkaart <chris.hakkaart@seqera.io>
Signed-off-by: Justine Geffen <justinegeffen@users.noreply.github.com>
@justinegeffen justinegeffen added 2. Edu reviews complete Reviews complete. Remove label when confirmed in prod. and removed 1. Editor review Needs a language review labels Jul 21, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

2. Edu reviews complete Reviews complete. Remove label when confirmed in prod.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants