3.290.02026-11-17
Added
- mirrord preview start and mirrord preview up can now run without a target
to provision branch databases alone: with feature.db_branches and no
target, the operator creates the branches and keeps them for the preview's
TTL. A targetless mirrord exec with branches the operator provisions
creates them the same way and gets their connection values in its
environment. Branch connection values must then come from a literal, a
Kubernetes Secret, or a ConfigMap named directly, since there is no target
pod to read them from. Secret manager sources and iam_auth work without a
target only for S3 and turbopuffer branches, and Spanner branches still need
a target.
Fixed
- The serverless workload companion and the CLI's sessions-manager connection
trust the CA certificates bundled into mirrord, alongside the system's when
it has any, so application images no longer need ca-certificates installed
to connect to MetalBear Cloud. The data-plane connection trusts the system's
CA certificates too, so a sessions-manager behind a private CA or a
transparently intercepting proxy no longer passes registration only to fail
every data-plane connection.
3.289.02026-11-17
本次更新包含两项改动。安全方面,内部代理收到 HTTP 请求时,不再把 Authorization、Cookie 及 API key 等凭据类请求头的值写入日志,避免敏感信息随日志外泄。功能方面,mirrord ui 在 mirrord login 之后会展示你在 MetalBear Cloud 上的组织会话;登录状态下,即使集群未部署 mirrord operator 或本地缺少 Kubernetes context,也不会再报错。
3.288.02026-11-15
本次更新为 mirrord up 增加了对 serverless 目标的运行支持。在 split 和 mirror 模式下,服务可以正常运行,但不会启用队列分流与数据库分支功能,命令执行时会给出相应提示;replace 模式则直接报错,因为 serverless 目标无法被复制。
另外,mirrord wizard 和 mirrord up init 在用户跳过头部过滤器与端口自定义时,现在会明确说明 mirrord up 将如何处理流量,避免配置结果与预期不符。
3.287.02026-11-13
mirrord 新版本更新:新增服务分享、CI 并发修复等
本次更新带来一项实用的新功能:mirrord exec --share 及配套的 share 选项。它会生成一个临时 HTTPS 链接,让团队或企业版用户通过 share-ingress 把你本机运行的服务对外暴露。应用尚未监听时到达的请求,会自动落到集群内的目标服务上,不会白白丢失。共享会话只截获携带其会话密钥(baggage)或匹配 http_filter 的请求,权限由 operator 的 chart 授予。
其他改动:新增 agent.httpdetectinactive_ports 选项,让 agent 对无订阅者的端口也做 HTTP 检测,后续订阅的过滤器才能生效;agent 新增两个指标,分别报告内存中协议消息字节数与出站限流占用字节数。mirrord wizard 现在生成 mirrord-up.yaml 而非 mirrord.json,问题与 mirrord up init 一致,--tui 模式在终端交互。
修复方面:并发的 mirrord ci start 与 mirrord ci container 不再因状态文件锁冲突而失败,会话间最多互等 5 秒,mirrord ci stop 也能找到所有会话进程;安装脚本查不到最新版本时给出明确提示,不再误报 404;serverless 目标的 mirrord exec 会显示等待进度并报出具体原因,不再像卡死;jq 过滤器时限不再把线程等待时间计入;设置了 feature.dbbranches、feature.splitqueues 或 feature.copy_target 时,会正确拒绝启动 serverless 目标会话。
3.286.02026-11-10
Added
- Choose one queue-consuming cluster with consumerCluster in multi-cluster
queue splitting.
- Session monitor talks to the Firefox build of the browser extension through a
page message relay.
Changed
- A Kafka payloadprotobuf.schemafile that does not exist is reported with
the absolute path mirrord looked for it at, and an import that can't be found
is reported with the directories it was looked up in.
- Changed the sync settings of mirrord-up.yaml: sync.install is now
sync.prepare, its onchange is now triggeredby, and
sync.restartonchange is now sync.run.restart, which takes on_prepare
(the default) or on_sync. sync.run no longer defaults to the service's
run.command, so a service without it runs its image's own command, for
example nginx serving the synced files. sync.prepare.directory no longer
defaults to sync.run.directory. mirrord preview sync and mirrord preview
status say "sync" instead of "push" in their output, as in the status line
last sync 2m ago.
- mirrord dump without --ports now dumps only the ports declared on the
target container, skipping other containers in the pod and non-TCP ports.
Sessions where those ports aren't known, such as copy target and
multi-cluster, now need --ports.
Fixed
- A Kafka payloadprotobuf that gives a relative schemafile and an
absolute include_directories entry, or the other way round, now compiles
the same as one with only relative paths.
- Fixed mirrord preview sync hanging with two or more services in
mirrord-up.yaml.
- Show the destroy command when a database branch fails
- The validate_config tool of mirrord mcp takes the directory the user runs
mirrord from, and resolves a relative payloadprotobuf.schemafile and
include_directories from it. Before, it resolved the path from the working
directory of mirrord mcp, which the MCP client chooses.
3.285.02026-11-04
Added
- Added common.baggage to mirrord-up.yaml, which sets the baggage option
for every service.
- Added exclude_tables to the MySQL and MariaDB database branch copy config
to leave tables out of the copy by name or pattern.
- Split queue entries without a filter now use the filter set on the target's
MirrordSplitConfig.
Fixed
- Clear error for multi_cluster: false and label targets on a management-only
multi-cluster Primary.
- The configuration schema accepts a Redis branch in feature.db_branches
without location, which defaults to remote.
3.284.02026-11-03
Added
- Added db_branching to mirrord-up.yaml modes: empty, schema or all
requests every MirrordSplitConfig DB branch with that copy mode, inherit
with each entry's own, off none. An entry named split, replace or
mirror may set it for that built-in mode. A mode without it branches like
the built-in mode its incoming names, and a mode without queues splits
them like its incoming: mirrored with incoming: mirror, stolen otherwise.
In mirrord.json, feature.dbbranches takes { "entries": "", "copy": {
"mode": "schema" } } to request a copy mode. mirrord up fails before
starting any service when a mode's db_branching or queues line can't be
served: no usable operator (saying why), no DB branch definitions, an entry's
database engine turned off in the operator, a copy mode outside an entry's
allowedModes, or an operator that splits no queues. It also fails up front
when services sharing a DB branch ask for different copy modes.
- Added custom modes to mirrord-up.yaml: a modes entry sets incoming and
queues, and is selected by name with default_mode or mirrord up --mode.
Changed
- On Linux, experimental.hooklibcsyscall and
experimental.oldglibcsupport are now enabled by default for OSS users.
Fixed
- Fixed the layer losing its internal proxy connection when an application
reuses low fd numbers, such as the s6-overlay /init script.
3.283.02026-11-01
Added
- Added mirrord preview sync, which previews each service with sync in
mirrord-up.yaml with your local code instead of a built image: the CLI
pushes the sync.files directories into the preview pod, sync.install
installs the dependencies again when they change, and --watch keeps pushing
your edits. A service runs its image from --image or
MIRRORD<SERVICE>IMAGE, or the target's own image without one. mirrord
preview status shows the sync of each session.
Changed
- Update the bundled apple-utils to v10.
3.282.02026-10-30
Added
- Experimental: mirrord up --debug <service> holds that service's program
before its own code runs, until an IDE attaches its debugger and releases it.
It's hidden from help on every platform, and may still change.
- New mirrord up list prints every service in an up file as mirrord up
would run it: its target, mode, command and folder, without touching the
cluster. --format json prints the same for scripts and IDE extensions.
Changed
- mirrord up shows in mirrord --help and shell completions on Windows.
Fixed
- Calls that describe a folder above the working directory, such as stat and
access, now stay local by default on Linux and macOS, so resolving a local
path no longer fails when the target doesn't have those folders.
- Honor workload selector expressions when selecting target pods, including
workloads with expression-only selectors.
- mirrord no longer waits for many minutes, printing nothing, when the cluster
answers 503 for the mirrord operator. startup_retry alone now decides how
often those requests are retried.
3.281.02026-10-28
Added
- Paid-feature errors identify the configuration key and required plan, with
billing guidance for cluster administrators.
Local paid-feature refusals are reported to operators that support
license-gate reporting.
Changed
- Added sanitization to the JDKJAVAOPTIONS environment variable by removing
javaagent options.
This fixes some cases of injected variables pointing to non-existent files
and causing errors.
Malformed values (those with unmatched quotes) are left unchanged.
Set feature.magic.java_agents to false to keep the remote value
unchanged.
Fixed
- Added agent.http2maxheaderlistsize to configure the agent's HTTP/2
header size limit.
- Fix the permissions of the local placeholder file created for remote files
when experimental.usedevnull is false.
- mirrord up no longer stops showing a service's output, and reports the
service as crashed, when the service prints text that isn't UTF-8, such as a
Windows console code page's £.
- mirrord up now returns a helpful error when trying to use a label selector
target.