Skip to content

🐛 Bug - GitHub Copilot PR branches are not indexed in TinaCloud, preventing preview deployments #4480

@ssw-yakshaver

Description

@ssw-yakshaver

cc: @wicksipedia, @uly1, @Calinator444, @brookjeynes-ssw, @adamcogan, @babakamyljanovssw

Hi Team!

  🟥  Watch the video (1 min 2 sec)

  Url from screen share: https://github.com/SSWConsulting/SSW.Website/actions/runs/2122952239/job/6108515029

Pain

In Rules V3 (TinaCMS), branches created by GitHub Copilot are not being indexed in TinaCloud when a pull request is opened. As a result, the CI build cannot find the branch in TinaCloud, causing the preview deployment to fail. Build logs show that TinaCloud has no record of the Copilot-created branch, even though it should be indexed automatically on PR creation.

Acceptance Criteria

  1. When a pull request is opened from a GitHub Copilot-created branch, the branch is automatically indexed in TinaCloud.
  2. TinaCloud contains an entry for the Copilot-created branch before or during the CI build process.
  3. Preview deployments succeed for pull requests created from GitHub Copilot branches.
  4. Build logs no longer show missing TinaCloud branch data for Copilot-created branches.
  5. Behavior is consistent with branches created manually by developers.

Reproduce Steps

  1. Create a new branch using GitHub Copilot.
  2. Open a pull request from the Copilot-created branch in the Rules V3 (TinaCMS) repository.
  3. Allow the CI pipeline to run and attempt a preview deployment.
  4. Review the build logs.
  5. Observe that TinaCloud does not have the branch indexed and the preview deployment fails.

Screenshot

Screenshot
Figure: Branch build missing from TinaCloud indexing

Metadata

Metadata

Assignees

Type

No type

Projects

Status

🤷‍♂️ Needs Triage

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions