Skip to content

Conversation

dglazer
Copy link

@dglazer dglazer commented Sep 26, 2025

… storage

  • Add logsBucket configuration option to BatchConfig
  • Support both CLOUD_LOGGING (default) and PATH log destinations
  • Add validation for GCS bucket paths (must start with gs://)
  • Include comprehensive tests for new functionality
  • Maintain backward compatibility

🤖 Generated with Claude Code
NOTE: this change still needs human review.

Signed-off-by: David Glazer [email protected]

Copy link

netlify bot commented Sep 26, 2025

Deploy Preview for nextflow-docs-staging canceled.

Name Link
🔨 Latest commit 2a9dacf
🔍 Latest deploy log https://app.netlify.com/projects/nextflow-docs-staging/deploys/68dd76c8c237050008556209

@dglazer dglazer marked this pull request as draft September 26, 2025 14:00
@emmarogge emmarogge force-pushed the fix-issue-6182 branch 3 times, most recently from be1236d to 71f6f4a Compare September 29, 2025 19:35
… bucket log storage

- Add logsBucket configuration option to BatchConfig
- Support both CLOUD_LOGGING (default) and PATH log destinations
- Add validation for GCS bucket paths (must start with gs://)
- Include comprehensive tests for new functionality
- Maintain backward compatibility

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <[email protected]>
Signed-off-by: David Glazer <[email protected]>
David Glazer and others added 2 commits September 29, 2025 19:39
- Add helper methods to extract bucket names and convert GCS paths to mount paths
- Ensure logs bucket is mounted as Volume in GoogleBatchScriptLauncher
- Update LogsPolicy to use container mount paths instead of GCS paths
- Add comprehensive tests for bucket mounting and path conversion
- Addresses reviewer feedback about missing bucket mounting requirements

This ensures Google Batch can write logs to the specified GCS bucket by
properly mounting it before referencing it in the LogsPolicy PATH.

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <[email protected]>
Signed-off-by: Emma Rogge <[email protected]>
1. Rename variable due to existing variable with same name.
2. Specify parameter type as string.

Signed-off-by: Emma Rogge <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants