Repository navigation
release: chart 0.12.2 (server 0.12.2, dashboard 0.5.1) - #15
Merged
Merged
Conversation
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
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Merge order
Merge only after
ghcr.io/dakera-ai/dakera:0.12.2andghcr.io/dakera-ai/dakera-dashboard:0.5.1are published. A push tocharts/**onmainpublishes the chart right away (helm-release + helm-publish-oci). If the chart goes out before the images exist, a fresh install getsImagePullBackOff.What changes
version/appVersiongo to 0.12.2. The repo's rule is that the chart version equals the server version. The server image tag followsappVersion.dashboard.image.taggoes to 0.5.1. The deployment is the same: no new env var, same probes, and still no API key in the dashboard pod.changes, andimagesnow 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.jsonchecks each value against what the server accepts at boot. I checked every name and default incrates/config/src/known_env.rs,docs/v0.12/env-vars.mdand the source.sessionIdleTimeoutSecsDAKERA_SESSION_IDLE_TIMEOUT_SECS14400(4 h)0= the server ends no session by itself; values above 30 days are clampedmaxMemoryContentBytesDAKERA_MAX_MEMORY_CONTENT_BYTES1000000stops the server from booting)vectorCacheBytesDAKERA_VECTOR_CACHE_BYTES128MB256MB,1GB, bare bytes). This is the L1 vector cache, notl1CacheSizerocksdbRecordFormatDAKERA_ROCKSDB_RECORD_FORMATbinarybinary|json0is rendered as"0", not dropped. A number written unquoted in a values file is rendered as an integer, not as2.68435456e+08.Removed
Nothing. I checked every
DAKERA_*variable the chart renders for the server (ConfigMap, Secret, feature env) againstknown_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 needsdakera downgraderun with the 0.12.2 image. That is the Job's default, so leaverollback.imageempty. 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
touch/idle_timeout_secs: 0;--set-string dakera.config.sessionIdleTimeoutSecs=0keeps the 0.12.1 behaviour)*entries stay inactive until the key is saved againValidation
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.shpasses. It now also checks that:0and numbers from a values file)helm lintpasses with the defaults, with all four new values set, and withrollback.enabled=true.helm templateworks with and without the new values. EveryDAKERA_*key in the rendered server ConfigMap is in the server's registry.0(int and string), and a custom value.🤖 Generated with Claude Code
https://claude.ai/code/session_017ZHVK5VC49gnBM7bueRH88
Generated by Claude Code