Skip to content

fix(releases): bake the version into the runner bundle + ship releases/ beside it (#2017) - #2018

Merged
aarontrowbridge merged 1 commit into
lane/0.4.0from
opencode/2017-runner-version
Oct 30, 2026
Merged

aarontrowbridge merged 1 commit into
lane/0.4.0from
opencode/2017-runner-version

Conversation

@aarontrowbridge

Copy link
Copy Markdown
Member

Closes #2017. Version resolution order is now AMICODE_VERSION, then the build-time __AMICODE_VERSION__ define, then package.json. docs/releases/*.md is also copied to bin/dist/releases. Director: tc 0, releases vitest 20/20. Hub check after merge.

… beside it (#2017)

The hub's standalone service runner has no package.json near it, so
resolveOwnVersion() fell back to 0.0.0 and /amicode/releases filtered
every card. Resolve AMICODE_VERSION, then an esbuild-defined
__AMICODE_VERSION__ (extension + runner bundles), then the package.json
walk. Copy docs/releases/*.md to bin/dist/releases too, found via
<here>/releases. resolveOwnVersion/resolveReleasesDir take an injectable
dir for tests.
@coderabbitai

coderabbitai Bot commented Oct 30, 2026

Copy link
Copy Markdown
Contributor

Important

Review skipped

Auto reviews are disabled on base/target branches other than the default branch.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

Run configuration
  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 844516b5-eb78-48c5-8c45-9b15b9df97e1

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

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.

@aarontrowbridge
aarontrowbridge merged commit f8fccee into lane/0.4.0 Oct 30, 2026
12 checks passed
@aarontrowbridge
aarontrowbridge deleted the opencode/2017-runner-version branch October 30, 2026 15:55
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