codesandbox / codesandbox/codesandbox-client

CI bot comment does not contain preview link

Open
#6,424 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
JavaScript
Stars
13.6k
Forks
2.4k
Avg merge
6d 19h
Merged PRs (30d)
2

Description

🐛 bug report

Preflight Checklist

  • I have read the Contributing Guidelines for this project.
  • I agree to follow the Code of Conduct that this project
    adheres to.
  • I have searched the issue tracker for an issue that matches the one I want
    to file, without success.

Description of the problem

When opening a new PR with codesandbox CI, the bot comment doesn't contain the preview link. Not sure if I'm missing a config, the sandbox builds properly and the comment only links to the build log. Is there another way to find the generated sandbox?

How has this issue affected you? What are you trying to accomplish?

The codesandbox CI app is installed on my repo, a new sandbox should be generated for each PR. I switched the template I was using to a different directory to build that one instead but I cannot find the new generated sandbox link.

To Reproduce

Here is the link to the PR with the missing sandbox preview link.

Link to sandbox: link (optional)

A sandbox link was not generated.

Your Environment
Software Name/Version
Сodesandbox 393d43a9e
Browser Chrome 97.0.4692.99 (Official Build) (x86_64)
Operating System macOS Catalina 10.15.6

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the linked reproduction pull request and inspect how the CodeSandbox CI app is configured for its preview build and bot comment. Confirm whether the sandbox is generated successfully but its URL is omitted, then verify that a new pull request comment contains a usable preview link.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
ci-cd
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.