Skip to content

Conversation

tingwai
Copy link
Collaborator

@tingwai tingwai commented Oct 7, 2025

Summary by cubic

Adds a GitHub Actions workflow to automate VSCode extension pre-releases. It bumps the extension version, opens an auto-merge PR, tags the release, and publishes a GitHub pre-release with generated notes.

  • New Features
    • Manual dispatch with inputs for main commit SHA and pre-release version (auto-increments patch if omitted).
    • Updates extensions/vscode/package.json, creates a prerelease branch, pushes, and opens a PR via gh with auto-merge.
    • Creates tag v{version}-vscode and a GitHub pre-release targeting main with generated release notes between tags.

@tingwai tingwai requested a review from a team as a code owner October 7, 2025 01:58
@tingwai tingwai requested review from RomneyDa and removed request for a team October 7, 2025 01:58
@dosubot dosubot bot added the size:L This PR changes 100-499 lines, ignoring generated files. label Oct 7, 2025
Copy link

github-actions bot commented Oct 7, 2025

⚠️ PR Title Format

Your PR title doesn't follow the conventional commit format, but this won't block your PR from being merged. We recommend using this format for better project organization.

Expected Format:

<type>[optional scope]: <description>

Examples:

  • feat: add changelog generation support
  • fix: resolve login redirect issue
  • docs: update README with new instructions
  • chore: update dependencies

Valid Types:

feat, fix, docs, style, refactor, perf, test, build, ci, chore, revert

This helps with:

  • 📝 Automatic changelog generation
  • 🚀 Automated semantic versioning
  • 📊 Better project history tracking

This is a non-blocking warning - your PR can still be merged without fixing this.

Copy link

github-actions bot commented Oct 7, 2025

✅ Review Complete

Code Review Summary

⚠️ Continue configuration error. Please verify that the assistant exists in Continue Hub.


@tingwai
Copy link
Collaborator Author

tingwai commented Oct 7, 2025

@tomasz-stefaniak Adding you as reviewer to see if this is what you had in mind for the pre-release workflow. I left out the previous_version input because that can be detected from the package.json, let me know if you still want that in

Copy link
Contributor

@cubic-dev-ai cubic-dev-ai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

1 issue found across 1 file

Prompt for AI agents (all 1 issues)

Understand the root cause of the following 1 issues and fix them.


<file name=".github/workflows/vscode-prerelease.yml">

<violation number="1" location=".github/workflows/vscode-prerelease.yml:161">
If the PR still isn’t merged after the timeout this step only prints a warning, so the workflow proceeds to tag and release code that never landed in main. Make the job fail here to prevent publishing from the wrong commit.</violation>
</file>

React with 👍 or 👎 to teach cubic. Mention @cubic-dev-ai to give feedback, ask questions, or re-run the review.

Co-authored-by: cubic-dev-ai[bot] <191113872+cubic-dev-ai[bot]@users.noreply.github.com>
Copy link
Collaborator

@RomneyDa RomneyDa left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code looks good to me.

@github-project-automation github-project-automation bot moved this from Todo to In Progress in Issues and PRs Oct 8, 2025
@dosubot dosubot bot added the lgtm This PR has been approved by a maintainer label Oct 8, 2025
@tomasz-stefaniak tomasz-stefaniak merged commit 4485a73 into main Oct 8, 2025
66 of 70 checks passed
@tomasz-stefaniak tomasz-stefaniak deleted the tingwai/con-4188-workflow-pre-release-vscode branch October 8, 2025 20:30
@github-project-automation github-project-automation bot moved this from In Progress to Done in Issues and PRs Oct 8, 2025
@github-actions github-actions bot locked and limited conversation to collaborators Oct 8, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

lgtm This PR has been approved by a maintainer size:L This PR changes 100-499 lines, ignoring generated files.

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

3 participants