Skip to content

Restrict forced dashboard refreshes to local requests - #837

Merged
pablogsal merged 2 commits into
python:mainfrom
pablogsal:fix-dashboard-local-refresh
Nov 20, 2026
Merged

pablogsal merged 2 commits into
python:mainfrom
pablogsal:fix-dashboard-local-refresh

Conversation

@pablogsal

Copy link
Copy Markdown
Member

The public request below forces the release dashboard to rebuild its page, even if a cached page is available. Allow this only for requests from the same machine, so visitors cannot repeatedly trigger the expensive work. The scheduled refresh job must use the local URL.

[20/Nov/2026:12:30:17 +0000] "GET /plugins/wsgi_dashboards/release_status/?refresh=1 HTTP/1.1" 499 0
@pablogsal

Copy link
Copy Markdown
Member Author

CC @zware

@zware zware left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

LGTM (with the same quibble about how to trigger tests from #835).

@pablogsal
pablogsal merged commit 3aba7a1 into python:main Nov 20, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

2 participants