Skip to content

chore(ci): tidy workflow comments#365

Merged
skevetter merged 1 commit into
mainfrom
update-workflow-comments
May 18, 2026
Merged

chore(ci): tidy workflow comments#365
skevetter merged 1 commit into
mainfrom
update-workflow-comments

Conversation

@skevetter

@skevetter skevetter commented May 18, 2026

Copy link
Copy Markdown
Contributor

Summary by CodeRabbit

  • Chores
    • Streamlined desktop build workflow by optimizing dependency setup and build step sequencing.
    • Updated release validation messaging for consistent version tag formatting.

Review Change Stack

@netlify

netlify Bot commented May 18, 2026

Copy link
Copy Markdown

Deploy Preview for devsydev canceled.

Name Link
🔨 Latest commit 68fe6b0
🔍 Latest deploy log https://app.netlify.com/projects/devsydev/deploys/6a0b9f4e9afa4c0008bd2141

@coderabbitai

coderabbitai Bot commented May 18, 2026

Copy link
Copy Markdown

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: 63eeb59e-5957-4c27-b672-c7a88304bad6

📥 Commits

Reviewing files that changed from the base of the PR and between 75069e3 and 68fe6b0.

📒 Files selected for processing (2)
  • .github/workflows/desktop-ci.yml
  • .github/workflows/promote-release.yml
💤 Files with no reviewable changes (1)
  • .github/workflows/desktop-ci.yml

📝 Walkthrough

Walkthrough

GitHub Actions workflows are updated across two files: desktop CI dependencies are reorganized to run npm and xvfb setup earlier while removing Python setup; section header comments are removed from desktop CI build/package/upload steps; and release promotion validation messaging is clarified.

Changes

CI/CD Workflow Updates

Layer / File(s) Summary
Desktop CI dependency setup
.github/workflows/desktop-ci.yml
Python 3.12 and setuptools installation are replaced with npm ci in desktop/ and Linux xvfb installation, moved earlier in the job before Electron build/e2e test steps.
Desktop CI section header cleanup
.github/workflows/desktop-ci.yml
Section header comments for "Build Go CLI binary", "Windows native build tools", "Package", and "Upload artifacts" are removed while the actual build, packaging, and upload step invocations remain unchanged.
Release validation error message
.github/workflows/promote-release.yml
RC tag validation error message is updated to specify the expected format v*.*.*-rc.* more explicitly.

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~5 minutes

Possibly related PRs

  • devsy-org/devsy#319: Both PRs modify Windows CI environment configuration for desktop builds, with this PR adjusting dependency setup steps and the related PR switching the Windows runner version.
  • devsy-org/devsy#328: Both PRs update RC tag validation handling in .github/workflows/promote-release.yml, with this PR clarifying the error message and the related PR modifying the regex pattern matching.
🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title mentions tidying workflow comments, which aligns with removing section headers in desktop-ci.yml and updating error messages in promote-release.yml.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.


Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@skevetter skevetter marked this pull request as ready for review May 18, 2026 23:39
@skevetter skevetter merged commit fe42511 into main May 18, 2026
21 checks passed
@skevetter skevetter deleted the update-workflow-comments branch May 18, 2026 23:52
skevetter added a commit that referenced this pull request May 19, 2026
* fix(ci): pass app token via token input for softprops/action-gh-release (#361)

softprops/action-gh-release@v3 reads the token from INPUT_TOKEN (set by
the 'token' action input) before falling back to GITHUB_TOKEN. Setting
env.GITHUB_TOKEN did not override INPUT_TOKEN so the action used the
default GITHUB_TOKEN instead of the app-token, causing the 403.

* feat(ci): enable autoMergeRequest in release-please action (#363)

Adds autoMergeRequest: true to the googleapis/release-please-action step
so that release-please PRs auto-merge after CI passes.

* chore(main): release 1.3.0-rc.19 (#362)

Co-authored-by: devsy-app[bot] <277138668+devsy-app[bot]@users.noreply.github.com>

* feat: auto-overwrite stale agent binary and workspace clean command (#364)

* feat: auto-overwrite agent binary on version mismatch in Docker delivery

When the named Docker volume already contains an agent binary with a
different version, force-overwrite it instead of leaving the stale
binary in place. Logs an INFO message with the old and new versions.
If versions match, skip re-delivery entirely as an optimization.

* feat: add `devsy workspace clean` subcommand

Adds a command to remove the agent binary from the Docker named volume
for a workspace, forcing a fresh injection on next start. Useful when
the binary becomes stale and the automatic version-mismatch detection
is not sufficient.

* fix: extract docker command string to constant (goconst lint)

* chore(ci): tidy workflow comments (#365)

* chore(main): release 1.3.0-rc.20 (#366)

Co-authored-by: devsy-app[bot] <277138668+devsy-app[bot]@users.noreply.github.com>

* feat(ci): replace single release-please config with dual prerelease/stable setup (#368)

Split the release-please configuration into two independent tracks:
- Prerelease track (push to main): creates RC releases with auto-merge
- Stable track (workflow_dispatch): creates stable releases on demand

This eliminates the promote-release.yml workaround that re-tagged RC commits
as stable releases. Instead, release-please natively manages both version
tracks with separate configs, manifests, labels, and changelog paths.

* chore(main): release 1.3.0-rc.21 (#370)

Co-authored-by: devsy-app[bot] <277138668+devsy-app[bot]@users.noreply.github.com>

* fix(ci): advance prerelease manifest past stable release (#372)

* fix: update workspace_result.json paths on workspace rename (#369)

* fix: update workspace_result.json paths on workspace rename

After renaming a workspace, the cached workspace_result.json still
referenced the old workspace name in ContainerWorkspaceFolder,
LocalWorkspaceFolder, and WorkspaceMount paths. This caused the
container's working directory to point to /workspaces/<old-name>
which doesn't exist, breaking exec and SSH into the workspace.

* fix: also update MergedConfig.WorkspaceMount on workspace rename

Closes a gap where MergedConfig.WorkspaceMount (a *string field) was
not being rewritten during rename, leaving a stale mount path in the
cached result.

* refactor: derive workspace parent dirs dynamically in path replacer

Instead of hardcoding `/workspaces` as the container workspace parent
directory, derive it from SubstitutionContext.ContainerWorkspaceFolder
by stripping the basename. Similarly derive the host parent from
LocalWorkspaceFolder. This makes the rename path replacer work
correctly for devcontainers that use a non-default workspaceFolder.

* test: add unit tests for workspace rename path replacement

* test: add e2e tests for workspace rename path updates

Integration tests verifying that updateWorkspaceResult correctly
rewrites ContainerWorkspaceFolder, LocalWorkspaceFolder, WorkspaceMount
in SubstitutionContext and MergedConfig after a workspace rename.

Covers: basic rename, non-default workspace dirs, nested paths,
same-name idempotent rename, nil MergedConfig/WorkspaceMount, missing
result file, and raw JSON roundtrip.

* fix(lint): wire up testContainerOldWS, testLocalOldWS, testContainerApp, testContainerOld constants

Linter introduced constants but left self-referential definitions and
bare literals in test bodies. Fix init cycles and use constants throughout.

* fix(lint): extract repeated /workspaces/ws-old literal to testContainerWSMount constant

* chore(main): release 1.4.0-rc.1 (#373)

Co-authored-by: devsy-app[bot] <277138668+devsy-app[bot]@users.noreply.github.com>

* feat(ci): migrate from release-please to semantic-release (#374)

Replace the dual release-please prerelease/stable configuration with a
single semantic-release setup for simplicity.

- Add .releaserc.json with commit-analyzer, release-notes-generator,
  changelog, github, and git plugins
- Add semantic-release.yml workflow (push to main → RC, push to
  release → stable, plus dry-run workflow_dispatch)
- Remove release-please workflows, configs, and manifests
- Add semantic-release devDependencies to package.json

* fix(ci): add package-lock.json for semantic-release workflow

The semantic-release workflow uses actions/setup-node with npm caching,
which requires a lock file to be present. Also switches from npm install
to npm ci for reproducible CI builds.

---------

Co-authored-by: Samuel K <skevetter@pm.me>
Co-authored-by: devsy-app[bot] <277138668+devsy-app[bot]@users.noreply.github.com>
skevetter added a commit that referenced this pull request May 19, 2026
* fix(ci): pass app token via token input for softprops/action-gh-release (#361)

softprops/action-gh-release@v3 reads the token from INPUT_TOKEN (set by
the 'token' action input) before falling back to GITHUB_TOKEN. Setting
env.GITHUB_TOKEN did not override INPUT_TOKEN so the action used the
default GITHUB_TOKEN instead of the app-token, causing the 403.

* feat(ci): enable autoMergeRequest in release-please action (#363)

Adds autoMergeRequest: true to the googleapis/release-please-action step
so that release-please PRs auto-merge after CI passes.

* chore(main): release 1.3.0-rc.19 (#362)

Co-authored-by: devsy-app[bot] <277138668+devsy-app[bot]@users.noreply.github.com>

* feat: auto-overwrite stale agent binary and workspace clean command (#364)

* feat: auto-overwrite agent binary on version mismatch in Docker delivery

When the named Docker volume already contains an agent binary with a
different version, force-overwrite it instead of leaving the stale
binary in place. Logs an INFO message with the old and new versions.
If versions match, skip re-delivery entirely as an optimization.

* feat: add `devsy workspace clean` subcommand

Adds a command to remove the agent binary from the Docker named volume
for a workspace, forcing a fresh injection on next start. Useful when
the binary becomes stale and the automatic version-mismatch detection
is not sufficient.

* fix: extract docker command string to constant (goconst lint)

* chore(ci): tidy workflow comments (#365)

* chore(main): release 1.3.0-rc.20 (#366)

Co-authored-by: devsy-app[bot] <277138668+devsy-app[bot]@users.noreply.github.com>

* feat(ci): replace single release-please config with dual prerelease/stable setup (#368)

Split the release-please configuration into two independent tracks:
- Prerelease track (push to main): creates RC releases with auto-merge
- Stable track (workflow_dispatch): creates stable releases on demand

This eliminates the promote-release.yml workaround that re-tagged RC commits
as stable releases. Instead, release-please natively manages both version
tracks with separate configs, manifests, labels, and changelog paths.

* chore(main): release 1.3.0-rc.21 (#370)

Co-authored-by: devsy-app[bot] <277138668+devsy-app[bot]@users.noreply.github.com>

* fix(ci): advance prerelease manifest past stable release (#372)

* fix: update workspace_result.json paths on workspace rename (#369)

* fix: update workspace_result.json paths on workspace rename

After renaming a workspace, the cached workspace_result.json still
referenced the old workspace name in ContainerWorkspaceFolder,
LocalWorkspaceFolder, and WorkspaceMount paths. This caused the
container's working directory to point to /workspaces/<old-name>
which doesn't exist, breaking exec and SSH into the workspace.

* fix: also update MergedConfig.WorkspaceMount on workspace rename

Closes a gap where MergedConfig.WorkspaceMount (a *string field) was
not being rewritten during rename, leaving a stale mount path in the
cached result.

* refactor: derive workspace parent dirs dynamically in path replacer

Instead of hardcoding `/workspaces` as the container workspace parent
directory, derive it from SubstitutionContext.ContainerWorkspaceFolder
by stripping the basename. Similarly derive the host parent from
LocalWorkspaceFolder. This makes the rename path replacer work
correctly for devcontainers that use a non-default workspaceFolder.

* test: add unit tests for workspace rename path replacement

* test: add e2e tests for workspace rename path updates

Integration tests verifying that updateWorkspaceResult correctly
rewrites ContainerWorkspaceFolder, LocalWorkspaceFolder, WorkspaceMount
in SubstitutionContext and MergedConfig after a workspace rename.

Covers: basic rename, non-default workspace dirs, nested paths,
same-name idempotent rename, nil MergedConfig/WorkspaceMount, missing
result file, and raw JSON roundtrip.

* fix(lint): wire up testContainerOldWS, testLocalOldWS, testContainerApp, testContainerOld constants

Linter introduced constants but left self-referential definitions and
bare literals in test bodies. Fix init cycles and use constants throughout.

* fix(lint): extract repeated /workspaces/ws-old literal to testContainerWSMount constant

* chore(main): release 1.4.0-rc.1 (#373)

Co-authored-by: devsy-app[bot] <277138668+devsy-app[bot]@users.noreply.github.com>

* feat(ci): migrate from release-please to semantic-release (#374)

Replace the dual release-please prerelease/stable configuration with a
single semantic-release setup for simplicity.

- Add .releaserc.json with commit-analyzer, release-notes-generator,
  changelog, github, and git plugins
- Add semantic-release.yml workflow (push to main → RC, push to
  release → stable, plus dry-run workflow_dispatch)
- Remove release-please workflows, configs, and manifests
- Add semantic-release devDependencies to package.json

* fix(ci): add package-lock.json for semantic-release workflow

The semantic-release workflow uses actions/setup-node with npm caching,
which requires a lock file to be present. Also switches from npm install
to npm ci for reproducible CI builds.

---------

Co-authored-by: devsy-app[bot] <277138668+devsy-app[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant