Skip to content

v0.39.1

Choose a tag to compare

@github-actions github-actions released this 09 Nov 04:39
9b1c1e1

Bug fix: instances connected to HarnessRouter Cloud no longer ask Cloud's model list without a key, and no longer pull you into connecting again and again.

What was wrong (#657)

  • The model list was asked without a key. It used the first HarnessRouter connection's key, and asked with none when that connection held no key. That included instances connected only for Deploy to Cloud, whose key is never a connection. Cloud answers that with "not authorized", and nothing remembered the failure, so every screen with a model picker asked again: hundreds of times a day on one instance.
  • A key Cloud refused looked like "no models". The console offered a new connection, which put the new key behind the refused one, so the problem stayed.
  • Deploy to Cloud started a new sign-in when it simply couldn't read your saved workspaces.
  • A key Cloud refused during a deploy signed you out of your own console.

Now

  • The model list is asked with a key or not at all, using the first connection whose key Cloud accepts.
  • A failed read waits 10 minutes before it's asked again, and it's logged once.
  • A key Cloud refused says so on its connection, with Reconnect, which replaces that key.
  • Deploy to Cloud starts no sign-in when it couldn't read, and says so when Cloud refused the saved key.
  • A deploy Cloud turns down names what it refused (the agent harness or the model), in Cloud's words.

Affects 0.16.0 through 0.39.0.

Checked

On 0.39.1-rc.1, in a fresh instance:

  • with no HarnessRouter key, reading the connections five times asked Cloud nothing;
  • with a key Cloud refuses, Cloud was asked once, the key showed as refused and was logged once, and six more reads asked nothing.
    Release gate on a fresh volume: amd64 and arm64 install every default harness, the second start installs nothing, and the credential canary is clean. The release's tree is identical to the candidate's.

Full Changelog: v0.39.0...v0.39.1