Skip to content

Fixes #39413 - Track and surface unrecognized Smart Proxy features#11017

Open
adamruzicka wants to merge 2 commits into
theforeman:developfrom
adamruzicka:unknown-proxy-features
Open

Fixes #39413 - Track and surface unrecognized Smart Proxy features#11017
adamruzicka wants to merge 2 commits into
theforeman:developfrom
adamruzicka:unknown-proxy-features

Conversation

@adamruzicka

@adamruzicka adamruzicka commented Jun 10, 2026

Copy link
Copy Markdown
Contributor

When a Smart Proxy reports features that Foreman doesn't recognize (e.g. a plugin installed on the proxy but not on the server), those features were silently dropped. Now they are persisted and surfaced to the user via the API, UI, and server logs.

A draft until all the other pieces are assembled

Index
image

Show
image

To be squashed before merging

adamruzicka and others added 2 commits June 12, 2026 13:48
When a Smart Proxy reports features that Foreman doesn't recognize
(e.g. a plugin installed on the proxy but not on the server), those
features were silently dropped. Now they are persisted and surfaced
to the user via the API, UI, and server logs.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
- Add h() escaping to index tooltip for defensive XSS protection
- Use "Smart Proxy" consistently in UI terminology
- Broaden user-facing messages to mention version mismatches and custom
  proxy extensions as possible causes, not just missing plugins
- Use unrecognized_features instead of reply.keys for error message
  consistency
- Add test for clearing unrecognized features on proxy re-save
- Add unrecognized_features assertion to V1 API test path

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant