Added
- Added
mirrord exec --shareand theshareoption, which print a temporary
HTTPS link to the service running on your machine, through the share-ingress
of a Team or Enterprise operator. Requests that don't reach your machine,
such as those sent before your application listens, reach the target's
service running in the cluster instead. A shared session steals only the
requests that carry its session key inbaggage, or that match its
http_filter. Sharing needs permission to getsessionsin the
operator.metalbear.coAPI group, which the operator's chart grants to
mirrord users. - Added the
agent.http_detect_inactive_portsoption, off by default. It makes
the agent run HTTP detection on connections that arrive while their port has
no subscriber, so a later subscription's HTTP filters apply to them. - The agent reports the bytes of mirrord-protocol messages it holds in memory,
inmirrord_agent_buffered_messages_bytes, and the bytes held by its
outgoing traffic throttles, inmirrord_agent_outgoing_throttle_permits.
Changed
- The agent logs a warning when a connection on a port stolen with an HTTP
filter is passed to the target unfiltered, with the reason: HTTP detection
timed out, the traffic isn't HTTP, or TLS negotiated a protocol other than
HTTP. mirrord wizardnow generates amirrord-up.yamlinstead of a
mirrord.json, asking the same questions asmirrord up init.mirrord wizard --tuiasks them in the terminal.
Fixed
- Fixed concurrent
mirrord ci startandmirrord ci containersessions
failing with "CI state file is locked by another writer". Sessions now wait
up to 5 seconds for each other, andmirrord ci stopcan find the processes
of every session. - The install script stops with a clear message when it cannot look up the
latest version on GitHub, instead of failing with a 404 that looks like a
missing release. mirrord execwith a serverless target shows its progress while it waits for
the target's agent, and fails with an error that names the cause instead of
appearing to hang.- jq filter time limits no longer count the wait for a thread
- mirrord correctly refuses to start a session with a serverless target when
feature.db_branches,feature.split_queues, orfeature.copy_targetis
set.