question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

`send-comment` PR for commit sha \"HEAD\" not found

See original GitHub issue

If I repeat the same workflow where the PR was done by cml pr send-comment seems to not found the PR for the given commit sha

{"level":"error","message":"PR for commit sha \"HEAD\" not found","stack":"Error: PR for commit sha \"HEAD\" not found\n    at CML.commentCreate (/usr/local/lib/node_modules/@dvcorg/cml/src/cml.js:148:15)\n    at async Object.exports.handler (/usr/local/lib/node_modules/@dvcorg/cml/bin/cml/send-comment.js:13:15)"}

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Reactions:8
  • Comments:9 (6 by maintainers)

github_iconTop GitHub Comments

2reactions
judahrandcommented, Jun 6, 2022

🔔 @judahrand & @hlkcrcck

Thank you for looking into this. This seems to be the answer! Probably worth adding this to the documentation somewhere?

2reactions
0x2b3bfa0commented, Jun 3, 2022
Read more comments on GitHub >

github_iconTop Results From Across the Web

Find a Pull Request on GitHub where a commit was originally ...
You can just go to GitHub and enter the SHA into the search bar, make sure you select the "Issues" link on the...
Read more >
A Git command to jump from a commit SHA to the PR on GitHub
I wanted a quick way to jump straight to a PR from a commit SHA by running a single command. Something like git...
Read more >
Comments on individual commits made outside a pull request ...
A commit comment is associated with a commit. A commit comment cannot be added from the pull request page and cannot be replied...
Read more >
Merge requests API - GitLab Docs
not, Hash, No, Returns merge requests that do not match the parameters supplied. ... It returns the HEAD commit of refs/merge-requests/:iid/merge in the ......
Read more >
PR decoration fails due to commit "not found in pull request"
Despite the above, the PR does indeed have the commit hash referenced - I've double, triple checked. Sonar analyses the entire branch (rather ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found