Skip to content

Parameterize GCP Batch job naming for better tracking#22434

Open
ksuderman wants to merge 2 commits intogalaxyproject:devfrom
ksuderman:parameterize-job-id
Open

Parameterize GCP Batch job naming for better tracking#22434
ksuderman wants to merge 2 commits intogalaxyproject:devfrom
ksuderman:parameterize-job-id

Conversation

@ksuderman
Copy link
Copy Markdown
Contributor

This PR enhances the Google Cloud Batch job runner with improved job identification:

  1. Configurable job prefix: Added job_id_prefix parameter to customize the prefix of Batch job names (defaults to "galaxy-job")
  2. Include Galaxy job ID: Append Galaxy job ID to Batch job names for easier correlation between Galaxy jobs and GCP Batch jobs

Job name format: {prefix}-{timestamp}-{random_hex}-{galaxy_job_id}

Example: galaxy-job-1672531200-a1b2c3d4-123

These changes improve debugging and monitoring by making it easier to track jobs across Galaxy and Google Cloud Console without affecting existing functionality.

How to test the changes?

(Select all options that apply)

  • I've included appropriate automated tests.
  • This is a refactoring of components with existing test coverage.
  • Instructions for manual testing are as follows:
    1. [add testing steps and prerequisites here if you didn't write automated tests covering all your changes]

License

  • I agree to license these and all my past contributions to the core galaxy codebase under the MIT license.

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

Projects

Status: Needs Review

Development

Successfully merging this pull request may close these issues.

1 participant