ADR: One frame for every resource
- Status
- accepted
- Date
- 2026-10-18
Every Azure resource the site runs on gets the same card in the Cloud infrastructure section: two dials for the two numbers that run out first, thirty days of both with deploys and platform events marked, four question rows, and a readout. One recorder shape, one container per resource at thirty-one days, one card frame. The plan card (ADR: The App Service plan, read every minute) is the first instance; this record makes it the pattern and adds six more.
In plain words
Each Azure resource has a page in the portal with a different layout, a different set of charts and a different idea of what matters. Reading seven of them is seven lessons. This section reads all seven the same way: the two numbers that would run out first are the dials, the month is the line, the questions are the same four, and the readout is twelve readings in the same order.
What that is worth: a reader who has understood one card has understood all of them, and the eighth resource costs an afternoon rather than a project.
Context
The plan card proved the shape: read Azure once a minute with the containers' identity, keep one document a minute in Cosmos DB, serve from the kept copy, draw the two scarce numbers as dials and the month as a line with the deploys on it. Six more resources carry the site: the relational database, the document store, the registry that holds the images, the telemetry workspace, the email sender, and the edge in front of it all. Each had either no card or a card that read it live on every visit.
The owner's ruling, 2026-10-18: every Azure resource gets a dashboard like the plan's, above all those with compute under them, because keeping the dev side and the infrastructure side looking at the same picture is the part of the job he says is his.
Decision
One frame, parameterised by the resource. CloudCard is one component in six parts: the identity line with its portal link, two dials, the chart, the question rows, the readout, and the absent state. A resource supplies a data shape, CloudReport, and the frame draws it. There are no seven copies of the layout, and a change to the frame changes every card.
export function CardShell({
report,
title,
testId,
toolbar,
live,
}: {
report: Fetched<CloudReport>;
title: string;
testId: string;
toolbar: ReactNode;
/** A card's own live block, drawn across the card above the chart; only the box's card hands one. */
live?: ReactNode;
}) {
if (report === null || report === 'failed') {
return (
<article className={`${cardStyles.wide} op-glass`} data-testid={testId}>
<h2 className={cardStyles.cardTitle}>{title}</h2>
{report === null ? <CardState state="loading" /> : <Retry />}
</article>
);
}
const hold = holdLine(report.thresholds);
const sparks = sparksFor(report.dials.slice(0, 2), report.sparks);
const instances = report.readout.lines.find((line) => line.key === 'instances');
const cadence = cadenceLine(report);
return (
<div className={styles.frame} data-testid={testId} data-tone={report.tone}>
<article className={`${areas.card} op-glass`}>
<div className={areas.lead} data-testid="cloud-lead">
<header className={styles.header}>
<h2 className={`${cardStyles.cardTitle} ${styles.title}`} data-mock="cloud-card-title">
{report.title}
<span className={styles.toneChip} data-tone={report.tone} data-testid="card-tone">
{cardToneWord(report.tone)}
</span>
</h2>
{report.spec !== null && (
<span className={styles.spec}>
{report.spec}
{report.spec_source !== null && (
<span className={styles.sourceChip} data-testid="card-spec-source">
{report.spec_source}
</span>
)}
</span>
)}
</header>
<CardLegend entries={report.legend} />
<p className={styles.resource} data-testid="cloud-resource">
{report.resource !== null && (
<>
<PortalLink link={report.resource} />{' '}
<span className={styles.quiet}>{portalSentence(report.resource.href)}</span>
</>
)}
<span className={styles.quiet} data-testid="cloud-read-age">
{' · '}
{report.read_age_seconds === null
? 'not read yet'
: `read ${report.read_age_seconds} s ago`}
</span>
{instances !== undefined && !instances.value.startsWith('not read') && (
<span className={styles.quiet}>
{' · '}
{instances.value} instances
</span>
)}
</p>
{report.description != null && <CloudWhat description={report.description} />}
{report.note !== null && (
<p className={cardStyles.muted} data-testid="cloud-note">
{report.note}
</p>
)}
<div className={styles.dials}>
{report.dials.slice(0, 2).map((dial, index) => (
<DialPanel
key={dial.name}
dial={dial}
testId={index === 0 ? 'cloud-dial-left' : 'cloud-dial-right'}
hold={hold}
spark={sparks.byDial[index]}
/>
))}
</div>
{cadence !== null && (
<p className={styles.quiet} data-testid="cloud-cadence">
{cadence}
</p>
)}
{sparks.rest.length > 0 && (
<div className={styles.sparks}>
{sparks.rest.map((spark) => (
<Spark key={spark.name} name={spark.name} values={spark.values} tone="info" />
))}
</div>
)}
</div>
<div className={areas.readout}>
<CloudReadout readout={report.readout} />
</div>
<div className={areas.rest} data-testid="cloud-rest">
{live}
<CloudChart chart={report.chart} endMs={report.as_of_ms} toolbar={toolbar} />
<CloudProcesses processes={report.processes ?? []} />
<CloudRows rows={report.rows} />
</div>
</article>
</div>
);
}
Live from src/components/admin/CardShell/CardShell.tsx, region card-shell, read from this build at 99df7a8.
One recorder shape, one container each. CloudRecorder is one recorder that walks every resource's definition: a minute read, an hourly read (once in its hour for a source that moves no faster), the once-per-process rule from the machines recorder, and a container named for the resource from infra/cosmos/<resource>.json, each partitioned on the day with a thirty-one day time to live. A resource is a definition in Cloud/ResourceCatalog.cs (which resource, which metrics, which view), not a recorder of its own, so one card's failure is a gap on that card and the others keep reading. Seven containers rather than one, because each resource's documents have their own shape and their own index, and a window query over one resource should never scan another's minutes.
public sealed class CloudRecorder(IReadOnlyList<(ResourceCard Card, IResourceHistory History)> cards, BuildInfo build, TimeProvider clock, ILogger<CloudRecorder> logger) : BackgroundService
{
private readonly Dictionary<string, DateTimeOffset> _hourRead = new(StringComparer.Ordinal);
private readonly Dictionary<string, ResourceHour> _liveHour = new(StringComparer.Ordinal);
private readonly object _gate = new();
private readonly Dictionary<(string Key, DateTimeOffset At), string> _keptMinutes = [];
public int MinutesWritten { get; private set; }
public ResourceHour? LiveHour(string key)
{
lock (_gate)
{
return _liveHour.GetValueOrDefault(key);
}
}
public async Task RecordOnceAsync(string key, CancellationToken cancellation)
{
var (card, history) = cards.Single(entry => entry.Card.Key == key);
bool kept = (await history.AvailabilityAsync(cancellation)).Available;
var now = clock.GetUtcNow();
var hour = MachineWindows.BucketOf(now, MachineGrain.Hour);
DateTimeOffset? last;
lock (_gate)
{
last = _hourRead.TryGetValue(key, out var asked) ? asked : null;
}
Exception? failed = null;
if (card.Hourly)
{
try
{
await HourOnceAsync(key, card, history, kept, hour, last, cancellation);
}
catch (Exception ex) when (!cancellation.IsCancellationRequested)
{
failed = ex;
}
}
if (kept && (!card.Hourly || last != hour))
{
foreach (var minute in await card.Minutes(now - PlanRecorder.Lookback, now, build.Version, cancellation))
{
string values = Fingerprint(minute);
lock (_gate)
{
if (_keptMinutes.TryGetValue((key, minute.At), out string? held) && held == values)
{
continue;
}
}
await history.AppendMinuteAsync(minute, cancellation);
lock (_gate)
{
_keptMinutes[(key, minute.At)] = values;
MinutesWritten++;
foreach (var old in _keptMinutes.Keys.Where(entry => entry.At < now - PlanRecorder.Lookback - TimeSpan.FromMinutes(5)).ToList())
{
_keptMinutes.Remove(old);
}
}
}
}
if (failed is not null)
{
failed.Data[PartKey] = "hour";
System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw(failed);
}
if (!card.Hourly)
{
try
{
await HourOnceAsync(key, card, history, kept, hour, last, cancellation);
}
catch (Exception ex) when (!cancellation.IsCancellationRequested)
{
ex.Data[PartKey] = "hour";
throw;
}
}
}
public static string Fingerprint(ResourceMinute minute) =>
minute.Version + "|" + string.Join(";", minute.Values.OrderBy(entry => entry.Key, StringComparer.Ordinal)
.Select(entry => $"{entry.Key}={entry.Value?.ToString("R", System.Globalization.CultureInfo.InvariantCulture)}"));
public const string PartKey = "cloud.part";
public static string PartOf(Exception ex) => ex.Data[PartKey] as string ?? "minute";
private async Task HourOnceAsync(string key, ResourceCard card, IResourceHistory history, bool kept, DateTimeOffset hour, DateTimeOffset? last, CancellationToken cancellation)
{
if (last == hour)
{
return;
}
var read = await card.Hour(hour, last ?? hour.AddHours(-1), cancellation);
if (kept)
{
await history.AppendHourAsync(read, cancellation);
}
lock (_gate)
{
_liveHour[key] = read;
_hourRead[key] = hour;
}
}
protected override async Task ExecuteAsync(CancellationToken stopping)
{
while (!stopping.IsCancellationRequested)
{
foreach (var (card, _) in cards)
{
try
{
await RecordOnceAsync(card.Key, stopping);
}
catch (OperationCanceledException) when (stopping.IsCancellationRequested)
{
return;
}
catch (Exception ex)
{
logger.LogWarning("The {Part} of {Card} could not be kept ({Exception} {Status})", PartOf(ex), card.Key, ex.GetType().Name, (ex as HttpRequestException)?.StatusCode);
}
}
var now = clock.GetUtcNow();
await Task.Delay(now.UtcMinute.AddMinutes(1).AddSeconds(20) - now, stopping).ContinueWith(_ => { }, TaskScheduler.Default);
}
}
}
Live from api/TheYard.Api/Features/Admin/Cloud/CloudRecorder.cs, region cloud-recorder, read from this build at 99df7a8.
The two dials are the two numbers that run out. Not the two most interesting numbers and not the portal's defaults: for each resource, the two readings that would stop the site first.
- The App Service plan: processor and memory of the one B2.
- Azure SQL Database: DTU of the five, and data space of the 2 GB.
- Cosmos DB: request units a second of the 1,000 shared, and storage of the free 25 GB.
- Container Registry: storage of the 10 GB included, and pulls this minute.
- Application Insights: today's ingestion against the daily cap, and the sampling rate in effect.
- Communication Services: sends this hour, and the bounce rate.
- The Netlify edge: credits of the 300 this cycle, and the cache hit rate.
Thresholds per resource, held by a test, sustained before they speak. Each card's thresholds are its own numbers in CloudThresholds, held fifteen minutes by the plan's rule (PlanThresholds.ToneOf), and CloudThresholdTests holds all of them. A capped hour on the telemetry workspace is red at once rather than after a hold, because a capped hour is data already lost; the workspace's Usage table moves hourly, so the telemetry card and the edge keep one document an hour.
public static class CloudThresholds
{
public static readonly (double Amber, double Red) SqlDtu = (60, 90);
public static readonly (double Amber, double Red) SqlSpace = (70, 85);
public static readonly (double Amber, double Red) CosmosThroughput = (70, 90);
public const double CosmosThrottledShare = 5;
public const double CosmosPointLatencyMs = 250;
public static readonly (double Amber, double Red) CosmosStorage = (70, 90);
public static readonly (double Amber, double Red) InsightsIngestion = (70, 90);
public static readonly (double Amber, double Red) InsightsDropped = (50, 90);
public static readonly (double Amber, double Red) MailSends = (60, 85);
public static readonly (double Amber, double Red) MailBounces = (5, 10);
public static readonly (double Amber, double Red) EdgeCredits = (60, 85);
public static readonly (double Amber, double Red) EdgeMisses = (50, 80);
public static readonly (double Amber, double Red) NightlyMisses = (5, 10);
public const double CostPastFreeDollars = 10;
public const double CostDaySpike = 1.5;
public const double CostBudgetDollars = 70;
public const double DollarsPerGbSecond = 0.000026;
public static readonly (double Amber, double Red) MergerWait = (5, 10);
public static readonly (double Amber, double Red) ClaudeDay = (200, 400);
public static readonly (double Amber, double Red) ClaudePlanWeek = (80, 95);
public const double ClaudeRunSeconds = 1_200;
public const double FreeGrantGbSeconds = 100_000;
public const double FreeGrantExecutions = 250_000;
public static readonly (double Amber, double Red) BoxCpu = (70, 90);
public static readonly (double Amber, double Red) BoxMemory = (85, 95);
public const double BoxSwapShare = 10;
public const long BoxSwapBytes = 256L * 1024 * 1024;
public const long BoxPagingBps = 1024L * 1024;
public const double BoxMemoryPressure = 10;
public const double BoxSwapNearlyFull = 90;
public static readonly (double Amber, double Red) BoxFileSystem = (80, 90);
public static readonly (double Amber, double Red) BoxGpuMemory = (85, 95);
public const double BoxTemperatureUnder = 10;
}
Live from api/TheYard.Api/Features/Admin/Cloud/CloudThresholds.cs, region cloud-thresholds, read from this build at 99df7a8.
Cost on the readout comes from the cost card, never typed. Each readout's cost line reads the kept cost days for that resource (ADR: What Azure charges). A figure typed into a card goes stale the next time the bill changes.
Every resource name links to its portal blade. The tenant and the resource id come from the Azure read. The Netlify card links to the project page the same way. The link opens with the viewer's own sign-in, which the card says beside it.
The Netlify card names its own retirement. The edge retires at the registrar transfer, so its fourth question is "Is it still needed?" and the answer is a date. A card for a resource that is going away should say so rather than look permanent.
A secret the card needs is a GitHub secret, never in the repo. The Netlify read needs a personal access token; it is NETLIFY_TOKEN on the repository, carried into the apps as a setting the way the operator's key is (ADR: The code is public and the secrets are not). With no token set, the card says so in a sentence.
What this cost
Six containers on the existing account, inside the free tier; one shared frame; one recorder walking six definitions beside the plan's own; seven threshold sets; and one role assignment. The containers' identity already held Reader on the resource group, which covers every resource's metrics and Activity Log, and AcrPull on the registry, which covers its catalogue; the one it lacked was Log Analytics Reader on log-theyard-ss, because Reader cannot run the query the telemetry card reads the Usage table with. That was assigned on the owner's word at 12:13 CDT on 18 October, at no charge, and every assignment and container was read back; the screenshots are below. No new Azure resource. The six cards shipped as one deploy after the plan card had been reviewed live.
Alternatives
Seven cards, seven layouts, each tuned to its resource. Rejected: the portal already does that, and the reader has to learn seven pages. The value of the section is that the cards are the same.
One container for all seven. Rejected: one index policy cannot serve seven document shapes well, and a window query over the plan would read the registry's minutes to skip them.
Read the portal's defaults as the dials. Rejected: the portal's first chart for a SQL database is DTU and for a registry is storage, but for Cosmos DB it is total requests, which never runs out. The dial is the number with a ceiling.
Where it sits
CloudRecorder, CloudReader and CloudThresholds in TheYard.Api, beside the plan's own files, which are now the first instance of each, and each resource's reads and view in TheYard.Api/Cloud/. One port in TheYard.Application, IResourceHistory, because the six shapes are one shape (a minute of named readings, an hour of named facts), and its Cosmos implementation in TheYard.Infrastructure.Cosmos. The frame in src/components/admin/CloudCard (CardShell from 1.0.4.0, the addendum below) and its parts beside it; the seven data shapes are built on the server and arrive as one CloudReport, because the server owns every derived fact, and src/lib/cloud.ts holds only the frame's geometry. Domain knows nothing of any of it.
What would change it: a resource whose two scarce numbers are not a pair of percentages, at which point the dial takes a unit and a ceiling rather than a fraction. The frame already draws the absolute under the reading for that reason.
Files
src/components/admin/CardShell/ - the frame; its parts in CloudDial, CloudChart, CloudRows and CloudReadout beside it, and CloudResourceCard for the six
src/lib/cloud.ts - the frame's geometry and the words a tone prints in
api/TheYard.Api/Features/Admin/Cloud/ - the six data shapes: each resource's reads and its view
api/TheYard.Api/Features/Admin/Cloud/CloudCards.cs - what a resource card is
api/TheYard.Api/Features/Admin/Cloud/CloudRecorder.cs - the recorder shape
api/TheYard.Api/Features/Admin/Cloud/CloudReader.cs and api/TheYard.Api/Features/Admin/Cloud/ResourceView.cs - the windows and the markers, once
api/TheYard.Api/Features/Admin/Cloud/CloudThresholds.cs - every card's numbers
api/TheYard.Api/Features/Admin/Cloud/Module.cs - the six definitions, registered beside the plan's
infra/cosmos/ - sqldb.json, cosmosdb.json, registry.json, insights.json, mail.json, edge.json beside plan.json, each named for the card's address
api/TheYard.Tests/CloudThresholdTests.cs - the numbers above, held
api/TheYard.Tests/CloudViewTests.cs - fixed minutes in, fixed report out, per resource
tests/e2e/cloud.spec.ts - seven cards render in the one frame; that every portal link carries the id the read returned is held in CloudViewTests, because a browser run has no Azure read to compare against
Configuration, read back through the runner on 18 October: every role assignment the identity holds, and the six containers.


