Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Wave container metadata to Platform traces #5724

Draft
wants to merge 3 commits into
base: master
Choose a base branch
from
Draft

Conversation

pditommaso
Copy link
Member

@pditommaso pditommaso commented Jan 29, 2025

This PR extends Platform trace requests by adding a new context containers including metadata information for Wave containers used by a pipeline execution.

The resulting payload looks like the following

{
  "tasks": [
    {
      "taskId": 2,
      "status": "FAILED",
      "hash": "f2/6e24f7",
      "name": "RNASEQ:FASTQC (FASTQC on ggal_gut)",
      "exit": 2147483647,
      "submit": null,
      "start": null,
      "process": "RNASEQ:FASTQC",
      "tag": "FASTQC on ggal_gut",
      "module": [],
      "container": "reg.ngrok.io/wt/bfec955dada5/wave/build/dev:fastqc-0.12.1--59b504b1d21a1eaf",
      "attempt": 1,
      "script": "\n    fastqc.sh \"ggal_gut\" \"ggal_gut_1.fq ggal_gut_2.fq\"\n    ",
      "scratch": null,
      "workdir": "/Users/pditommaso/Projects/nextflow/work/f2/6e24f7d015362b05aabd0f6dc61095",
      "queue": null,
      "cpus": 1,
      "memory": null,
      "disk": null,
      "time": null,
      "env": "PATH=$PATH:/Users/pditommaso/.nextflow/assets/nextflow-io/rnaseq-nf/bin\n",
      "executor": "local",
      "cloudZone": null,
      "machineType": null,
      "priceModel": null
    }
  ],
  "progress": {
    ... 
  },
  "containers": [
    {
      "requestId": "bfec955dada5",
      "sourceImage": "195996028523.dkr.ecr.eu-west-1.amazonaws.com/wave/build/dev:fastqc-0.12.1--59b504b1d21a1eaf",
      "targetImage": "reg.ngrok.io/wt/bfec955dada5/wave/build/dev:fastqc-0.12.1--59b504b1d21a1eaf",
      "buildId": "bd-59b504b1d21a1eaf_1",
      "scanId": "sc-9d8d4f2cbc4b3ce3_1",
      "cached": false,
      "freeze": false,
      "mirror": false
    }
  ],
  "instant": 1738172249659
}

A container metadata is send the very first time is used a task execution. Any following usage is ignored in the trace submission.

Verified

This commit was signed with the committer’s verified signature.
pditommaso Paolo Di Tommaso
Signed-off-by: Paolo Di Tommaso <[email protected]>
@pditommaso pditommaso marked this pull request as draft January 29, 2025 17:49
Copy link

netlify bot commented Jan 29, 2025

Deploy Preview for nextflow-docs-staging ready!

Name Link
🔨 Latest commit d8fb4a9
🔍 Latest deploy log https://app.netlify.com/sites/nextflow-docs-staging/deploys/679f9af3125b7d0008d9ff40
😎 Deploy Preview https://deploy-preview-5724--nextflow-docs-staging.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 site configuration.

wip

Verified

This commit was signed with the committer’s verified signature.
pditommaso Paolo Di Tommaso
Signed-off-by: Paolo Di Tommaso <[email protected]>

Verified

This commit was signed with the committer’s verified signature.
pditommaso Paolo Di Tommaso
Signed-off-by: Paolo Di Tommaso <[email protected]>
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.

None yet

1 participant