Repository navigation
Added
:whyand MCPwhylead with the environment's own health.
Enhanced health's status and the causes behind the console's red
banner ("38.0 % of the requests are failing with HTTP 5xx"), with the
request rate, status-code mix and p50/p90/p99 latency over EB's last
window. ebman readDescribeEnvironmentHealthbefore only for
instance counts. An env with basic health reporting shows EB's reason
instead; a figure EB did not report is left out, never shown as 0.- A platform branch AWS has deprecated or retired is marked. From
ListPlatformBranches:(deprecated)/(retired)beside the
platform on the fleet row,branch retiredin Detail's header, and
platform_lifecycleinebman envs --jsonand MCP
list_environments. New lint rule EBL021 (Warn deprecated, Error
retired) in the TUI,ebman lintand MCPlint; a failed listing is
reported as lost coverage. EBL008 said a newer version existed in the
same branch; this says the branch itself is ending. The API gives the
state, not a retirement date. - Managed platform updates: what is scheduled, what happened, and
apply now.:managed-updatesand MCPmanaged_updatesshow what
EB has scheduled for an env (and the window each runs in) and the
last ten it ran, with each failure's type and reason.
:managed-apply ACTION_IDand the MCP write verb
apply_managed_actionrun a scheduled one now; the MCP plan refuses
an id EB does not have scheduled, and the confirmation names EB's
description of what it installs. Gated and audited like every write,
with no undo (:abortstops one in flight). - A whole dead-letter queue can be redriven inside SQS.
:dlq-redriveand the MCP write verbdlq_redrivestart SQS's
message move task from a worker env's dead-letter queue back to its
worker queue, so no message body passes through ebman however many
there are.:dlq-redrive statusandworker_queues(newredrive
field) report its progress;:dlq-redrive cancelstops it. The MCP
plan refuses an empty queue and one already being redriven. Audited
with the task handle; no undo, since every message is processed
again. - Rollback, abort, swap and scale on the CLI and MCP. They were
TUI-only, so the README's headline:rollbackcould not be scripted
or proposed by an agent.ebman action rollback|abort|swap|scaleand
the MCP write verbsrollback,abort_update,swap_cnamesand
scale. A rollback takes--to/toor the first earlier version in
the env's events, and audits as aDeploy;abort_updaterefuses an
env that is not updating; a swap gates both environments and refuses
two applications; scale bounds are checked (0 ≤ min ≤ max ≤ 10000).
Abort, swap and scale now audit under one shared label on every
surface (AbortUpdate,SwapCnames,Scale, the TUI's spellings). - Following a write, for agents. MCP
recent_eventstakessince
(a window) andmin_severity, passed to EB; the new read
wait_for_envwaits up to 25 seconds for an env to leave Updating,
Launching or Terminating and says whether it settled. Adeployor
rollbackplan carries the pre-deploy lint the TUI's confirm runs:
lint.issues, andlint.not_runfor checks that could not run. - Application-version retention.
:version-lifecycleshows an
application's retention policy, version count and the region's version
quota, sets a max count or age (under the app's own service role) or
turns retention off, andundorestores what the last change in this
session replaced. New account-level lint rules inebman lintand MCP
lint: EBL022 (an application keeping every version past 200)
and EBL023 (the region's versions at 80% of the quota, Warn; 95%,
Error) — at the quota, a deploy that creates a version fails. - Listener certificate expiry.
:listenerslists each certificate
an HTTPS listener serves with its expiry and ACM renewal state, and
the new lint rule EBL024 (TUI,ebman lint, MCPlint) warns at
30 days and errors at 7, once expired, or when ACM's renewal failed. A
certificate that cannot be read is reported as lost coverage. - Every region in one read.
ebman envs --regions all|r1,r2and a
regionsargument on MCPlist_environments,lintand
recent_events:allis the home region and the configured
extra_regions. Each row names its region, and a region that does not
answer is named (regions_failedon MCP; a warning and exit 1 from
ebman envs, after the rest print) rather than dropped. recent_logswithout CloudWatch streaming. For an env that
streams no logs, MCPrecent_logsfalls back to EB's own tail of each
instance (the same capture as the TUI's Logs tab, now one shared
driver), split by log file. Every answer carriessource
(cloudwatchoreb_tail); tail lines have no timestamp, so the
window does not apply.
Changed
ebman actionrefuses a flag its verb does not take.rollback --version v2used to ignore--versionand roll back to whatever the
events named;deploy --to,restart --minand the like were dropped
the same way. Each is now a usage error (exit 2).:region allorder is the same everywhere.ebman envs --regions alland MCPregions: "all"list the configured extra regions and the
home region sorted, as:region allalways has.
Fixed
-
A rollback no longer picks a version that failed to deploy. The
target was the first event version that differed from the current one,
and a failed deploy's events carry the version that failed: rolling
back after a failed v3 left on v2 redeployed v3. The TUI's:undo
fallback,ebman action rollbackand MCProllbacknow read only
events saying a deploy or update succeeded, and refuse when there is
none. -
:scale,:swapand:abortrefuse what the CLI and MCP refuse.
:scale 20000got past the 10,000-instance cap and:swapaccepted
the env itself; one set of checks now serves all three surfaces. (The
CLI and MCP also refuseabortfor an env with no update in flight;
the TUI leaves that to EB, since its row's status can be a refresh
old.) -
:dlq-redriverefuses an empty dead-letter queue, as MCP did, and
statuslists the recent move tasks rather than one. -
The retiring-branch marker no longer answers for other regions.
Under:region allrows elsewhere were marked from the home region's
branch listing. -
Two lint rules suggested commands that do not exist. EBL008
(stale platform) named:upgrade-platformand EBL012 (Green with no
healthy instances) named:health; they now name:upgradeand
:why, and a test fails any rule that names a command ebman lacks.
Security
:batch-set-optionno longer writes a secret value to the audit
log. It recorded the value it set, so an env var such as a database
URL set across a fleet went out tonotify_webhookonce per
environment and showed inebman audit --json. The value is now
written(redacted)under the same rule asget_option_settings
(env-var values andDBPassword), andebman auditwithholds one in
lines written before this release. Single-environment:set-option
never recorded a value. Rotate any secret set this way while a
webhook was configured.
Full Changelog: v0.49.0...v0.50.0