Skip to content

fix(config): remove the dead cloudflare.access settings - #2632

Merged
dan-petty merged 1 commit into
mainfrom
fix/2457-remove-dead-settings
Oct 29, 2026
Merged

dan-petty merged 1 commit into
mainfrom
fix/2457-remove-dead-settings

Conversation

@dan-petty

@dan-petty dan-petty commented Oct 29, 2026 •

Copy link
Copy Markdown
Owner

What

Remove cloudflare.access.enabled and cloudflare.access.idp from the settings model, config.example.yaml and the generated docs. No code reads either field.

Premise correction

Issue #2457 names three fields. It is right for the two above and incomplete for telemetry.logfire. src/devops_cli/commands/review.py:175 reads getattr(settings.telemetry, "logfire", False) as the ambient fallback for the --logfire flag, and tests/test_telemetry_logfire.py covers that read. The issue's git grep searched the dotted name and missed the getattr string-argument form. This change keeps telemetry.logfire.

Behavior

  • A config file that still names cloudflare.access.enabled or .idp still loads, because the access section drops a key it does not declare (Pydantic extra="ignore").
  • config show and config env list neither field.

Checks

  • fail-to-pass: uv run devops ci fail-to-pass --base origin/main — 2 tests fail on origin/main (the fields are still present there) and pass here; the telemetry.logfire guard passes on both.
  • full CI: uv run devops ci — every gate passes (test, coverage, lint, format, typecheck, audit, security, build, docs, openspec).

Closes #2457

….access.idp settings

Remove cloudflare.access.enabled and cloudflare.access.idp from the settings
model, config.example.yaml and the generated docs. No code reads either field.
A config file that still names them still loads, because the access section
drops a key it does not declare.

Keep telemetry.logfire: review.py reads it as the ambient fallback for the
--logfire flag on the review commands, and a test covers that read.

Closes #2457
@dan-petty dan-petty changed the title fix(config): remove the dead cloudflare.access.enabled and cloudflare.access.idp settings fix(config): remove the dead cloudflare.access settings Oct 29, 2026
@dan-petty
dan-petty marked this pull request as ready for review October 29, 2026 13:31
@dan-petty
dan-petty merged commit dde2f55 into main Oct 29, 2026
18 of 19 checks passed
@dan-petty
dan-petty deleted the fix/2457-remove-dead-settings branch October 29, 2026 13:31
dan-petty pushed a commit that referenced this pull request Oct 29, 2026
🤖 I have created a release *beep* *boop*
---


##
[0.16.0](v0.15.1...v0.16.0)
(2026-10-29)


### Features

* **service:** the Service keeps one model call in flight by default
([#2627](#2627))
([3fdafbd](3fdafbd))


### Bug Fixes

* **config:** remove the dead cloudflare.access settings
([#2632](#2632))
([dde2f55](dde2f55))
* **roadmap:** read only the last comment as the job record
([#2630](#2630))
([a3eb41f](a3eb41f)),
closes [#2538](#2538)
* **service:** check the GitHub budget for each request
([#2631](#2631))
([99066e7](99066e7))
* **telemetry:** enable remote write 2.0 for created timestamps
([#2629](#2629))
([e84a643](e84a643)),
closes [#2506](#2506)

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).

Co-authored-by: dan-petty-release[bot] <346998822+dan-petty-release[bot]@users.noreply.github.com>
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(config): telemetry.logfire, cloudflare.access.enabled and cloudflare.access.idp are settings that no code reads

1 participant