The section: seven resources to seven containers to one frame.

Addendum, 2026-10-18: an hourly card speaks on its newest reading
The fifteen-minute hold above stopped being true for two cards in 1.0.3.175. Application Insights and the Netlify edge keep one document an hour, because their sources move no faster, so fifteen minutes of readings over a line could never be kept and both cards could never turn amber or red. The first live hour showed the cost: the telemetry workspace had ingested 0.098 GB of its 0.1 GB daily cap, and the dial said information. An hourly card now takes its tone from its newest reading alone, which already stands for an hour; every minute-by-minute card keeps the hold. CloudThresholdTests holds the case as it was read.
public static PlanTone Tone(IReadOnlyList<double?> values, (double Amber, double Red) levels, bool hourly)
{
if (!hourly)
{
return PlanThresholds.ToneOf(values, levels);
}
return values.LastOrDefault(v => v is not null) is not { } newest ? PlanTone.Info
: newest >= levels.Red ? PlanTone.Alarm
: newest >= levels.Amber ? PlanTone.Warning
: PlanTone.Good;
}
Live from api/TheYard.Api/Features/Admin/Cloud/ResourceView.cs, region hourly-tone, read from this build at 99df7a8.
Addendum, 2026-10-18: the edge builds from its own branch
The edge card reads Netlify's deploy log, and on the first day it read as a column of failures. None was a failure: every push to main started a Netlify build, netlify.toml's ignore rule found no change under edge/ and cancelled it, and Netlify files a cancelled build as an error, "Canceled build due to no content change". From 1.0.3.175 two things hold. The card names each deploy by Netlify's own reason, live, skipped or failed, so a skipped build is never shown as failed (NetlifyEdge.Outcome, held by CloudViewTests). And Netlify builds from an edge branch that .github/workflows/edge-branch.yml moves to main only when edge/ or netlify.toml changes, on the owner's word on 18 October. Once the project's production branch is edge in Netlify's settings, a change made in the Netlify account that owns the project, a push that does not touch the edge starts no build at all; until then, and after, the ignore rule stays as the second guard.
Addendum, 2026-10-18: a list is a table, and each resource says what it is
From 1.0.3.176 a row that answers with a list draws it as a table under the answer, through the Admin tab's one table component (ADR-083), and every table names each resource's type. The owner's reading of the plan card was the reason: "4 apps, running" followed by ".NET 10 Azure SQL" on one line read as though the database ran on the plan. It never has; the plan carries four web apps, and the SQL database and the Cosmos DB account are resources of their own with cards of their own. The plan's table says so in a column, Talks to, and the other cards' tables say Cosmos DB container, image repository, web app or SQL database beside each name. A row carries its table as CloudRow.Table, empty and never null when it has none.
Addendum, 19 October 2026 (1.0.3.186): the plan's table no longer describes an app from its name. Its Type, Runs and Answers to columns are Azure's own read of each site, taken in the same hourly read as its state and Always On: the site's kind, its linuxFxVersion (the image and tag) and its hostNames. Talks to is gone with the guess it was built on; which store a request reaches is the Hosting page's and the store cards' to say. An hour kept before the reader read these fields says "not read" rather than a guess. The owner asked for it on 19 October: the card "should always pull from real data from the api".
Addendum, 2026-10-18: the readers are tested, and a good deploy is green
From 1.0.3.173 to 1.0.3.176 every push to main deployed green and ran CI red, and GitHub mailed the owner a failed run on each one. No test failed. The coverage step failed: 86.8 per cent of lines against its floor of 90 and 66.7 per cent of branches against 75, because the new readers behind these cards talk to Azure Resource Manager, Azure Monitor, Log Analytics, the registry and Netlify, and the CI runner has no credential to reach any of them. The floor stays where it is. Lowering it would hide the same gap in every other project.
What changed instead. Seven readers each held a static HttpClient of their own, which is seven connection pools for the same few hosts. From 1.0.3.177 they share one, OutboundHttp: one SocketsHttpHandler that retires each connection after two minutes, so a changed DNS answer is picked up, and a cheap client per call that carries the caller's timeout. The same file is the suite's seam. A test routes its own flow's calls to recorded answers, which CloudReadersTests holds in the shapes each service gives. Every reader then runs its real request building, parsing and failure paths with no network: a metric Azure refuses at one grain, a Log Analytics query answered 403, and a Netlify token that cannot see the site.
public static class OutboundHttp
{
private static readonly SocketsHttpHandler Handler = new()
{
PooledConnectionLifetime = TimeSpan.FromMinutes(2),
PooledConnectionIdleTimeout = TimeSpan.FromMinutes(1),
};
private static readonly AsyncLocal<HttpMessageHandler?> Routed = new();
public static Outbound Client(TimeSpan timeout) => new(new HttpClient(Routed.Value ?? Handler, disposeHandler: false) { Timeout = timeout });
public static Outbound Loopback(Uri address, TimeSpan timeout) =>
new(new HttpClient(new HttpClientHandler { UseCookies = false }) { BaseAddress = address, Timeout = timeout });
public static IDisposable RouteTo(HttpMessageHandler handler)
{
var before = Routed.Value;
Routed.Value = handler;
return new Restore(before);
}
public static async Task<DateTimeOffset?> CertificateNotAfterAsync(Uri site, CancellationToken cancellation)
{
DateTimeOffset? notAfter = null;
using var handler = new SocketsHttpHandler
{
SslOptions = new SslClientAuthenticationOptions
{
RemoteCertificateValidationCallback = (_, certificate, _, errors) =>
{
if (certificate is X509Certificate2 leaf)
{
notAfter = new DateTimeOffset(leaf.NotAfter.ToUniversalTime(), TimeSpan.Zero);
}
return errors == SslPolicyErrors.None;
},
},
};
using var client = new HttpClient(handler) { Timeout = TimeSpan.FromSeconds(10) };
try
{
using var response = await client.GetAsync(new Uri(site, "/healthz"), cancellation);
}
catch (Exception ex) when (ex is HttpRequestException or TaskCanceledException or OperationCanceledException)
{
}
return notAfter;
}
private sealed class Restore(HttpMessageHandler? before) : IDisposable
{
public void Dispose() => Routed.Value = before;
}
}
public sealed class Outbound(HttpClient client) : IDisposable
{
public static Outbound Over(HttpClient client) => new(client);
public Uri? BaseAddress => client.BaseAddress;
public Task<HttpResponseMessage> SendAsync(HttpRequestMessage request, CancellationToken cancellation = default) => client.SendAsync(request, cancellation);
public Task<HttpResponseMessage> SendAsync(HttpRequestMessage request, HttpCompletionOption completion, CancellationToken cancellation) => client.SendAsync(request, completion, cancellation);
public Task<HttpResponseMessage> GetAsync(Uri address, CancellationToken cancellation = default) => client.GetAsync(address, cancellation);
public Task<HttpResponseMessage> GetAsync(Uri address, HttpCompletionOption completion, CancellationToken cancellation) => client.GetAsync(address, completion, cancellation);
public Task<HttpResponseMessage> GetAsync(string address, CancellationToken cancellation = default) => client.GetAsync(address, cancellation);
public Task<HttpResponseMessage> PostAsync(string address, HttpContent content, CancellationToken cancellation = default) => client.PostAsync(address, content, cancellation);
public void Dispose() => client.Dispose();
}
Live from api/TheYard.Infrastructure/Shared/Http/OutboundHttp.cs, region outbound-http, read from this build at 99df7a8.
Addendum, 2026-10-20: the database cards read what they typed
From 1.0.3.195 the route asks one handler, ReadCloudCardHandler, over an ICloudCards port that CloudReader implements (ADR: The onion cut into vertical slices, rule 7). The Azure SQL Database card's last question names the tier the database's own record gives instead of saying Basic, its detail names the 30-day DTU 95th against the red line instead of the next tier's price, and the sessions sparkline, which was scaled to a typed ceiling of 300, became the workers share Azure reports as a percentage. The Cosmos DB card's RU dial and sparkline are read against the account's provisioned throughput, read each hour from the database's throughput record, where they were read against a typed thousand; its last row names the 30-day 95th against that figure and the free tier as the account record says it, and the price of 400 provisioned RU/s is gone. The second sparkline is the normalized RU share Azure reports, where it was latency against a typed 50 ms. One figure stays typed, with its reason on the constant: the free tier's 25 GB of storage, which no record Azure returns for the account states. Every card's threshold sentence and dashed line is written from the levels its tones use, and the sentence a card prints before its first minute names the recording site by its configured host.
Addendum, 2026-10-20: the registry and the edge
From 1.0.3.196 the Container Registry card's storage dial is read against the registry's own Size limit, which the hourly read now asks of the registry's listUsages, where it was read against a typed 10 GB; its last question names the tier the registry's record gives, and its detail names the 30-day storage 95th against that limit instead of Standard's price. The pulls dial keeps one typed figure, Basic's 1,000 reads a minute, with its reason on the constant: the usages name the size and the webhooks, not the read rate. The pulls sparkline is scaled to that same figure, where it was scaled to a separate 50. The Netlify edge card's header names the plan Netlify reports and says so when it is not read, its credits figure comes from the one constant the dial uses, and its threshold sentence and dashed line are written from the levels its tones use. CloudViewTests and CloudThresholdTests hold it.
Addendum, 2026-10-20: the insights and mail cards, and the names
From 1.0.3.197 the Application Insights card's cost row names the gigabytes past the free allowance and the month's figure from the bill, where it multiplied by a typed price a gigabyte; the allowance itself stays typed, with its reason on the constant, because no record the workspace returns states it. The Communication Services card reads its sends dial against the limit of the sender its domain record names, the Azure-managed one or a custom domain, where it always read against the first; both limits stay typed, with the reason on the constant, because no record the service returns states its sending limit, and the sparklines are scaled to the same limit a minute. Every resource the cards read is found by its type and a name from configuration (Azure:Resources in appsettings.json, Shared/Resources/AzureResources.cs), and LiteralScanTests fails the build on a name of this deployment written in the code. The resource group is App Service's own WEBSITE_RESOURCE_GROUP where the platform sets it. The edge card's link is the Netlify site record's own admin_url, and its retirement date is Edge:Retires in configuration. The SQL card no longer lists the server's paused sibling database: it was a second resource on a card about one, and nothing reads it.
Addendum, 2026-10-20 (1.0.4.0): the frame is the CardShell
CloudCard became CardShell (src/components/admin/CardShell/), the one component the CardShell record's slots describe (ADR: The onion cut into vertical slices). The frame's six parts are unchanged in kind; what the shell adds is a tone chip beside the title from the card's one tone, the spec's source as a chip, the line under each dial that names its marks, each sparkline in its dial's colour with its newest figure, the thresholds as chips where the "Normal:" sentence was, the chart's legend as chips, a source under every summary line and row, and a retry line that counts down from the tab's own tick. The live block above now shows the shell.
Addendum, 2026-10-20: the edge card scores what the edge is meant to keep
Until today the Netlify edge card's "What is cached?" row scored four addresses: /, /favicon.svg, /og.png and /api/version. The app told the edge to keep none of them (three said no-cache, and /favicon.svg is not served at all), so the share could not read above zero, and the misses tone (amber 50, red 80) turned a correct cache red. Steve read it on his phone at 16:06: "0 % of the sampled pages, warning".
From this change the hourly sample scores only addresses the app lets the edge keep: one hashed bundle file read from the built page at startup (NetlifyEdge.BundleFileOf; on a machine with no build it is skipped, and the card says so), /og.png, /api/facets and /api/docs/readme (ADR: Cache headers, the addendum of 20 October). Zero now means the edge is broken, and anything else is a real number. The page and /api are still asked once an hour, only to name the web app that answered each; neither is scored. The row's detail names the list the reader actually sampled and each address's Cache-Status, written by the reader into the hour's facts, never typed in the card. The tone stays on misses at the same levels, over the cacheable sample only. EdgeKeepsTests holds every sampled address to the edge's rule; CloudReadersTests holds the share and the per-address statuses.
The "Is it still needed?" row is unchanged; its date already comes from Edge:Retires.
Addendum, 2026-10-20 (1.0.4.2): the sample asks twice
1.0.4.1 rolled at 16:59 CDT and the card's first sample read 0 % in red, every address "Netlify Edge"; fwd=miss; fwd-status=200; stored. The sample ran as the new container started, after the deploy had purged the edge and before the warm-up reached the node the app is served from, so it measured the purge. Read from Missouri at 17:01 on both Yard names, the bundle file, /og.png, /api/facets, /api/docs/readme and a diagram were all hits on the second fetch, with /api/version and the resume still forwarded every time. From 1.0.4.2 the sample asks each address twice and scores the second answer, the way that verification reads it: the first ask fills a copy the edge does not have, the second reads whether it kept it. A deploy no longer turns the card red for an hour, and zero still means the edge keeps nothing. CloudReadersTests holds the share.
Addendum, 2026-10-20 (1.0.4.6): one sample for the dial and the detail
At 19:52 Steve read the edge card on his phone as RED, "0 % of 4 cacheable", while the row's own detail under it listed all four addresses as hit; read live at 19:53 on both Yard names, the newest sample was four hits and the kept minute behind the dial said 0. The dial and the tone read the kept minute, which carries the sample taken before it, an hour or more behind, and a roll in between leaves it older still; the detail read the newest hour's statuses. From 1.0.4.6 the dial, its tone, the row's answer and the readout read the share back from the newest hour's per-address statuses (NetlifyEdge.ShareOf), the same sample the detail prints, so the two can no longer disagree. The kept minute still feeds the sparkline and the chart. CloudThresholdTests holds a 0 minute under a four-hit sample reading 100 and green.
Addendum, 2026-10-20: a seventh card, The Nightly Function
From this change the section holds seven resource cards after the plan: the nightly Function, the one resource the site watches that lives outside its own resource group, joins as one more definition in ResourceCatalog.Cards, with a second ResourceDirectory over the Function's group, its own nightly container like every card, and a year-long run log beside it. A card can now name more than one line of the bill (ResourceCard.CostNames, filled into ResourceCardInputs.CostLines). The record of the card is its own (ADR: The Nightly Function on the Admin tab).
Addendum, 2026-10-21 (1.0.4.10): an hourly card reads with no keep
The recorder skipped a card whose keep was missing, minutes and hour alike. From 1.0.4.10 an hourly card's hour is still read once in its hour and held in the recorder's memory, and the reader draws the card from it until the keep exists; a minute card is skipped as before, and no card's minutes are read without a keep. The live-read line on every card now says why it has no minute ("not read yet: no minute kept yet", or the keep's own reason). The nightly card is the first to need it (ADR: The Nightly Function on the Admin tab, the addendum of 1.0.4.10).
Addendum, 2026-10-21 (1.0.4.12): one sample everywhere on the edge card
The 1.0.4.6 addendum left the sparkline and the chart on the kept minute, and the minute was one sample behind by construction: the recorder asked an hourly card for its minute before its hour, and the edge's minute carries the cache share the last hour sampled. Read live on both names on the morning of 21 October, the dial said 100 beside 75 on the sparkline and the chart's newest point. Of the two fixes on the table, the minute reading the newest hour's statuses or the recorder asking the hour first, this takes the second: it is one rule for every hourly source, so any minute that carries what its hour read is in step, and it needs no copy of the share's arithmetic in the edge's minute. From 1.0.4.12 CloudRecorder asks an hourly card for its hour, then its minute (a minute card still reads minutes first, and a failed hour still lets the minutes be kept); and the edge card draws the sparkline's newest value and the chart's newest point from the same newest-hour share the dial reads (EdgeCard.SameSample), so a minute kept before this version, or one kept in a transition, can no longer disagree with the dial on screen. Earlier points stay the kept minutes. CloudThresholdTests holds the dial, the sparkline and the chart equal under a minute that says 0 and a sample of four hits, and the recorder's order with an hourly card whose minute carries its hour's sample.
Addendum, 2026-10-21 (1.0.4.14): which rows lift a card
A row lifts its card's tone when it states a fault: a throttled request, a stopped app, a failed pull with its count, a capped hour, the edge past its retirement date. A row that states a fact a reader should know and nothing is wrong (a bill past the free allowance, no cap chosen, a planned or unplanned Azure event that changed nothing, days left before a date) reads info and leaves the card alone. A live read that is old is the frame's unread rule, not a warning line. And no line or row is given a source it did not name: each card's list says where each is read (ADR: The onion cut into vertical slices, the addendum of 1.0.4.14).
Addendum, 2026-10-21 (1.0.4.16): the registry's images, one row each
The registry card's "What does it hold?" table listed each repository with its tag count and nothing a reviewer could act on. From 1.0.4.16 it is one row an image: the image, what it is, which web app runs it and at which live tag, its tags and untagged manifests, its size with the untagged bytes beside it, and its newest push in Central time. What an image is comes from one typed map in the API (AcrCard.Descriptions, read against deploy.yml, deploy-render.yml and the two Dockerfiles), because no record states it; an image the map does not name shows "no description" and the row warns. Which web app runs an image is matched on the image name in each app's linuxFxVersion, never the app's name, and is read from the plan card's own newest hour, the one read of every app's configuration, so nothing asks Azure a second time; an app on another registry is not counted. The sizes and the newest push are the registry's own manifest list (AcrCatalog.Image). When the API's image and the renderer's run different live tags the row warns and names both, because deploy-render.yml can land after deploy.yml and the pages are drawn in the browser until they match. Two columns were considered and left out: pulls per image, because the registry's pull metrics are not read here split by repository and an estimate is not a reading; and the commit beside the live tag, because no source the card reads names it. CloudViewTests holds the six cases and the sums from a recorded manifest list.
The review of 1.0.4.11 to 1.0.4.18 read three treatments of one fact, the site's identity holding no role that reads something: the Insights card's dropped row turned the card amber for it, the registry and nightly cards said it as information. And the registry card's image table turned amber for an image with no line in AcrCard.Descriptions, which is a to-do for the developer, not a fault in Azure.
From 1.0.4.23 the rule is one: information never lifts a card. The Insights dropped row is info when the workspace refuses the query; the registry's "no description" is info, said in the row's detail with where a description goes, and only the two images of one build running different tags stays a warning. The mail card's "What did Azure do to it?" row takes its tone from PlanThresholds.EventsTone like the SQL and plan cards, so an unplanned event alarms there too. A tier the Communication Services record does not state leaves the spec line (it read "TIER NOT READ UNITEDSTATES") and is said on the readout's Tier line, "tier not stated by the record". The registry's table, the hourly catalogue, says its own age in the row's detail beside the per-minute Live read. Two notes from the same review: CloudRecorder's log line names which read failed, the minute's or the hour's (CloudRecorder.PartOf), and CloudReader asks an unkept card's source live at most once a minute past its 61 minutes (CloudReader.Due), where it re-read the whole source on every 30 second poll. CloudThresholdTests holds the tones, the Tier line, the part and the minute; CloudViewTests.Registry holds the information tone, the catalogue's age and the Central hour on both sides of each daylight-saving change, by the hour itself.
Addendum, 2026-10-21 (1.0.4.24): eight cards, nine containers
The record counts seven resources and seven containers. Since the Nightly Function's card (ADR: The Nightly Function on the Admin tab) there are eight cards, and the nightly card's run log and firings make nine containers beside the plan's. The section's drawing, docs/images/cloud-infrastructure.svg, still draws the seven; its caption on the Diagrams page says so until it is redrawn.
Addendum, 2026-10-22 (1.0.4.25): every card calculates a status, and a card judges the site's own traffic
The count of the addendum of 1.0.4.24 stopped being true here: the nightly card's minutes and runs never got containers of their own and now live in the plan container (ADR: The Nightly Function on the Admin tab, the addendum of 1.0.4.25), so eight cards keep seven card containers beside the plan's, which the nightly card shares.
The owner's rule, 22 October 04:18 CDT: "All infrastructure cards should calculate a status." Three cards under Cloud infrastructure drew no dot on the rail: Azure's view of the container, What the machines are doing and Memory against traffic, because they draw their own bodies and the rail glanced only the plan and the seven cards in the shared frame. From 1.0.4.25 the rail glances all eleven. The list is GLANCED in src/lib/railGlances.ts; the three that draw their own body are judged there from the same ranges their pills are painted with (ranges.ts): Azure's view by the site's state, the certificate's days and the SQL store's share of its tier; the machines by the container's newest memory against its limit and the SQL store's own memory; memory against traffic by the server's own verdict. railGlances.test.ts holds GLANCED equal to the rail's Cloud infrastructure section, so a twelfth card cannot ship without a status.
A row that is not read now never colours a card. CardFrame.Complete skips any row whose answer starts "not read" when it takes the card's tone, so a question Azure would not answer says so with its reason and the card stays the colour of what was read (CardFrameTests.A_line_that_is_not_read_says_so_and_never_colours_the_card). A dial keeps its tone: a dial whose newest minute is missing still holds the tone its sustained minutes earned, which is a reading, not a gap.
The Cosmos DB card read amber at 0 % on the rail. Read live on 22 October at 04:40 CDT on both names: RU/s 4 of 1,000, storage 2.29 of 25 GB, every dial green, and the throttling row "941 throttled", warning, which lifted the card (the 1.0.4.14 addendum's rule, which rows lift a card). Azure Monitor split by container the same morning, over a window a few minutes later, counted 943: 825 on the live tests' copies (tests-logs 283, tests-activity 138, tests-users 108, tests-vehicles 106, tests-bids 103, tests-photos 74, tests-resets 11, tests-machines 2), which share the database's thousand RU/s with the site, and 118 on the site's own containers, of about 140,000 requests to them; the busiest were activity (31) and logs (30), in the hours the gate's suites ran. The card was charging the gate's tests to the site, and calling any 429 at all a warning.
From 1.0.4.25 the card reads two more series, the requests and the throttles of CollectionName sw 'tests-', and judges the site by the difference: the throttling row turns amber when the site's own throttles reach 1 % of its own requests, or when there are throttles and no requests read to weigh them against (CosmosCard.ThrottledAmberShare; Azure's guidance reads 1 to 5 % of requests answered 429 and retried by the SDK as healthy), says the share, and names the tests' throttles on a line of their own. Azure Monitor's answer to a dimension filter is one series a value, so PlanShapes.Series now adds the series of a count or a total, and a filtered request asks for up to a hundred series. The same day's counts give 118 throttled, 0.08 % of the site's requests: the row is green and the card is green. "Requests, hour" on the readout is the site's own too.
What is not changed: the live tests still share the production database's throughput, and their bursts are when the site's own 118 happened. Moving the tests' copies to a database of their own costs 400 RU/s outside the free tier, which this addendum does not spend.
Addendum, 2026-10-24 (1.0.4.52): the job-hunt share and the blob service
Two more cards in the frame, after Application Insights in the rail, both over the job hunt's storage account (stjobhuntss in RG-JOBHUNT-SS, named by the nightly settings), from the approved mockups J:\mockups\TheYard-Storage-. They are definitions in ResourceCatalog like every card here, read by the one recorder and served by the one route, GET /api/admin/cloud/{share|blob} through ReadCloudCardHandler; their minutes are kept in the plan container under kinds of their own (share-, blob-*), because the shared database is at its twenty-five containers. The hourly reads are StorageSource's: the share's record with its usage, the alert rule's own threshold, the transactions by ApiName and by authentication, thirty days of transactions by hour, the account's days on the bill, the containers and the blob listing (StorageReadings.cs). Every request goes through the host's outbound client; nothing here opens a socket of its own.
The share card. Dial one is the transactions of the last sixty minutes against the alert's line, read from alert-jobhunt-share-transactions and never typed: amber at half, red at the line, which is the same line that emails. Dial two is the bytes used of the quota, amber 80 %, red 90 %. Between them, listings, reads and writes for sixty minutes. The chart is transactions a day for thirty days against the line times 24. Who is reading it: the table by API for the last hour and yesterday; who, by name, needs the share's diagnostic log, and the row says so while it is off. What does it cost: today, yesterday, the month and the last seven days of the account's line. Is anything walking it: listings this hour against the 5th percentile of the last seven days' hours, a walker being four times that and over a thousand. What is on it: Azure's file count and bytes. The readout names who mounts it and who reads it on a timer from the authentication split (the laptop by SAS, the Function by the account key).
The blob card. Dial one is the blog's pictures against a line that is not a quota (Admin:BlobPicturesAmberBytes, 1 GB; red at Admin:BlobPicturesRedBytes, 1.8 GB). Dial two, the share of picture reads the host answers from memory, reads "not read" until the blog's pictures lane builds that cache. The chart is blob reads a day against Admin:BlobDailyReadLine, 24,000. The card is red at that line, or when the account or any container allows public access. The containers table prints each container's purpose metadata tag.
What the mockups showed and the cards do not, said on the card where it applies: the largest folders of the share (a daily census means a listing of every folder, which is the bill this record's lane just stopped; not built), the walkers file on J: (the site does not read J:), the cache's hits (not built yet), an Azure alert on blob reads (the line is the card's own), and the cost split by meter (the bill this site keeps has one line an account). The rail lists fourteen rows from BENCH_CARDS, which railGlances and the workbench tests count from; the drawing, docs/images/cloud-infrastructure.svg, draws eleven cards and CloudDrawingTests holds it to CLOUD_RESOURCES. The site's identity holds Storage Blob Data Reader on the account for the listing (granted 24 October inside the 10/22 grant).
Addendum, 2026-10-24 (1.0.4.54): a description slot and a processes slot
The frame gains two slots, description (a paragraph and its source) and processes (a list of sections, each with its switches, its summary and schedule, four figures each with a source, a strip of thirty Central days and its run history). Only the nightly Function's card fills them: the reader puts them onto that card after the frame has built it (NightlyProcesses, kept two minutes so both names' polls cost one workspace read), and every other card answers them empty, so the shell draws nothing for them and no other card changed. The section's columns follow the card's own width, not the window's, because beside the rail and the readout a laptop leaves the card a phone's width.
Addendum, 2026-10-25 (1.0.4.63): the email campaign's card
The rail's Cloud infrastructure section gains its fifteenth row, campaign, for the email campaign (ADR: The campaign sends, the model writes rows). It is drawn in this frame like every other card: the sends of the day against the cap of ten (would-sends while the switch is shadow) and the 30-day reply rate on the dials; sends, bounces and replies for sixty minutes; emails a day for thirty days against the cap, the days that drew replies marked; four questions (is it sending, are the leads flowing, is anyone answering with the Sunday table of the last four weeks by template, weekday, track and proof key, and is it costing anything); and a readout of the switch, the cap, the next 8 AM Central, the database, the finder and the last bounce.
What it reads is the campaign database's card schema, counts only, over the site's own server connection with the catalog changed and the site's own identity, which holds a database user that may select from that schema and from nothing else. So the card cannot show a name, a company, an address, a subject or a link code even by mistake, and CampaignCardTests holds the wire free of them. The switch is the Function's health route's word for EMAIL_CAMPAIGN, the same read the nightly card makes. The card is red at two bounces in a Central day (the campaign is then held in shadow) and when the switch is on, it is past 9 AM Central, nothing has been sent and leads with an address are ready. Every count names the day it counts from, the first email written. The drawing gains the card and its keep, campaign-* in the plan container.
Addendum, 2026-10-25 (1.0.4.81): an hour kept before the bill was read
The share and blob cards keep their cost row with the hour, read from the bill the site holds in memory. The bill is read a minute after the site starts, and Cost Management can answer that read with a request to wait an hour; an hour kept in that minute read an empty bill and wrote it down as days that cost nothing. Read live at 12:47 CDT on 25 October, twenty minutes after 1.0.4.69 rolled: the share card said "$0.00 today so far, yesterday $0.00, this month $0.00", while the account's own line of the bill was $45.01 over thirty days and the cost card said Cost Management had asked the site to slow down. From 1.0.4.81 an hour kept from a bill with no day for any resource says the cost is not read yet and why, on both cards; a bill that was read and has no line for the account still says not on the bill yet. StorageCardTests holds it: red on the prior CostFacts, which wrote 0.00.
Addendum, 2026-10-25 (1.0.4.84): the Insights cap read against what it caps
The Application Insights card read the day's ingestion from the workspace's Usage table, every app that sends to the workspace, and set it against the cap, which is the workspace's daily quota or, when the workspace sets none, the component's own. Read live at 14:2x CDT on 25 October: the workspace sets no quota, the component's cap is 0.1 GB, and the card read "173 %, 0.173 of 0.1 GB cap", red on the rail, while its own rows said no hour hit the cap and the month stood at 2.70 GB of the free 5 GB. Three apps' ingestion was being read against one component's cap. From 1.0.4.84 a component's cap is read against what that component alone sent today, the billed size of its own rows (_ResourceId), and the workspace's total stands beside it as a line of its own; a workspace's quota is still read against everything the workspace took. InsightsCapTests: red on the prior card, which read the component's cap against the workspace's total.
Addendum, 2026-10-25 (1.0.4.85): the blob read line counts the reads it is for
The blob card's red line, 24,000 reads a day, was drawn for the blog's pictures, and it counted every GetBlob on the account. Read live at 14:2x CDT on 25 October the card stood red at "today 32,637" while its own row said the host serves no picture yet; Azure Monitor, split by authentication over the day before (J:\staging\sunday1025\blob-reads.txt), gave every GetBlob to the account key, which is the Functions host's own connection for its timers' state, its leases and its package, and none to the site's identity. From 1.0.4.85 the reads the line counts are GetBlob by anything but the account key, a filter Azure Monitor was shown to accept before it shipped, and the readout says the host's own reads are left out. StorageCardTests holds the filter and the words.
Addendum, 2026-10-25 (1.0.4.87): a read that times out is a gap, not a 500
A card's route reads its resource live when the newest kept reading is stale, and a live read that fails was meant to be the recorder's gap: the card answers from what is kept and its live-read line says how old that is. The catch let every OperationCanceledException through so that a request the visitor abandoned would stop, and an HttpClient that gives up on Azure Monitor throws TaskCanceledException, which is one. On 25 October at 11:47 CDT the incidents card (1.0.4.80, read at 19:41) showed 58 TaskCanceledException and a SocketException in AzureMetrics on the one web app, the last of them at 11:47:37, and one 500 from GET /api/admin/cloud/{key} at 11:47:16. The same filter in the recorder let an hourly card's timed-out hour stop its minutes from being kept, against the comment beside it. From 1.0.4.87 both catch everything but the request's own cancellation. CloudTimeoutTests: red on the prior reader and recorder, a timed-out read throwing out of the route and an hour's timeout costing the minutes.
Addendum, 2026-10-26 (1.0.4.94): the rail says what the cards know
Read live on 25 October at Steve's question "see if these are really red", four rail figures said more than their cards knew, and the share card added two windows together. Nothing here changes a threshold that emails anyone, and no setting moves.
- The share's walking row judged the hour against the quietest hour of the week, which is 0 every night, so any busy hour over a thousand listings read as a walker while the laptop's queue runner was shipping. It now reads the hour against the week's median busy hour (the median of the hours that listed anything) and against money: amber over 7,000 listings an hour, where listings alone add about a quarter of a dollar a day at the tier's list price, and red at the alert's own line, 20,000 transactions an hour. The row names the split by caller inside it, the mounts and chats by SAS and the Function by the account key.
- The share's split by caller summed two clock hours, the one before and the one under way, so it read more than twice the dial. It now reads the clock hour under way only, and says since when.
- The share's month reads the storage account's own line on the bill. A bill read that holds no line under the account's name says so, and never prints $0.00 for it.
- Claude usage's rail printed today against the week's average as a percentage, so a normal busy day read "118 %" in green beside a rail where every other figure over 100 is a limit crossed. The dial's figure is now a ratio ("1.2x the week"); its thresholds are the same. The "Plan week used" dial, which only ever said "not read", is not a reading; every card draws two dials (this record's frame, held by the e2e cloud.spec), so its place is taken by today's run count until the plan endpoint is read. The plan row still says it is not read. The first gate run of this version (40338025344) dropped the dial outright and the browser suite held the frame to two: that is why the count is there.
- The campaign's rail printed a bare 0. Its dial's figure is now "0 of 10", the day's emails against the cap.
- The blob card's second dial was a placeholder ("Served from memory: not read") for a cache that does not exist yet. It now reads the month's egress against the free 100 GB, which the readout already held; the cache dial comes back with the cache.
- The Application Insights card names its own share of the cap. After 1.0.4.84 reads the site's own ingestion, the site sends about 0.085 GB a day against its 0.1 GB daily cap, so the card stays amber and a deploy-heavy day caps. The row says so and names the two ways out, a higher cap or less telemetry from the Function; the cap is Steve's to change and is not changed here.
Addendum, 2026-10-26 (1.0.4.95): the Cosmos DB card's throttling is the site's, and the first screen was its burst
Steve read the Cosmos DB card amber on 26 October at 06:37 CDT: 6,706 throttled, 2.68 % of the site's requests. The 1.0.4.25 addendum's rule stands, and this version does not move its line: read in Azure Monitor at 07:52 CDT, split by container and operation over a day, the 429s fell on reads a visitor waits for (Query 5,658 and Read 1,070 of 8,053; the Admin tab's cards reading their kept minutes, the Activity card, the catalogue's photos at 8.17 % of their reads, the vehicles and the catalogue), in the hours someone was on the site, while the recorders' own writes took 756. The card counted what it said it counted. What took the database's one partition to 100 % normalized, in 202 of the last 360 minutes, was a burst: the first screen's reading rebuilt every fifteen seconds, and each rebuild ran a grouped query over a whole day of the machines container, about 450 request units in one read, nearly half of a second's thousand. From this version the first screen folds its day from a ten-minute tail and reads it whole only every thirty minutes (PulseDay), so the day it answers is the same and the read costs a few request units. PulseDayTests holds the tail, the fold against a whole read, and the whole read again after the interval. The reading the card took before this version was right; what stopped being true is the query that made it amber.
Addendum, 2026-10-26 (1.0.4.97): each series carries its own lines, each point its peak
Until this version a card's chart carried one red line for the whole chart, the first dial's, so the plan's chart drew CPU's red 80 % across memory too, whose red is 85, and memory's amber 70 nowhere. And a chart of seven or thirty days carried each bucket's average only, so a minute that touched a line was averaged away. From this version the wire says which line is whose: each series carries its own amber and red, the levels its own dial or row turns at (the plan's CPU 60 and 80, memory 70 and 85; each resource card's two dials' levels; the share's transactions and quota; the campaign's and the mail's caps; the nightly grant), and each point carries its bucket's peak beside its average. A bucket's tally, the Cosmos DB card's throttled requests and the campaign's replies, is a mark of its own kind, count, where it was an event like an Azure restart. And an Activity Log entry is an event only when it is a restart or maintenance; any other, a configuration write above all, is a change (CloudMarks.KindOf). Read live on 26 October, the plan's seven days held 228 full-height red marks, 221 of them "UpdateWebSite ... by Azure": each roll writes both web apps' configuration, and the finished entry in the Activity Log names no caller, so the card called every roll's write Azure's own doing. The chart's one red line stays on the wire, unchanged, for a client that has not read the series' own. No reading, threshold or mark is added or taken away. CloudChartLinesTests and PlanViewTests.Each_series_carries_its_own_lines_and_each_point_its_buckets_peak hold it; CloudThresholdTests holds the 429s as counted marks.
Addendum, 2026-10-26 (1.0.4.98): how a card draws time
Steve read the plan card's seven-day chart on 26 October at 06:41 CDT: twenty-odd rolls on 25 and 26 October had each drawn a full-height gold line and a shaded band, and at seven days they buried the two lines that are the reading. He approved the canvas "Admin card chart redesign" at 06:57 CDT, and from this version every card in the frame draws as it does:
- The dials take the card's full width, two side by side when the card is wide and one above the other at a phone's width, by the card's own width, not the window's. Each is an open ring of three quarters with its name above it, its sixty minutes under it, and one quiet line on how its colour is held. Each threshold is named on the dial itself, by a leader line from its tick to its words outside the ring ("amber 60 %", "red 80 %", "p95 18 %"); the row of threshold chips under the dials is gone. The thirty-day peak stays a red dot on the ring.
- One threshold, one line. A chart whose series carry their own lines (the addendum above) is one panel a series, stacked on one time axis, each with its own amber and red line labelled in the margin, its name over it and its newest reading at its right ("now 6 %"). A chart whose series carry none, Claude usage's lanes, stays one panel against the chart's line.
- The lines are the darkest thing on the chart, drawn after every mark and heavier than them; the frame and the day lines are pale.
- Rolls on the wider windows. At seven and thirty days a roll is a counted tick on the time axis, rolls within an hour of each other one tick with their count, and the roll's shading is drawn only at an hour and a day, where each roll stays a full-height gold line. A restart or maintenance stays a full-height red line at every window, because it is rare and it matters. An app's settings written (a
change) is a grey counted tick, and a bucket's tally (throttled requests, a day's replies) a red one, on the axis at every window.
- The time axis names every day at a day and a week, under the middle of the part of it the window shows, Mondays and Fridays at thirty days, and ends in a "now" mark. A narrow axis joins ticks that would touch and drops a day name that would run into the next, the newest kept.
- Wider windows plot the bucket. At seven days each hour's average, at thirty each four hours', with the bucket's peak as a pale band behind the line, so a spike still reads. Thirty days stays at four-hour buckets rather than hours: an hourly month is four times the grouped query on the shared Cosmos DB throughput that the Cosmos card is reading the throttling of, and the peak band already keeps the spike.
- The legend says only what the chart does not: the key to the ticks and to Azure's lines, and the server's words that are not a series' colour or a line now labelled on the chart.
Nothing the chart says changes: the same readings, thresholds, rolls and events are drawn, read from the same wire. The pictures before and after, side by side, are in the lane's DONE note (J:\mentor\RAIL1026-DONE-2026-10-26.md). cloudChart.test.ts and cloudGauge.test.ts hold the rules; cloud.spec.ts holds the labels on the dial and the "now" on the axis.
Addendum, 2026-10-26 (1.0.4.100): a name longer than the line wraps in its card
The final console read on 26 October (J:\staging\sunday1025\console\console-read.json, 14:17 CDT) found two pages that scrolled sideways on both names, neither of which did on 25 October. The campaign card at 1280 wide: its readout's line "The database" names its source, functions/JobHunt.Database/JobHunt.Database.sqlproj, one word of 250 pixels that cannot break, so the readout took 322 pixels of a column that holds 260 and pushed the page 55 pixels. The Foreman at 375 wide: its cause named the newest failure by its full type, Microsoft.Azure.WebJobs.Script.Workers.Rpc.RpcException, and pushed the page 36 pixels.
From this version a readout's label breaks a word that does not fit, a file path included, as its stylesheet already said it would, and a sentence on any Admin card breaks a name longer than its line rather than widen the card. Nothing a card says changes; a long name reads on two lines. cloud.spec.ts puts a long name into the campaign card's readout at 1280 and into the Foreman's cause at 375 and holds that the page does not scroll sideways.
Addendum, 2026-10-27 (1.0.4.109): below the dials, every block takes the card's full width
The frame was two columns: the whole card on the left and the readout on the right, so the chart, the nightly card's process sections and the four questions sat under the dials in a column 260 pixels narrower than the card, beside a readout that ended long before they did. Steve read it on 27 October: "these charts and everything else are 100% width that are below the dials on these sections", and approved the layout the canvas "Cloud card full-width layout" draws. From this version "side by side" is no longer the rule for the card and its readout. The readout sits inside the card beside its lead block, which is the header, the resource line, the description, the note, the dials and the sparks; and everything below the dials, the chart with its window tabs, the processes and the rows, spans the card's full width. The card's grid is "lead readout" / "rest rest", the readout's column minmax(220px, 260px) as before, and the outer frame is no longer a grid: it keeps the card's name and tone for the page and nothing more. The lead block is the container the dials measure, so two dials still sit side by side by the lead's own width, which is the width the whole card was before. Under a desk's width the three stack in today's order: the lead, the full-width blocks, the readout. The readout keeps its own glass inside the card's: the operator's look reads every box for the brackets and the rule, and an aside without them would fail that read. The blank space beside the dials, where the readout is shorter than the lead, is accepted for now; Steve: "a little unused blank space is okay for now, we'll correct that".
Nothing a card says changes: the same slots, the same test ids, the same wire. The nightly card's process sections, which measure their own width, go four across once they have it. cloud.spec.ts holds the shape at a desk's width on the plan card and on every resource card (the chart at least as wide as the lead and the readout together, the readout beside the left dial and above the rows) and one column with no sideways scroll at a phone's; it was red on the prior shell, where the chart measured 374 pixels against 652 for the lead and the readout together. The pictures before and after, side by side, are in the lane's DONE note (J:\mentor\CLOUD1027-DONE-2026-10-27.md).
Addendum, 2026-10-28 (1.0.4.113): the section is held end to end, and there are eleven cards, not eight
This record and the four doc comments that name the cards had fallen behind the catalogue. ResourceCatalog.Cards builds eleven cards after the plan (sqldb, cosmosdb, registry, insights, share, blob, mail, edge, nightly, claude, campaign), where ICloudCards.Knows, ResourceCard.Key and the route's own summary each named seven and Cloud/Module.cs counted eight. The count of the addendum of 1.0.4.24 (eight cards, nine containers) and the one above it stopped being true when the share, blob, claude and campaign cards were added; the lane's brief counted thirteen, which was never right either, and the miscount is written down here because two sessions read it before the catalogue was read.
From this version no doc comment keeps that list by hand. DocsSayWhatRunsTests.Every_doc_that_lists_the_cloud_cards_reads_its_keys_and_its_count_off_the_catalogue reads the catalogue the host built and holds all four places to it, keys and order and the count spelled out, so a twelfth card is red until every place that names the cards names it. Two more tests read the same catalogue instead of a list of their own: the route test over every key the catalogue names, with the unknown-window case on each of them and a bare 404 for a key no card has, and the slots test over every card the catalogue names, which had skipped share, blob and campaign. Both passed on the prior tree once they read the catalogue, so they close a hole in the coverage rather than a defect on the site: the three skipped cards were already answering every slot with a source on every line. That is written down because it is the opposite of what the lane's map predicted.
The readers are held too. Until this version StorageSource was constructed by no test at all, so the share and blob cards' hourly reads, which build every fact those two cards draw, ran first on the live site; ClaudeSource.HourAsync was never called; and CloudReadersTests built a catalogue of six cards, leaving share, blob, nightly, claude and campaign out of the one place that holds a reader to a recorded answer. From this version that catalogue is the whole eleven, over recorded answers for the job hunt's own resource group (the storage account and its share with stats, the share's metric alert rule, its diagnostic settings, the blob service's containers and lifecycle policy, the Function app and its plan), the workflow's runs as GitHub answers them, the Function's health route, and the blob service's own listing XML. Each of the five reads a recorded answer and makes a fact of it: the share's 100 GB quota and the alert's line of 20,000, the blob service's 410 KB in two blobs, the Function's Flex Consumption plan and run #22, the Claude card's four runs and 102,220 tokens out, and the campaign's nine of ten written. A reader change that breaks one of those cards is now red here and not on the site.
One thing read while holding them, not changed here: CloudReader.ReadAsync throws "Sequence contains no matching element" for a key no card has. The route never reaches it, because ReadCloudCardHandler asks Knows first and answers 404, and the route test above holds that; the reader is left as it is and the fact is recorded so the next lane sees it.
Addendum, 2026-11-05 (1.0.4.138): the cadence is on the wire
Until this version the page could not tell a card read every minute from one read every hour. The edge and Application Insights cards read about fifty minutes old by design (both are hourly in ResourceCatalog.Cards, and CloudRecorder asks an hourly source once in its hour), beside cards a minute old, and nothing on either card said that was expected. The rule that judges the age was already in Domain: CardTones.Of turns a card unread when its newest reading is older than three of its reads (CardTones.ReadsBeforeUnread), with a read of 60 seconds or 3,600 from the catalogue's Hourly flag.
From this version every card's report carries that cadence and that line: cadence_seconds (60 or 3,600) and unread_after_seconds (three of them, 180 or 10,800), filled by CardFrame.Complete from the same number the tone rule reads, so they are written once and never computed twice; the plan's route fills them the same way (60 and 180). No rule changes and no new state is added: a second rule at twice the cadence would have flickered every minute card, whose newest kept minute reads about 100 seconds old by Azure Monitor's own lag. The page draws one quiet line under the dials from the two fields ("read every minute, unread after 3 min", or "read every hour, unread after 3 h"), the words from cadenceLine in src/lib/cloud.ts; both fields are optional there, so a body from before this version draws no line rather than a wrong one.
CardFrameTests holds both fields on the plan and on every card the host's catalogue builds, against each card's own Hourly flag, and holds CardFrame.Complete to the tone it judges with the same cadence; cloud.test.ts holds the words; cloud.spec.ts holds the line on every card in the one-frame loop. scripts/admin_probe.py reads every Admin card route on both names, one JSON line a read with the cadence and unread fields beside the tone, and prints per route the cold and warm 50th, 95th and slowest reads; it is the soak's reader where the workspace query is not available.
Addendum, 2026-11-05 (1.0.4.139): a row says the number its tone judged, and the share names every caller
Two things a card said did not match what it judged. The share card's hour keeps transactions split by authentication, and its readout printed two of the values: on 5 November at 14:50 UTC it read "by SAS: 0" and "by the account key: 69" beside 17,275 transactions in the hour, so about 17,000 an hour carried a name the card never printed. And four rows printed a count beside a tone that judged a different number: the Cosmos DB throttling row read "1,225 throttled" in good tone, judged on the share of the site's own requests; the registry's pull row printed every pull beside a warning raised by the failed ones; and the campaign's sending row printed the day's sent count beside a red raised by bounces or by a morning with nothing sent.
From this version the share's readout has a line "Every caller this hour" listing every value the split returned with its count, the biggest first, the known ones named for their caller (the account key for the job hunt's Function, SAS for the laptop's mount and the chats) and any other by the name Azure gives it, and the walking row's split says the same. The throttling row answers with the share it is judged on and then the count ("0.08 % of the site's requests (118 of 140,000)"), or with the count and the words "no requests read to weigh them against" when there are none; the pull row answers "2 of 10 pulls failed" when any failed; the sending row's red answer names its cause ("2 bounces today, 4 sent", "none sent by 9 AM, 4 ready"). No line moves and no tone changes. StorageCardTests, CloudThresholdTests, CardFrameTests and CampaignCardTests hold the words with hand-built inputs.
One measurement read while making the change, not a change to a card: the baseline's warm 95th on the nightly card read 4.7 seconds, and it was not a slow cached read. CloudReader keeps each card's view a minute, and the probe's second read sometimes landed just past that minute, on the rebuild. Read every six seconds for three minutes on 5 November, the nightly card's 26 cached reads ran 0.31 seconds at the median and 0.35 at the 95th, and its four rebuilt views 3.3 seconds each, one a minute. scripts/admin_probe.py now marks a read whose view was built for it (its as_of_ms inside the read's own seconds) and prints the cached and the rebuilt reads apart.
Addendum, 2026-11-05 (1.0.4.140): the card contract, and the share's last full hour
From this version CardContractTests walks every card the host's catalogue builds and holds the frame's contract on each: drawn from nothing read, every row and line names a source and nothing unread colours the card; fifteen quiet minutes of every reading raise no dial (a dial whose line runs downward, sampling kept, reads alarm at zero); the cadence on the wire is the card's own catalogue flag; three reads old is still judged and one second more is unread; a warning row outranks an old reading. SqlCardTests, EdgeCardTests and ContainerSamplerTests hold the three cards and the sampler that had no class of their own, and StorageCardTests holds the share's and the blob's lines each side.
One change to what a card says. The share's split by authentication is part of its hourly read, taken once in the hour, while "Transactions this hour" sums the minutes kept through it, so the line "Every caller this hour" can read short of the dial beside it: at 17:46 UTC on 5 November it named 2,766 of 6,006. The readout gains "Every caller, the last full hour": the last whole clock hour's split, each value with its count, and that same hour's own total from the hourly series ("..., of 12,200 from 14:00 to 15:00 UTC"), so the callers and the total are read over one window. StorageCardTests holds it with hand-built inputs; StorageSource keeps the window as two facts beside the hour under way.
Addendum, 2026-11-07 (1.0.4.156): a card may ask more than four questions
The frame's four rows are its minimum, not its count. The box that supports the job hunt (ADR: The box reports itself) has seven resources a person would ask about, each core, the memory and swap, the network, the disks and the array, the GPUs, the temperatures and the services, and an eighth row, whether the box is reporting at all, which carries its red rule so the card's tone and its rail dot can turn red at three minutes of silence. Each row keeps the frame's shape: a question, an answer, a tone, a source and a table.
Addendum, 2026-11-07 (1.0.4.157): a card may hand the frame a live block
From this version CardShell takes one optional slot, a card's own live block, drawn across the card between the lead block and the chart; only the box's card hands one, its four live panels (ADR: The box reports itself, the addendum on the live panels).
Addendum, 2026-11-07 (1.0.4.158): the picker's card
The nightly picker's card (ADR-125, the addendum on the picker's card) is the fourteenth under Cloud infrastructure, in the same frame with four rows, read once an hour like the edge's and Application Insights'.
Addendum, 2026-11-07 (1.0.4.159): every card has a live line
From this version every card hands the frame a live line under its dials (ADR: Live dials where the source allows): the source's reading at its own grain while the card is open, or one sentence saying the card has no live source. The tones are unchanged: they still come from the kept minutes and the fifteen-minute hold.
Addendum, 2026-11-09 (1.0.4.164): the request never waits on Azure for a view already built
The Admin soak's early read on 7 November, at 21:33 Central, split every Cloud card's reads in two: the ones its one-minute cache answered, at 0.3 s or under, and the ones it rebuilt, at 2 to 15 s, because a lapsed cache made the request build the view itself, the live read first when the kept minute was stale, then the month, the bill and, for the nightly card, the Function's workspace. Application Insights put the cards' p95 at 1.5 to 8.3 s over the same hours. Nothing was failing; the request was simply doing the reader's work.
From this version CloudReader keeps the view it built and answers with it while it is under two minutes old, the line under the three minutes after which a minute card reads unread. Past one minute the request still answers at once and a new view is built behind it, one build a window at a time, under two minutes and the host's stopping; a build that fails keeps the view that answered. CloudKeeper, a hosted service, builds again once a minute every window somebody asked for in the last hour, so the next request, the page's or the soak's, finds a view already built. A window nobody asks for drops out after the hour, so nothing is read for a page nobody opens. Only the first read of a window after a start, with nothing built yet, waits for its build.
CloudKeepingTests hold it with the build parked on a gate the test opens: a view a minute old answers before the gate opens and its next lands after; a view at two minutes is not served; the keeper builds a window asked for this hour and drops one asked for over an hour ago; the hosted keeper builds without a request.
Addendum, 2026-11-09 (1.0.4.167): the edge stays
Edge:Retires was required configuration, set to 30 October, the date the registrar transfer was meant to move the domain off the Netlify edge and straight to Azure. On 5 November at 09:30 Central the owner called the transfer off because of what Front Door would cost, and since 30 October the edge card's "Is it still needed?" row had read "past its date; retire it" as a warning about a decision already made the other way. A warning that is right to ignore teaches the reader to ignore the row.
From this version Edge:Retires is optional and appsettings.json sets none. With no date the row reads "the edge stays" as information, its detail says the transfer is off and why, and the readout's Retires line reads "not set, the edge stays". A date set again brings back the count of days and, past it, the warning, unchanged. EdgeCardTests hold the row and the readout with no date, and AzureResources.From with and without the setting.
Addendum, 2026-11-11 (1.0.5.24): the plan, the Azure card and the runs route keep their views the same way
What stopped being true: the addendum of 1.0.4.164 says CloudReader keeps its views and CloudKeeper builds them again. CloudKeeper is gone, and the keeping is no longer the Cloud cards' alone. A 48-hour probe of the Admin routes found the three routes beside the Cloud cards still building their view on the request: /api/admin/plan was never answered from a view already built, every one of about 280 reads built it, at a p50 of 2.9 s, a p95 of 7.9 to 13.7 s and a worst of 28 s, with three 504s and one 500; /api/admin/azure read a cold p95 of 4.3 to 4.5 s; and the runs route under /api/admin/cloud/nightly/runs/ read a p95 of 1.7 s in Application Insights. Each had a cache of its own, a minute for the plan and the Azure card and two minutes for a runs page, and each lapsed cache made the request do the reader's work.
From this version the mechanism is one type, KeptViews in Shared/Hosted, and the rule is the 1.0.4.164 rule unchanged: a view under two minutes old answers at once, past one minute the next is built behind the request, one build a slot at a time, under two minutes and the host's stopping, and a build that fails keeps the view that answered. CloudReader keeps its windows in one; PlanHistoryReader keeps the plan's windows in another; AzureSelf keeps the Azure card's one view, and a read Azure refuses is answered as available false and never kept; GuardedProcessRuns keeps each runs page by its process, window and page, and keeps only a page that was read. ViewKeeper, one hosted service, builds again once a minute every slot each of the four was asked for in the last hour and drops the rest, view and all. Only the first read of a slot after a start, with nothing built yet, waits for its build.
The runs route's thirty fresh reads a minute (ADR-109, the addendum on the six processes) now count every fresh read, the request's, the one behind it and the keeper's, so the keeper cannot spend the workspace's allowance either; a keeper's read refused for the minute keeps the page it has.
AdminKeepingTests hold the three the way CloudKeepingTests hold the cards, with each build after the first parked on a gate the test opens: a view a minute old answers before the gate opens, a second read in the same minute starts no second build, and the next view lands after; the keeper builds what was asked for this hour and drops what was asked for over an hour ago; a refused Azure read keeps the view the card had; and the host registers one keeper over the Cloud cards, the plan, the Azure card and the runs.
Correction, 1.0.5.25: the paragraph above says only the first read of a slot after a start waits for its build. A read waits whenever no view under two minutes old is held for its slot: the first read after a start, and also the first read after an hour without requests, when the keeper drops the slot, view and all.
Addendum, 2026-11-11 (1.0.5.25): one build a slot, shared by the requests and the keeper
What stopped being true: the addendum of 1.0.5.24 says each slot has one build at a time. CodeRabbit's review of that version found it held only for the build behind an answer. Two requests that missed the same slot each built it, the keeper built a slot whose refresh a request had already started, and so the Azure card could be read twice at once and the runs route counted both reads against its thirty a minute. A build that began earlier and ended later could replace a newer view. The keeper refreshed the four routes one after another, so one slow route held up the others past their two minutes. And the keeper's reads of the run histories could take all thirty of a minute, leaving a page a request asked for, with nothing kept, to answer that the route was busy.
From this version a slot has one build under way whoever asks: a request that misses the slot, the refresh behind an answer and the keeper all wait on the same build, which runs under two minutes and the host's stopping, and a request's cancellation ends only its own wait, so the build it started is kept for the next request. A view is kept only when no view from a later build is held. ViewKeeper runs a minute loop of its own for each route. A refresh of a runs page, behind an answer or the keeper's, may take twenty of the minute's thirty fresh reads, and ten are left for a page a request waits on.
KeepingRaceTests hold the four with each build parked on a gate the test opens: two requests that miss a slot begin one build; the keeper joins a refresh a request began; a view once answered is never followed by an older one; a route stuck in its keeping does not stop the keeper reaching the next; and after the keeper has refreshed thirty pages in a minute, a request for a thirty-first is read rather than refused.
Correction, 1.0.5.28: the paragraph above says the keeper "has refreshed thirty pages in a minute". It attempted thirty and read twenty, the refresh's share of the minute; the other ten were refused as busy and kept the pages they had, and the thirty-first page was read on the ten left for requests. KeepingRaceTests now count both. The case it names as "a view once answered is never followed by an older one" could not reach a second build, since a slot has had one build at a time since this addendum, so the two requests shared one; KeptViewsBuildTests holds instead that a later build's view, from a second build the test sees begin, replaces the one before it.
Addendum, 2026-11-11 (1.0.5.28): the keeper starts every due slot at once, and a request keeps its own budget
What stopped being true: the addendum of 1.0.5.25 says a request that misses a slot, the refresh behind an answer and the keeper all wait on the same build, and that the keeper's loop of its own for each route keeps one slow route from holding up the others. CodeRabbit's review of that version found two gaps. Inside one route the keeper still waited on each due slot before it began the next, so one slow Cloud window could hold the route's other windows past their two minutes. And a request that joined a refresh got the refresh's answer, so a runs page refused as busy under the refresh's twenty reads reached the request as busy while the ten reads kept for requests were still free.
From this version the keeper begins every due slot's build before it waits on any, and observes each on its own. A request that joins a refresh which fails or answers a view the route does not keep reads the slot again as itself, on the request's own budget. KeptViewsBuildTests hold both with builds parked on gates: the keeper begins a second window while the first is stuck, and a request that joined a refused refresh answers with a view the route keeps.
Correction, 1.0.5.29: the paragraph above says a request whose joined refresh failed or was refused reads the slot again as itself. It went back to the gate, and there it could join a refresh the keeper had begun meanwhile and answer that refresh's view unchecked, a refused one included, and a second such request could build the slot again after the first had already built it. A request now takes a refresh's view only when the route keeps it, as often as the keeper begins one; back at the gate it answers a view under two minutes old that another request built, and only with neither does it read the slot as itself (CodeRabbit on 1.0.5.28). KeptViewsBuildTests hold both: a request never answers a second refused refresh, and the later of two requests answers the view the first built rather than building it again.
Addendum, 2026-11-12 (1.0.5.43): a read whose request has gone stops first
What stopped being true: a kept view answered any read of a fresh slot, and a build that ended before the request began to wait answered it too, because a finished task's WaitAsync returns its result whatever the token says. So a request already cancelled could be served, and CloudTimeoutTests.A_read_the_request_itself_cancelled_still_stops failed in CI on main after 1.0.5.42 and once on the box, both when the build won the race. From this version KeptViews.ReadAsync checks the request's token before it reads the slot or starts a build; KeptViewsBuildTests holds both cases, a fresh kept view and an empty slot, with no build started.
Addendum, 2026-11-16 (1.0.5.66): every number names its window, and a card is graded on its own resource
In plain words: a walk of every Cloud card on 15 and 16 November found numbers that were right but read wrong, and one that was wrong. Each now says which window it covers, and no card turns red on something its resource cannot cause.
What changed, each read live before the change:
- The cost line is the month so far. Every card's "Cost $4.22 / mo" was the month to date from the bill, and read as a monthly rate it halved the share's real cost on the fifteenth. It now says "month to date", on every card and on the plan's "Plan cost".
- The blob card is not graded on its egress. The dial read red at 120.82 GB of the free 100 GB (132.28 GB on 16 November) while the blob service held 13.6 MB, and this addendum first called the number the whole account's, the share's reads included. That was a claim, not a read, and the read of 17 November corrected it: Egress read side by side on the blob service, the file service and the account, the month to 15:00 UTC, gave 145.054 GB, 313.186 GB and 458.240 GB, and the card read 145.05 GB. So the number is the blob service's alone, and the account is blob plus file. Almost all of it, 143.88 GB, is GetBlob by the account key, about 3,990 calls in every hour of the day at 128 KB each: a steady poll, not the blog's pictures and not package pulls. The dial is now "Blob egress this month", says the share's reads are not in it, and stays blue at any reading, because nothing on this card causes it; a test pins the label to the service its query reads. What the bytes cost is on the bill: Cost Management's 30 days to 15 November put the account's "Intra Continent Data Transfer Out" at $0.17.
- The host's picture cache is named. The readout said the cache was "not built yet" after the blog's pictures had shipped with one (32 MB of the host's memory, a picture kept a day). It now says that, held by a test to the blog slice's own cap.
- The share names each window. The card said "last hour" for three different hours: the dial summed the last 60 kept minutes, the by-caller line read the clock hour under way, and the table by API added the hour before to the hour under way. The dial is now "Transactions, last 60 minutes", the line "Every caller, the clock hour so far" with its start, and the table "Last full hour", which now counts only that hour.
- Cosmos DB counts its documents. Azure Monitor reports the count at five minutes, and the minute a bucket is still open reads 0, so the card said "0 documents" over 3,532,492 (Azure Monitor, 15:33 UTC on 16 November). It now reads the newest minute that counted any, and says "not read yet" when none did.
- The plan's memory names the apps' share. The dial read 91 to 94 % at the nightly peaks while the apps held about 0.7 GB of the 3.78; it now says what the apps hold beside the total, and the apps table keeps the rest, derived.
- The budget is Azure's. The subscription's budget moved from $60 to $70 in Azure on 16 November (Steve's figure of 11 November), and the costs answer now carries the amount Azure holds (
budget_dollars), read with the alert rules, for the cost card to grade against in place of a number typed beside it.
StorageCardTests, CloudThresholdTests, PlanViewTests, PlanChildrenTests and CostSpikeTests hold each one.
Addendum, 2026-11-16 (1.0.5.68): a kept minute is written once, unless it changes
In plain words: every minute, each card's recorder reads the last five minutes from Azure, so a minute Azure was late with still lands, and it wrote all five back to Cosmos DB every time. It now writes a minute only when it reads differently from the one it kept: a new minute, or one Azure filled in late.
Why: read live on 16 November (Azure Monitor through azure-read.yml, run 43896649832): the database has one physical partition (partition key range 0 only), and its normalized RU peak was 100 % in 358 of the last 360 minutes, with 10,115 of 299,310 requests (3.38 %) throttled in 24 hours, spread evenly through the day and night at about 350 an hour. The plan container, where every card's minutes and hours are kept, took 141,085 of those requests and 4,835 of the throttles. One partition means the partition key cannot be the cause; a burst at the top of every minute can, and rewriting every card's last five minutes in the same few seconds is that burst. So the key stays, no container is added and no throughput is bought: the free 1,000 RU/s shared by the 25 containers stays the limit. The plan's own recorder keeps its minutes the same way. CloudRecorderWritesTests and CloudReadersTests hold both.
Addendum, 2026-11-17 (1.0.5.79): a colour means what the owner's rule says it means
In plain words: four cards on the Admin rail stood red or amber over things that needed nobody, and that wears out the colour. The owner's rule of 21 October is that green is the resting state, blue is live but not judged, red is only for something that needs him, and amber reads as misleading unless something really is worth a look. Each card now follows it, and every line it uses lives in CloudThresholds or beside the card's tone, never in the page.
- WickedAwsome. A stopped unit the job hunt must run stays red, because that does need someone, and the services row now names the unit and the one command that restarts it in its own scope (
systemctl --user restart ... for a user unit). Swap reads amber only past 10 % of the swap or 256 MiB, whichever is smaller; on 17 November the memory row was amber over 8.0 KiB of 2.0 GiB of swap at 19 % memory, which is the kernel parking a few pages, not pressure.
- Cosmos DB. The throttling row is green up to 5 % of the site's own requests answered 429, amber past 5 % or when the site's point reads and writes take more than 250 ms at the 95th percentile, and red when a 429 reaches the application because the SDK ran out of retries. Microsoft's page on 429s ("Diagnose and troubleshoot Azure Cosmos DB request rate too large (429) exceptions") says 1 to 5 % of requests answered 429, with acceptable end-to-end latency, "is a healthy sign that the RU/s are being fully utilized. No action is required." The card used the bottom of that band and was amber at 1.86 % with 3.3 ms of latency. The latency is now end to end, read from this process's store log, which times each call with its retries; Azure Monitor's ServerSideLatency is the server's own average and never sees a retry. The store log writes a point operation's give-up as "failed: 429" and a query's as "failed: TooManyRequests", and the live counter matched only the second; both now count, through one matcher.
- Claude usage. A long run is a warning only when it is today's (the Central day) and over twice its own mode's seven-day median wall, or when GitHub ended it as timed out. The row was amber all of 17 November over Monday noon's 35-minute bookkeeping run; a long run on an earlier day is now listed as information. A mode with no week to measure against keeps the fixed 1,200 s line.
- The job-hunt share. Under the alert's own line the transactions dial is information, amber only when the walking row says something is walking the share, and red at the line. It was amber at 59.78 % of the 20,000 line while its own walking row answered No.
BoxRowsTests, CloudThresholdTests, ClaudeCardTests and StorageCardTests hold each one.
Addendum, 2026-11-18 (1.0.5.89): the share's sparks say their unit, egress is total, and three colour rules
In plain words: a review of the Admin tab on 18 November found numbers that read wrong and colours that said fine when they should not. Each was read live before the change.
- The share's sparks say their unit. The review read the transactions dial (30,407 at 12:42 UTC) as three times its own sparks and the Azure hour. Azure Monitor's own Transactions for the same sixty minutes read 33,113 two minutes later, so the dial was right. The sparks are each minute as a per cent of the alert's pace (20,000 an hour is 333 a minute), and their raw values summed to about 9,050, which is 30,180 in counts. The "last full hour" line read 7,318 because it is the clock hour before, a different window. The sparks now end "% of the alert's 333 a minute", and a test pins the dial to its sparks turned back into counts, over uneven minutes and a burst.
- The blob card's egress is total, read against no limit. Azure's Egress counts every byte out, traffic that stays inside Azure included, and only internet egress counts against the free 100 GB a month. The dial read 154.65 GB as 154 % "of the free 100 GB a month" for a number that is not the billable one. It is now "Blob total egress this month", with no share, no marks and no chips. A dial's amber and red marks may be null on the wire for this, and only this dial uses it. This replaces the 100 GB comparison in the addendum of 1.0.5.66; the label still names the blob service its query reads.
- A row past its own amber line takes that tone. The SQL and Cosmos DB tier rows passed only red through, so they said "yes" in green over a reading past amber. They now say "for now", in amber, and name both lines.
- A card past its unread age shows nothing as fine. The card's own tone was already unread, but its dials, rows and readout lines stayed green; the registry card read unread at 61,133 s against its 10,800 with every part green.
CardFrame.Unjudged turns a stale card's green parts blue, live but not judged. A warning or an alarm it was last read with stays.
- A monthly allowance gets a month-end pace check. The month's use so far is carried at its pace to the month's last day (
MonthPace, judged from the third day). The Function's free grant dial goes amber when the pace passes the grant: it read 78 % in green on the 18th, about 134 % by the 30th. The Insights cost row goes amber when the pace passes the free 5 GB while the month is still inside it: 4.41 GB on the 18th is about 7.55 GB by the 30th. Once the month is past the allowance, paying stays information, as the cap row decides.
- A request ring cut short says so where a person reads it. When the first kept minute is clipped, the Typical answer tile, the overview's "Is it fast?" row and the This hour panel say "last N minutes, all the request ring holds", the Traffic card's words, where a person sees them. Before, only a screen reader heard it. On the tile the stretch is the line itself and the 95th follows it in the rest of the sentence, because the line holds two lines on a 360 px phone: the first gate of this version put both on the line and the narrowest phone cut it (
mobile.spec.ts, the rule of 1.0.3.30). The overview row has the room, and prints the tile's whole sentence.
StorageCardTests, CardToneRulesTests, NightlyCardTests and the page's ringStretchFaces test hold each one.
Addendum, 2026-11-18 (1.0.5.95): the share's sparks split the dial's own total
In plain words: after 1.0.5.89 the share's dial read 40,795 and its three sparks, turned back into counts, 37,823. The dial counts every transaction; the sparks counted only the calls their filters named, and Azure answers calls no filter named, Close above all (291 of 6,616 in the hour to 15:20 UTC on 18 November, Azure Monitor by ApiName). A list of names drifts whenever Azure adds one, so the third spark no longer has a list: it is "Reads and the rest", each minute's total less its listings and its writes, and the reads filter and its minute reading are gone. The three sparks are now the dial's own total split three ways. StorageCardTests holds it with a call no filter names in every minute.
Addendum, 2026-11-19 (1.0.5.106): the honesty rule
In plain words: a card turns green because what it watches got better, never because its rule got kinder. On 19 November Steve asked for every card under Cloud infrastructure to read green the same day, and for the rules behind that to be written down: "ADRs going to be created for the rules we set".
The rule, from this version:
- Green comes from fixing the cause. A threshold, a tone or a formula changes only when the card measures the wrong thing. Such a change ships with a test and an addendum that says what the card measured, why that was wrong and what it measures now. A card that is telling the truth is never quieted.
- No green by restart. Restarting a web app or the box empties memory, swap and a card's kept hour for a while and fixes nothing. A card that turns green only because something restarted is not done. A fix to memory is proven by a plateau: at least two idle hours of readings that flatten or fall.
- A card with no reading stays gray. Information never turns good until a read succeeded and shows the healthy state.
- A month that cannot be saved says its date. An allowance already spent past its line is stated with the date it can honestly read green, not hidden.
Under the rule, this version changed what three cards measure, each because it measured the wrong thing:
- The month's projection (Insights' free 5 GB, the Function's free grant). It measured the month so far carried in a straight line from the first, which cannot see a cut or a spike made mid-month: on 19 November it read 7.69 GB for Insights while the last day's 0.312 GB made 8.33. It now measures what is used so far plus the last twenty-four hours' rate for every day left, when the last day is read (
MonthPace.Projected).
- Insights past its allowance. The cost row read information as soon as the month passed 5 GB, so the card would have turned green on 20 November with nothing fixed. Past the allowance it now stays amber while the last day's rate would overrun a month (
MonthPace.RunRate), and is information once that rate fits.
- The registry's age. It measured freshness by kept minutes, which the registry has not kept since its Azure registry was retired, so it read unread for good and turned both good dials to information while a fresh hour stood kept. It now measures the age of its newest kept hour (
ResourceView.HourAge), and its readout says "Hourly read".
The box's swap row changed under the same rule; ADR: The box reports itself says how. CardToneRulesTests, CloudViewTests (the registry with a kept hour and with none), BoxRowsTests and NightlyCardTests hold it.
Addendum, 2026-11-20 (1.0.5.138): what a colour means, and the two cost dials graded in dollars
In plain words: on 20 November Steve looked at the Cloud infrastructure rail and ruled what its colours mean: "Green tells me functioning as expected amber I need to research", and "lets move the dials, and put a disclaimer on each page". This is a change of meaning by the owner, and it ships under the honesty rule above as exactly that, with its tests.
- The legend, on every card. Each of the eighteen cards under Cloud infrastructure prints one line under its title, the same four entries on every card: "Green: working as expected. Amber: worth researching. Red: needs action now. Gray: no reading yet, such as the first minutes after a release." The words are served by the API (
CardLegend, on every Cloud card's answer and on the Azure, machines and memory-against-traffic answers), never typed in the page; the page draws each dot in the site's own colour for its tone.
- What the two cost dials measured. The Nightly Function's "Free grant used" dial turned amber at 80 % of the free 100,000 GB-s and red at 95 %, and Insights' "What is it costing?" row stayed amber while the last day's rate would overrun the free 5 GB. Both graded "past the free allowance", which Steve has now ruled is not a reason to research: November went past both by a few dollars (the grant about $2 at 183 %, Insights about $6 at 7.55 GB) while everything worked as expected.
- What they measure now (
CostGrade, every line in CloudThresholds). Each is graded on its own card's cost: the month's use projected at the last day's rate (MonthPace.Projected), past its free amount, at its price ($0.000026 a GB-s on Flex Consumption, $2.30 a GB on pay-as-you-go Analytics Logs). Green while that is under $10 for the month and the last day is under 1.5 times the median of the seven days before it. Amber when either line is crossed: a real cost or a spike, both worth researching. Red only when the card's own $10 line is crossed and the subscription's month forecast, read from the bill, is past the $70 budget. The forecast was already $77.10 on the morning of 20 November, so a red line on the forecast alone would have turned both cards red the day this shipped (the Fable review of 20 November, FR1).
- The numbers stay on the card. The grant dial still reads its share of the grant and where the month is heading; it no longer carries the 80 and 95 % marks, since its colour is no longer a share of the grant, so it is the second dial whose marks are null on the wire (the blob card's egress was the first). The chart's grant panel draws one line, at 100 %, where the free grant ends. Each cost row prints the projected dollars, the last day against its week, the month's forecast against the budget whatever the colour, and the rule in one sentence; the three lines are on the card's thresholds as chips.
- Nothing else moved. Insights' "Is anything dropped?" stays as it was: a capped hour loses data and is red. No other card's line changed.
CostGradeTests holds every line from both sides; NightlyCardTests, CardToneRulesTests hold the two cards; CardFrameTests holds the legend on every card, word for word.
Addendum, 2026-11-28 (1.0.5.183): the free grant dial is never green past the grant
What stopped being true: that the Nightly Function's "Free grant used" dial may read green past 100 percent. It read good at 130 percent with its own red line drawn at 100, so the dial and its chart disagreed. From this version the dial is amber above 100 percent (NightlyCard.PastTheGrant); red is still decided only by the cost grade of the addendum of 1.0.5.138, and being past the grant is still information, not a reason to research. The NightlyCard tests hold it.
Enforced by
12 rules in the rulebook cite this record, each held by a test on every release.