Skip to content

v0.41.28

Choose a tag to compare

@github-actions github-actions released this 26 Nov 19:19
9507436

Highlights

A bug-fix release. Each fix was reproduced on 0.41.27 first, through the API, the console or the running gateway against a real Postgres 16. Then it was verified on the release candidate.

  • A database whose host is an IPv6 address can be connected (#747, @aarush323). On a deployment shared by several organizations, the gateway checks a connection string's host before it opens anything. It split host:port back apart on the first colon, so an IPv6 host never reached the check whole.

    • postgresql://…@[2606:4700:4700::1111]:5432/shop was refused as "cannot connect to 2606: … internal".
    • [::1] was refused as "cannot connect to : host does not resolve".
    • A self-hosted instance showed the attached host as an ambiguous 2606:4700:4700::1111:5432.

    The check now gets the host whole, and it's shown as [2606:4700:4700::1111]:5432. Every IPv6 spelling of an internal place is still refused, and tests pin each one:

    • loopback and link-local;
    • IPv4-mapped loopback and metadata;
    • ::;
    • unique-local;
    • NAT64, 6to4 and Teredo forms of the metadata address.

    6to4 (2002::/16) and Teredo (2001::/32) are now named in the gateway's internal ranges. Before, they were covered only from Python 3.12.4 on, through is_private.

  • A Postgres query that ends in its own limit and a comment runs (#741, @leninworld). The row cap read every statement the way MySQL does, where -- starts a comment only when a space follows it. So SELECT … LIMIT 5 --top five looked as if it had no limit, and a second LIMIT went after the comment. On 0.41.27 Postgres answered syntax error at or near "LIMIT" for that statement, for FETCH FIRST 3 ROWS ONLY --x, and for a limit on its own line before a --note line. The cap now reads the statement the way its own database does.

  • A memory recall or graph limit that isn't a whole number is a 422 (#742, @leninworld). POST /v1/memories/{id}/recall and /graph turned limit into a number without checking it, so "ten" or [3] answered 500. They now answer 422 memory_invalid, with param: limit.

  • System One installs from its release wheel (#745, @eric-epsilla). The base was installed from GitHub's source archive of the v0.4.0 commit, which had to be built on the volume. It now installs from the wheel published with SystemOneHarness v0.4.0, pinned by its sha256. That wheel's package is identical, file for file, to the source of the commit it replaces. Nothing in the base's lock is built on the volume any more.

  • GET /v1/bases is in the published schema (#746, @eric-epsilla, fixes #737). The route the console builds its base list from is now in uhp-2026-10-19.openapi.yaml and the JSON Schema, as BaseCatalog. It covers a base's status, its models with availability and reasoning levels, its tools and how far disabling each goes, and its built-in skills. A test validates what the gateway serves against it.

  • The weekly offline audit passes again (#748). The session-refresh tests from #724 test the hosted session's paths, but the offline audit image builds the self-hosted edition, so all ten failed there. They now pin the hosted edition.

Thanks to @aarush323 for a first contribution, to @leninworld for two more, and to @eric-epsilla. Each fix came with a test that failed on the bug.

What's Changed

  • fix(gateway): read a Postgres statement's own row limit past a --comment by @leninworld in #741
  • fix(gateway): refuse a memory recall or graph limit that is not a whole number as 422, not 500 by @leninworld in #742
  • System One installs from its release wheel, by hash: nothing of its lock is built on the volume by @eric-epsilla in #745
  • GET /v1/bases is in the published schema: a base's status, models, tools and skills, as the gateway serves them by @eric-epsilla in #746
  • fix(gateway): handle IPv6 literal hosts in database connection strings by @aarush323 in #747
  • test(ui): the session refresh tests pin the hosted edition by @github-actions[bot] in #748

New Contributors

Full Changelog: v0.41.27...v0.41.28