Skip to content

fix: write rollout links to job summary; drop employee address column - #10

Merged
zchpeter merged 2 commits into
mainfrom
fix/rollout-step-summary
Sep 7, 2026
Merged

fix: write rollout links to job summary; drop employee address column#10
zchpeter merged 2 commits into
mainfrom
fix/rollout-step-summary

Conversation

@zchpeter

@zchpeter zchpeter commented Sep 7, 2026

Copy link
Copy Markdown
Owner

Summary

  • Rollout workflows now write the Bytebase Release / Plan / Rollout links to the GitHub job summary. bytebase-action rollout writes them to the file named by GITHUB_STEP_SUMMARY. Because the action runs through a raw docker run, that variable and file never reached the container, so the write failed silently and the summary stayed empty. Each rollout step now mounts the runner's summary file and passes the variable.
  • Bytebase releases now link back to the GitHub commit. GITHUB_SERVER_URL, GITHUB_REPOSITORY and GITHUB_SHA are passed so the release's VCS source URL is no longer the broken //commit/.
  • New migration 2026090702_drop_employee_address.sql drops the address column added by 2026090701_add_employee_address.sql.

Verification

  • On this PR: the migration SQL review workflow runs and posts the review comment.
  • After merge: the migration rollout workflow runs. Each of create-rollout, deploy-to-test and deploy-to-prod should show Release/Plan/Rollout links and a stage table on the run's Summary page, and the release in Bytebase should link to the merge commit.

🤖 Generated with Claude Code

zchpeter and others added 2 commits September 7, 2026 06:07
bytebase-action rollout writes Release/Plan/Rollout links and a stage
status table to the file named by GITHUB_STEP_SUMMARY, but the raw
docker run never received that variable or the file, so the write
failed silently and the run summary stayed empty.

Mount the runner's step summary file into the container and pass
GITHUB_STEP_SUMMARY. Also pass GITHUB_SERVER_URL, GITHUB_REPOSITORY and
GITHUB_SHA so the Bytebase release links back to the GitHub commit
instead of the broken '//commit/' URL.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Follow-up migration that reverts 2026090701_add_employee_address.sql.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
@github-actions

github-actions Bot commented Sep 7, 2026

Copy link
Copy Markdown

SQL Review Summary

  • Total Affected Rows: 1000
  • Overall Risk Level: ⚪ None
  • Advices Statistics: 0 Error(s), 0 Warning(s)

Detailed Results

File Target Affected Rows Risk Level Advices
migrations/2026090702_drop_employee_address.sql instances/prod-sample-instance/databases/hr_prod 1000 ⚪ None -

@zchpeter
zchpeter merged commit e235b99 into main Sep 7, 2026
1 check passed
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