Skip to content

fix(ci): recognize the deployed Fluent Bit instance label - #1038

Merged
athvin merged 1 commit into
mainfrom
fix/ci-observability-chart-label
Nov 9, 2026
Merged

athvin merged 1 commit into
mainfrom
fix/ci-observability-chart-label

Conversation

@athvin

@athvin athvin commented Nov 9, 2026 •

Copy link
Copy Markdown
Owner

Closes #1037

What

Recognize the deployed AWS Fluent Bit chart's fluent-bit-aws-for-fluent-bit instance label as well as the Helm release label. Keep the deployed-release, observed-generation, readiness, and rollout-completion requirements.

Why

Live validation of #1031 found that the original check rejected a healthy Fluent Bit DaemonSet because the chart's instance label differs from its Helm release name. That would stop dev deployment before application cutover.

Proof

The observed chart label first failed the healthy-state and reconciliation tests. With the fix, all 32 Python CI helper tests and 142 shell selection/cache tests pass; the check also accepts a read-only snapshot of the actual deployed workloads and Helm releases. Full make check and the updated skill reference gate both pass.

Risk & rollback

The accepted label set expands only for the installed chart; unrelated instances and incomplete rollouts remain rejected. Revert this merge to roll back.

Post-merge ledger

Closed by: Codex · session Codex:01a1bef1-8627-7c21-8a86-6c4743d8906f on Mac-26 · 2026-11-09T09:34:56+00:00

  • main is green with this change on it — 4998a58a7971543384f5d3cfa15ef1654c5cf26f contains both changes. Rust run 42590148101, frontend 42590148224, infra 42590148650, images 42590148445, devcontainer 42590148323, and deploy 42590174746 all succeeded. Original merge ce3fd01b also passed Rust 42586199942, frontend 42586200014, infra 42586199982, devcontainer 42586199900 and images 42586200002.
  • images — Run 42590148445 succeeded with both image jobs correctly skipped: only deployment logic, tests and a reference changed. The deployment reused the images built by original run 42586200002; digest resolution passed.
  • deploy converged — Deploy run 42590174746 succeeded for both environments and logs deploying 4998a58a7971543384f5d3cfa15ef1654c5cf26f. At verification of that deployment, both services selected dev green / prod blue. The serving API processes emitted er-server listening at 09:04:35.648292 UTC (dev pod web-api-green-78d6f787fc-5prb4) and 09:03:58.074266 UTC (prod pod web-api-blue-5b6b4f7c49-4w4j2); both containers in both pods are ready with zero restarts. The original dev attempt 42590105679 stopped before application cutover on the diagnosed Fluent Bit label mismatch; fix(ci): recognize the deployed Fluent Bit instance label #1038 fixed it.
  • the push-only surface no pull request can pre-test — final deploy 42590174746 succeeded; latest kind nightly 42575735163 succeeded. Drift 42570659369 was already red before this change: Cloudflare provider checksum download returned HTTP 504 before drift evaluation. No cluster-object inputs changed. First scheduled benchmark/scale runs remain part of follow-up Measure CI and deployment latency over 20 post-rollout runs #1036.
  • the board card reached Done automatically — Fix observability health detection for the deployed Fluent Bit chart label #1037 closed by PullRequest fix(ci): recognize the deployed Fluent Bit instance label #1038; Product Roadmap status Done, verified through issue timeline/project fields.
  • follow-ups — Measure CI and deployment latency over 20 post-rollout runs #1036 owns 20 post-rollout timing samples, later main compiler-cache hit measurements, larger-sample deployment timings, and the first scheduled benchmark/scale results. The subsequent real deployment skip is now verified below.
  • what was learned is written down — .claude/skills/ci-and-supply-chain/references/build-cost.md records the measurements, rejected archive experiment, compiler pin/cache design, and observed Fluent Bit chart label. This ledger records the live rollout evidence.

Specific to this change

  • Live observability verification — deploy logged observability: reconciled and verified at 09:04:00 UTC and created ConfigMap er-observability-applied. A subsequent probe ran the exact wrapper against live AWS/Helm/Kubernetes reads with all mutation calls replaced by a failing guard; it printed observability: unchanged and healthy; skipping reconciliation without invoking the guard.

  • Main compiler-cache writes verified through zero write errors and new main-scoped cache objects; subsequent hit rates and 20-run median/p95 measurements are deferred — Measure CI and deployment latency over 20 post-rollout runs #1036.

  • Completed the observation window — no further failures after the diagnosed dev failure at 09:01:35 UTC through 09:34:56 UTC. The subsequent marketing release also passed all main checks and deployed successfully.

  • Subsequent real release — marketing merge 8c9111b0 retains both changes and passed Rust 42593494870, frontend 42593494701, infra 42593494824, devcontainer 42593494793 and images 42593494737. Deploy 42593707865 succeeded for dev and prod and logged observability: unchanged and healthy; skipping reconciliation at 09:29:24 UTC (15-second step). The web image job took 1m27; merge-to-prod was 3m47 (09:26:53–09:30:40), one warm frontend-release sample rather than a percentile. Live services now select dev blue / prod green; ready API processes emitted er-server listening at 09:29:58.946332 UTC and 09:29:17.836392 UTC respectively, with zero container restarts.

Context — discoveries and files

The live DaemonSet is named and labelled fluent-bit-aws-for-fluent-bit; Helm reports the release as fluent-bit. The operator uses otel-operator as expected. The fixture now mirrors the deployed chart, with explicit coverage of the Helm-label alternative and unrelated-label rejection. build-cost.md records the chart distinction for future changes.

@athvin
athvin merged commit 4998a58 into main Nov 9, 2026
46 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Fix observability health detection for the deployed Fluent Bit chart label

2 participants