Skip to content

Raise the web_server and zigbee catalog gating floors for 2026.11 - #3012

Merged
J. Nick Koston (bdraco) merged 1 commit into
mainfrom
bump-catalog-gating-floors
Nov 4, 2026
Merged

J. Nick Koston (bdraco) merged 1 commit into
mainfrom
bump-catalog-gating-floors

Conversation

@bdraco

Copy link
Copy Markdown
Member

What does this implement/fix?

Raise the web_server and zigbee gating floors so the 2026.11.0b1 catalog sync (#3010) passes the floor band test; the catalog grew about 29% and the old floors fell below a quarter of the live counts.

# before
"web_server": 2500,
"zigbee": 3000,
# after
"web_server": 3500,
"zigbee": 4000,
  • Effect: test_floors_sit_in_a_sane_band_of_the_live_catalog passes on both catalogs (2026.11.0b1 live counts are web_server 11416, zigbee 12263).
  • Scope: two constants; both floors stay below the current main counts (8828, 9567), so main stays green.
  • Unblocks Sync component catalog from schema 2026.11.0b1 #3010; rerun its Test workflow after this merges.
Gate counts
Gate main #3010 floor band on #3010
mqtt 16266 21103 6000 (unchanged) 5275..21103
web_server 8828 11416 3500 2854..11416
zigbee 9567 12263 4000 3065..12263

Related issue or feature (if applicable):

Types of changes

  • Bugfix (non-breaking change which fixes an issue) — bugfix
  • New feature (non-breaking change which adds functionality) — new-feature
  • Enhancement to an existing feature — enhancement
  • Breaking change (fix or feature that would cause existing functionality to not work as expected) — breaking-change
  • Refactor (no behaviour change) — refactor
  • Documentation only — docs
  • Maintenance / chore — maintenance
  • CI / workflow change — ci
  • Dependencies bump — dependencies

Frontend coordination

  • No frontend change needed
  • Companion frontend PR: esphome/device-builder-frontend#

Checklist

  • The code change is tested and works locally.
  • Pre-commit hooks pass (ruff, codespell, yaml/json/python checks).
  • Tests have been added or updated under tests/ where applicable.
  • components.index.json / definitions/components/*.json have not been hand-edited (regenerate via script/sync_components.py if a sync is needed).
  • Architecture-level changes are reflected in docs/ARCHITECTURE.md and/or docs/API.md.

@bdraco

Copy link
Copy Markdown
Member Author

ESPHome Bot (@esphbot) review

@github-actions github-actions Bot added the maintenance Maintenance / chores label Nov 4, 2026
@codspeed

codspeed Bot commented Nov 4, 2026

Copy link
Copy Markdown

Merging this PR will not alter performance

✅ 28 untouched benchmarks
⏩ 1 skipped benchmark1


Comparing bump-catalog-gating-floors (9e00e43) with main (c561e46)

Open in CodSpeed

Footnotes

  1. 1 benchmark was skipped, so the baseline result was used instead. If it was deleted from the codebase, click here and archive it to remove it from the performance reports. ↩

@esphbot

Copy link
Copy Markdown
Contributor

PR Review — Raise the web_server and zigbee catalog gating floors for 2026.11

Merge-ready: the two constants are calibrated correctly and keep both main and #3010 inside the band.

I checked the numbers against tests/test_check_catalog_guards.py:84-93, which requires live // 4 <= floor <= live:

The unit tests that build synthetic catalogs from _GATING_FLOORS (at-floor, one-below, nested, empty) still pass because they don't depend on the actual values. The diff matches the description and doesn't touch anything else.



Checklist


Automated review by Kōan (Claude) HEAD=9e00e43 23s

@esphbot ESPHome Bot (esphbot) left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tip

No blocking issues found — ready to merge.

@codecov

codecov Bot commented Nov 4, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 99.76%. Comparing base (c561e46) to head (9e00e43).
⚠️ Report is 1 commits behind head on main.

Additional details and impacted files

Impacted file tree graph

@@           Coverage Diff           @@
##             main    #3012   +/-   ##
=======================================
  Coverage   99.76%   99.76%           
=======================================
  Files         300      300           
  Lines       26388    26388           
=======================================
  Hits        26326    26326           
  Misses         62       62           
Flag Coverage Δ
py3.12 99.72% <ø> (-0.01%) ⬇️
py3.14 99.61% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@bdraco
J. Nick Koston (bdraco) marked this pull request as ready for review November 4, 2026 23:36
Copilot AI balanced review requested due to automatic review settings November 4, 2026 23:36
@bdraco
J. Nick Koston (bdraco) merged commit d2eac18 into main Nov 4, 2026
27 checks passed
@bdraco
J. Nick Koston (bdraco) deleted the bump-catalog-gating-floors branch November 4, 2026 23:36

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟢 Approval recommended

No active review issues are recorded for the catalog gating threshold update.

No open issues 🎉

What changed in this PR

Updates catalog gating thresholds to accommodate the catalog growth in #3010 while remaining compatible with the current main catalog.

Changes:

  • Raises the web_server floor from 2,500 to 3,500.
  • Raises the zigbee floor from 3,000 to 4,000; leaves mqtt unchanged.
File Description
script/​check_catalog.py Adjusts two gating floors to remain within the expected band for the 2026.11 catalog.

Review effort: Balanced

@github-actions github-actions Bot locked and limited conversation to collaborators Nov 6, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

maintenance Maintenance / chores

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants