iterative / iterative/setup-cml

Publishing Plot in PR Comments Not Working

Open
#101 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
34
Forks
12
PR merge metrics
No merged PRs in 30d

Description

I am trying to publish the confusion matrix in the comments section of a PR, it seems that there is a problem with the permissions of the runner:

`{"code":"ERR_INVALID_URL","input":"\r\n400 Bad Request\r\n\r\n

400 Bad Request

\r\n
cloudflare\r\n\r\n\r\n","level":"error","message":"Invalid URL","stack":"TypeError [ERR_INVALID_URL]: Invalid URL\n at new NodeError (node:internal/errors:405:5)\n at new URL (node:internal/url:676:13)\n at uriParam (/usr/local/lib/node_modules/@dvcorg/cml/src/utils.js:149:15)\n at watermarkUri (/usr/local/lib/node_modules/@dvcorg/cml/src/utils.js:140:10)\n at CML.publish (/usr/local/lib/node_modules/@dvcorg/cml/src/cml.js:351:13)\n at process.processTicksAndRejections (node:internal/process/task_queues:95:5)\n at async visitor (/usr/local/lib/node_modules/@dvcorg/cml/src/cml.js:249:26)\n at async Promise.all (index 0)\n at async publishLocalFiles (/usr/local/lib/node_modules/@dvcorg/cml/src/cml.js:263:7)"}`

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.