Skip to content

v0.23.0 — OIDC / SAML / Gitea / Bitbucket sign-in, feature lists, GitLab hosts, metrics, backups

Choose a tag to compare

@jonwiggins jonwiggins released this 29 Oct 22:00
· 73 commits to main since this release

Added

  • Sign in with OpenID Connect, SAML 2.0, Gitea / Forgejo or Bitbucket. OIDC is configured in Settings → Access → Sign-in or the first-run wizard (presets, claim mapping, private CA, PKCE, encrypted secret, opt-in verified-email linking); SAML 2.0 takes its IdP metadata there or through SAML_* variables; Gitea and Bitbucket join Google / GitHub / GitLab as OAuth providers. All stay off until configured. (#694, #696, #697, thanks @AsafMeizner)
  • Deployment feature lists. OPTIO_RUNTIMES, OPTIO_GIT_PLATFORMS, OPTIO_TRIGGERS, OPTIO_TICKET_SOURCES and OPTIO_CONNECTION_PROVIDERS (Helm features.*) narrow what the API and the pickers offer; OPTIO_WORKSPACE_CREATION=admins limits who creates workspaces, with an override in Settings → Access. See docs/feature-lists.md. (#689)
  • GitLab: tokens per host, a signed credential helper, repository browsing and group issues. GITLAB_TOKEN_<HOST> serves several GitLab servers from one deployment; the git helper only hands a token to the exact host and port named in GITLAB_HOSTS; bot users commit under their own identity (GIT_BOT_NAME / GIT_BOT_EMAIL). Add Repository browses GitLab projects and saves the platform, Settings → Tickets takes a GitLab group, and the branch field searches the repo's platform. optio repo add --platform gitlab on the CLI. See docs/gitlab-tokens.md and docs/gitlab-repositories.md. (#699, #700, #704)
  • Operations: Prometheus metrics, backups, offline builds, Zarf. OPTIO_METRICS_PORT / metrics.enabled serves /metrics on a separate listener with a NetworkPolicy, ServiceMonitor, alerts and a Grafana dashboard (docs/prometheus.md). backup.enabled schedules checksummed pg_dumps to a PVC or S3 with scripts/backup/ to copy, restore and drill (docs/backup.md). scripts/offline/ builds images from a dependency kit with no network, and deploy/zarf/ packages the chart for Zarf and Rancher (docs/air-gapped.md). All off by default. (#707, #706, #684, #705)
  • Twenty more GitHub trigger kinds with who / what filters — comments, edits, reviews, pushes to a PR, tags, branches, deployments, repository_dispatch, security alerts, discussions; Written by, Never from these users, Only when the author replies, Comment starts with — on web, iOS and Android. (#715)
  • PR and ticket badges wear their state: draft / open / merged / closed colours, a CI and review mark on open PRs, closed-issue glyphs, in-progress and done marks for Linear / Jira tickets. (#719)

Changed

  • "Kill" on a Local session is "End session" and asks nothing (a resume brings the chat back); deleting a session asks.
  • A GitHub trigger saved with no event kinds is pinned to the eleven kinds that existed when it was saved, so the new kinds don't start it. Empty "commented" reviews no longer count as reviews.
  • A repo sweep removed k8s/, scripts/agent-entrypoint.sh and the adapters' command field, dead components and three unused dependencies, and corrected fifteen docs. (#716, #714)

Fixed

  • A Codex session at its prompt no longer reads "working" for hours: a Codex turn boundary ends a working status again while blocked, idle and done stay the program's call (OSC 7501, Codex 0.164+).
  • Resuming a Local session keeps the original's title, spawn source, trigger, blueprint and ticket, and the Work list and the mobile feeds show a resumed chain once.

Upgrading

  • Four migrations run at boot: deployment_settings, oidc_sign_in_settings, local_terminal_resume_lineage, github_trigger_events_pinned.
  • Restart optio local up: the daemon's attention detection changed (the Codex fix).
  • Helm: agent.cache.enabled and agent.cache.defaultSizePerDirectoryGi are gone (the API never read them). features.*, workspaces.*, backup.*, metrics.*, auth.gitea and auth.bitbucket are new and default to today's behaviour.
  • Custom agent images that relied on scripts/agent-entrypoint.sh should start pods with scripts/repo-init.sh.
helm upgrade --install optio oci://ghcr.io/jonwiggins/optio --version 0.23.0 -n optio --reuse-values

Full changelog: https://github.com/jonwiggins/optio/blob/v0.23.0/CHANGELOG.md