Skip to content

release: chart 0.12.2 (server 0.12.2, dashboard 0.5.1) - #15

Merged
ferhimedamine merged 1 commit into
mainfrom
claude/dakera-deploy-issues-audit-gfm5yq
Oct 8, 2026
Merged

ferhimedamine merged 1 commit into
mainfrom
claude/dakera-deploy-issues-audit-gfm5yq

Conversation

@ferhimedamine

Copy link
Copy Markdown
Contributor

Merge order

Merge only after ghcr.io/dakera-ai/dakera:0.12.2 and ghcr.io/dakera-ai/dakera-dashboard:0.5.1 are published. A push to charts/** on main publishes the chart right away (helm-release + helm-publish-oci). If the chart goes out before the images exist, a fresh install gets ImagePullBackOff.

What changes

  • version / appVersion go to 0.12.2. The repo's rule is that the chart version equals the server version. The server image tag follows appVersion.
  • dashboard.image.tag goes to 0.5.1. The deployment is the same: no new env var, same probes, and still no API key in the dashboard pod.
  • Artifact Hub annotations: new changes, and images now lists the dashboard image too.

New optional values (dakera.config.*)

Each one goes into the ConfigMap only when it is set. Left empty, the server's default applies. values.schema.json checks each value against what the server accepts at boot. I checked every name and default in crates/config/src/known_env.rs, docs/v0.12/env-vars.md and the source.

Value Env Server default Accepted
sessionIdleTimeoutSecs DAKERA_SESSION_IDLE_TIMEOUT_SECS 14400 (4 h) integer ≥ 0; 0 = the server ends no session by itself; values above 30 days are clamped
maxMemoryContentBytes DAKERA_MAX_MEMORY_CONTENT_BYTES 100000 integer > 0 (0 stops the server from booting)
vectorCacheBytes DAKERA_VECTOR_CACHE_BYTES 128MB a byte size (256MB, 1GB, bare bytes). This is the L1 vector cache, not l1CacheSize
rocksdbRecordFormat DAKERA_ROCKSDB_RECORD_FORMAT binary binary | json

0 is rendered as "0", not dropped. A number written unquoted in a values file is rendered as an integer, not as 2.68435456e+08.

Removed

Nothing. I checked every DAKERA_* variable the chart renders for the server (ConfigMap, Secret, feature env) against known_env.rs, and 0.12.2 still reads all of them.

Rollback

values.yaml, the rollback Job template, both READMEs and NOTES.txt now say that rolling back to v0.11.108 needs dakera downgrade run with the 0.12.2 image. That is the Job's default, so leave rollback.image empty. The 0.12.2 downgrade rewrites the binary RocksDB hot-tier records as JSON first. Rolling back to 0.12.1 or 0.12.0 needs no Job. The docs also mention the v0.11.108 limit on names longer than 200 bytes (rollback.md row 23b).

Docs

  • README and chart README have a new "Upgrading from chart 0.12.1" section:
    • sessions auto-end after 4 h idle (orphaned sessions close on the first passes after the upgrade; touch / idle_timeout_secs: 0; --set-string dakera.config.sessionIdleTimeoutSecs=0 keeps the 0.12.1 behaviour)
    • key prefix patterns, and older * entries stay inactive until the key is saved again
    • stricter validation (400s)
    • binary hot-tier records
    • link to the server's UPGRADE.md "Upgrading from v0.12.1 to v0.12.2"
  • Both READMEs: new values-table rows and version pins bumped to 0.12.2.
  • New CHANGELOG 0.12.2 section.
  • After an upgrade, NOTES.txt prints the idle timeout in effect and the key-pattern note.

Validation

I ran it locally with helm v3.14.4, the same version CI uses (downloaded from get.helm.sh and checked against its sha256):

  • scripts/validate-chart.sh passes. It now also checks that:
    • the new variables are absent by default
    • they render when set (including 0 and numbers from a values file)
    • values the server would refuse at boot are refused at render time
  • helm lint passes with the defaults, with all four new values set, and with rollback.enabled=true.
  • helm template works with and without the new values. Every DAKERA_* key in the rendered server ConfigMap is in the server's registry.
  • The upgrade NOTES render correctly for: unset, 0 (int and string), and a custom value.
  • Chart.yaml's Artifact Hub annotations, values.yaml and the schema all parse.

🤖 Generated with Claude Code

https://claude.ai/code/session_017ZHVK5VC49gnBM7bueRH88


Generated by Claude Code

Chart version and appVersion 0.12.2 (the chart version equals the server
version); the server image tag follows appVersion. Dashboard image 0.5.1,
same deployment (no new env, still no API key in the dashboard pod).

- New optional dakera.config values, rendered into the ConfigMap only when
  set (empty = the server default), each checked by values.schema.json
  against what the server accepts at boot; names and defaults checked in
  the server's known_env.rs and docs/v0.12/env-vars.md:
  sessionIdleTimeoutSecs (DAKERA_SESSION_IDLE_TIMEOUT_SECS, 14400; 0 kept),
  maxMemoryContentBytes (DAKERA_MAX_MEMORY_CONTENT_BYTES, 100000),
  vectorCacheBytes (DAKERA_VECTOR_CACHE_BYTES, 128MB; not l1CacheSize),
  rocksdbRecordFormat (DAKERA_ROCKSDB_RECORD_FORMAT, binary | json).
  Unquoted numbers from a values file render as integers.
- Nothing removed: every variable the chart renders for the server is
  still read by 0.12.2.
- Rollback: dakera downgrade must run with the 0.12.2 image (the Job's
  default) to rewrite binary hot-tier records as JSON for v0.11.108;
  values.yaml, the Job template, README and NOTES say so.
- README / chart README "Upgrading from chart 0.12.1": sessions auto-end
  after 4 h idle, key patterns and inert legacy entries, stricter
  validation, binary records; link to the server UPGRADE.md. CHANGELOG
  0.12.2, Artifact Hub changes and images (dashboard added), NOTES.txt
  upgrade summary.
- validate-chart.sh: the new values are absent by default, rendered when
  set (0 and values-file numbers included), refused when the server would
  refuse to boot.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_017ZHVK5VC49gnBM7bueRH88
@ferhimedamine
ferhimedamine merged commit d9c9ba7 into main Oct 8, 2026
1 check passed
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.

2 participants