Skip to content

feat: link Tobiko Cloud plans from GitHub CICD bot#5895

Open
mday-io wants to merge 2 commits into
mainfrom
mday/tobiko-cicd-plan-comments
Open

feat: link Tobiko Cloud plans from GitHub CICD bot#5895
mday-io wants to merge 2 commits into
mainfrom
mday/tobiko-cicd-plan-comments

Conversation

@mday-io

@mday-io mday-io commented Jul 9, 2026

Copy link
Copy Markdown
Collaborator

Description

Adds optional Tobiko Cloud plan-link comments to the GitHub CICD bot.

  • Posts/updates a PR environment plan comment when TCLOUD_URL or TCLOUD_BASE_URL is configured.
  • Posts/updates a production deploy plan comment before production apply so failed applies can still expose the generated Tobiko Cloud plan link.
  • Keeps non-Tobiko workflows unchanged when those environment variables are unset.
  • Updates existing marker comments in place and clears stale marker comments on no-op runs.
  • Documents the optional workflow environment variables in the GitHub CICD bot docs.

Test Plan

  • make style
  • make fast-test
  • pytest tests/integrations/github/cicd/test_github_controller.py -q
  • pytest tests/integrations/github/cicd/test_github_commands.py tests/integrations/github/cicd/test_integration.py -q
  • ruff check sqlmesh/integrations/github/cicd/controller.py tests/integrations/github/cicd/test_github_controller.py
  • ruff format --check sqlmesh/integrations/github/cicd/controller.py tests/integrations/github/cicd/test_github_controller.py

Checklist

  • I have run make style and fixed any issues
  • I have added tests for my changes (if applicable)
  • All existing tests pass (make fast-test)
  • My commits are signed off (git commit -s) per the DCO

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.

1 participant