Skip to content

flake: bump opencode pin for route-weights fix (opencode#1971) - #7103

Merged
dezren39 merged 1 commit into
mainfrom
config/bump-opencode-weights-fix
Nov 8, 2026
Merged

dezren39 merged 1 commit into
mainfrom
config/bump-opencode-weights-fix

Conversation

@dezren39

@dezren39 dezren39 commented Nov 8, 2026 •

Copy link
Copy Markdown
Member

Why: executing Drew's 2026-11-07 order (speed route seats _muse Spark directly — config in #7095) exposed a fork defect: expand() keyed nested-route children's weights opencode-route/<id> while config writes bare route ids, so every route child's configured weight silently fell back to 1 fleet-wide. The speed leg Drew ordered (direct leaf, keyed correctly) was unaffected; the route-pool legs of speed/workhorse/specialist/summit were.

What: this flake's opencode input is the one the laptop's NixOS config (nixosConfigurations.amd, hosts under nixos/hosts/) builds opencode.service from — pin 4b2fc8a → 25b008b062, the opencode#1971 merge commit (one-line weights-key fix + regression test, model-routes-expand.test.ts 65 pass / 0 fail). Diff is exactly the opencode node's rev/lastModified/narHash — what nix flake update opencode resolved, no hand edits.

Deploy: sudo nixos-rebuild switch --flake /home/user/code#amd from the merged main restarts opencode.service onto the fixed binary.


Autofix with [code]smith
Open in [code]smith · Need help on this PR? Tag @codesmith-bot with what you need.

@dezren39
dezren39 requested a review from a team as a code owner November 8, 2026 04:22
@dezren39
dezren39 merged commit d2584db into main Nov 8, 2026
1 of 3 checks passed
@coderabbitai

coderabbitai Bot commented Nov 8, 2026

Copy link
Copy Markdown

Important

Review skipped

Review was skipped due to path filters

⛔ Files ignored due to path filters: 1

  • flake.lock is excluded by !**/*.lock

CodeRabbit blocks several paths by default. You can override this behavior by explicitly including those paths in the path filters. For example, including **/dist/** will override the default block on the dist directory, by removing the pattern from both the lists.

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: 3bcde5d9-af3a-43cf-aa26-6232e633c0eb

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

@dezren39
dezren39 deleted the config/bump-opencode-weights-fix branch November 8, 2026 04:22
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 8, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-08T04:23:18.291295Z d6dda94 PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

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