Upgrade to v0.13: changes and boundaries
This guide covers the published v0.13.0 release and changes since the site’s previous v0.9.1 documentation. Run halro version first and choose the path for your installed version. See the installation center for channel versions.
Upgrade and rollback
Section titled “Upgrade and rollback”| Starting version | Before upgrading |
|---|---|
| v0.12.2 | v0.13.0 needs no configuration or metadata-schema migration; retain a consistent backup and separately stored Master Key |
| v0.10.x through v0.12.1 | Later versions add no metadata-schema migration; review provider parameter changes and the pricing-recovery Audit boundary |
| v0.9.x | v0.10.0 moves metadata to schema 42; older binaries cannot open the upgraded directory, so rollback requires restoring the pre-upgrade backup |
| v0.8.5 or earlier | Complete the v0.9 configuration migration, then observe the one-way schema 42 boundary |
Stop the instance, create and verify a complete backup, and keep the old configuration and binary. Do not run init again on an existing instance. Startup migrates automatically and rebuilds the changed Usage history format in the background. Readiness does not mean history is caught up; inspect halro_usage_history_building and the watermark before accepting summaries.
The Primary/Replica runtime and halro cluster shipped in v0.10.0 but remain experimental and unsupported in production. Keep production Standalone and omit replication. Multiple processes must never share one data directory.
Existing configuration keeps its timeout values
Section titled “Existing configuration keeps its timeout values”| Configuration | v0.13.0 default for a new installation |
|---|---|
gateway.attempt_response_header_timeout | 5m |
gateway.route_total_timeout | 10m |
server.shutdown_timeout | 10m |
gateway.stream_max_duration | 30m |
Values already written into config.yaml remain unchanged. Adjust them for your workload and run halro config check --config /etc/halro/config.yaml. Connection tests and health probes wait at most one minute, independently of the five-minute inference header budget. The shorter of the Project’s max_stream_duration_seconds and the instance limit applies; 0 follows the instance. Projects created by the older console may still carry 600 seconds.
Kubernetes termination grace and systemd stop deadlines must also cover draining. Current official examples use terminationGracePeriodSeconds: 650 and TimeoutStopSec=650s. Run systemctl daemon-reload after upgrading the Debian package or AWS KMS systemd unit. An SDK or ingress proxy still limited to 60 seconds can interrupt before Halro does.
Providers and request protocols
Section titled “Providers and request protocols”- OpenAI Providers can select Chat or Responses upstream. Existing Chat connections do not switch automatically: validate a replacement Deployment before changing the Route. Chat clients using Responses reasoning tools must preserve the assistant’s
encrypted_contentwhen returning tool results; native Responses clients can replay complete output items. Tool arguments following reasoning may wait until upstream completion so complete replay state is delivered first. - Volcengine Ark’s metered API provides experimental Chat/SSE, tools, images, and structured output. Use a standard API Key and an exact Model ID or
ep-...Endpoint ID. The platform catalog does not establish account access, and an Endpoint ID alone does not establish reasoning-effort semantics. See provider boundaries. - Anthropic supports API dates
2023-06-01and2026-10-21. Sampling, thinking, and cache controls are validated against the date, exact model, and Profile. Unsupported combinations are rejected before provider I/O. - For OpenAI/Ark Chat models that support it, use
max_completion_tokensfor the total output budget including reasoning, without also submittingmax_tokens. Other APIs use their own contract’s output-limit field. Retired models are not substituted automatically or credited with capabilities merely because an upstream list still includes them. Consult the current API contract for exact fields.
Console and application handoff
Section titled “Console and application handoff”Navigation groups configuration, activity, and system pages. The bottom-left account menu provides settings and sign-out. Quick views, filter chips, and Refresh sit near list controls. Primary content tabs and secondary status filters represent different levels. Usage’s Today uses the accounting time zone for date boundaries; Last hour is a rolling window. A default list window does not represent all historical calls.
A Project’s AI integration exports copyable instructions or a downloadable SKILL.md, using an authorized public alias, an API, and a Gateway address the application can reach. It references HALRO_API_KEY in the application’s environment; it does not contain or create a real key, call a model, or expand authorization. Read-only administrators may also export these instructions.
Gateway Key permissions group model access separately from optional Run governance. Ordinary calls require inference; model enumeration additionally requires discovery. Creation requires at least one Scope and freezes permission edits while submitting. Run Governance remains experimental.
When a console session expires, protected requests pause until sign-in succeeds, then the console returns to the original URL. Unsaved forms must be entered again; failed writes are never replayed automatically. Incorrect passwords, permission errors, and network failures retain their own handling.
Pricing clock quarantine and acceptance
Section titled “Pricing clock quarantine and acceptance”Since v0.12.2, operators can review and recover wall_clock_forward_jump / wall_clock_rollback quarantines. Restarting does not clear them. Correct host or VM time first, then use the authenticated Admin action or the offline command on a stopped Standalone instance. The review binds the quarantine revision and price and expires after five minutes. Historical prices, bills, and pins stay unchanged. Older binaries may not understand the new Audit action after recovery; retain the pre-recovery backup for rollback. See cost governance for the procedure.
After upgrading, check the version, /health/ready, sign-in and permissions, Route eligibility, history watermarks, and Ledger/Audit verification. Real-provider requests can incur charges and require separate environment authorization. v0.13.0 also fixes compression dependencies affected by GO-2026-6888 and GO-2026-6865; historical data does not need rewriting.