Skip to content

chore: added a versioning flow#10690

Merged
jasonsaayman merged 4 commits intov0.xfrom
chore/add-versioning-action
Apr 11, 2026
Merged

chore: added a versioning flow#10690
jasonsaayman merged 4 commits intov0.xfrom
chore/add-versioning-action

Conversation

@jasonsaayman
Copy link
Copy Markdown
Member

@jasonsaayman jasonsaayman commented Apr 11, 2026

Summary by cubic

Adds a manual versioning workflow for v0.x that bumps the version, runs CI on Node 12–24, and opens a labeled release PR. Also switches CI/publish to npm ci --ignore-scripts, updates .gitignore, and reverts a prior GH-release experiment in favor of a standard PR flow.

Description

  • Summary of changes

    • New workflow version-v0x.yml (manual dispatch) to bump patch/minor, create release/version-<x.y.z> branch, commit updated package.json/package-lock.json, and open a PR to v0.x after CI passes (Node 12–24). PR is labeled: type::automated-pr, priority::high, commit::chore.
    • Use npm ci --ignore-scripts in CI (run-ci-v0.yml) and publish (publish.yml); minor YAML quoting cleanup.
    • .gitignore adds .claude/ and openspec/.
  • Reasoning

    • Standardizes v0.x releases with a safe, PR-based flow and clearer triage via labels.
    • Disabling lifecycle scripts makes installs deterministic and fixes flaky content reads in tests.
    • Drops a previous GH-release idea and sticks to a simpler, standard workflow.
  • Additional context

    • Publishing still triggers on v0.*.* tags via publish.yml.

Docs

  • To cut a v0.x release: Actions → “Version package (v0.x)” → choose patch or minor → review and merge “chore: release v<x.y.z>” PR into v0.x → tag and push v0.x.y to publish.
  • CI uses explicit build/test steps; avoid npm lifecycle scripts in CI/publish.

Testing

  • No new unit tests; changes are workflow-only.
  • The versioning workflow runs the full CI matrix before opening the release PR, exercising existing tests. No extra tests needed.

Written for commit 68fdd8a. Summary will update on new commits.

@jasonsaayman jasonsaayman self-assigned this Apr 11, 2026
@jasonsaayman jasonsaayman added priority::medium A medium priority commit::chore The PR is related to a chore labels Apr 11, 2026
Comment thread .github/workflows/version-v0x.yml Fixed
Comment thread .github/workflows/version-v0x.yml Fixed
@jasonsaayman
Copy link
Copy Markdown
Member Author

@cubic-dev-ai please specifically check this change for:

  • security
  • completeness of actions
  • compatability that this will run correctly in the actions runner

@cubic-dev-ai
Copy link
Copy Markdown
Contributor

cubic-dev-ai bot commented Apr 11, 2026

@cubic-dev-ai please specifically check this change for:

  • security
  • completeness of actions
  • compatability that this will run correctly in the actions runner

@jasonsaayman I have started the AI code review. It will take a few minutes to complete.

Copy link
Copy Markdown
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 4 files

Confidence score: 2/5

  • There is a high-confidence, high-severity issue in .github/workflows/version-v0x.yml: git push is unauthenticated, so the release branch creation flow is likely to fail before the PR step.
  • This creates clear regression risk for release automation (branch/PR creation), making this risky to merge until authentication is fixed.
  • Pay close attention to .github/workflows/version-v0x.yml - ensure the job has valid push authentication so the release flow can complete.
Prompt for AI agents (unresolved issues)

Check if these issues are valid — if so, understand the root cause of each and fix them. If appropriate, use sub-agents to investigate and fix each issue separately.


<file name=".github/workflows/version-v0x.yml">

<violation number="1" location=".github/workflows/version-v0x.yml:80">
P1: `git push` is unauthenticated in this job, so the release branch creation flow will fail before the PR step.</violation>
</file>

Reply with feedback, questions, or to request a fix. Tag @cubic-dev-ai to re-run a review.

Comment thread .github/workflows/version-v0x.yml Outdated
Comment thread .github/workflows/version-v0x.yml Fixed
@jasonsaayman
Copy link
Copy Markdown
Member Author

@cubic-dev-ai please review again

@cubic-dev-ai
Copy link
Copy Markdown
Contributor

cubic-dev-ai bot commented Apr 11, 2026

@cubic-dev-ai please review again

@jasonsaayman I have started the AI code review. It will take a few minutes to complete.

Copy link
Copy Markdown
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.

No issues found across 4 files

Confidence score: 5/5

  • Automated review surfaced no issues in the provided summaries.
  • No files require special attention.

@jasonsaayman jasonsaayman merged commit 9a66c09 into v0.x Apr 11, 2026
15 checks passed
@jasonsaayman jasonsaayman deleted the chore/add-versioning-action branch April 11, 2026 13:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

commit::chore The PR is related to a chore priority::medium A medium priority

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants