Skip to content

web: move remote reload token read logic to core/config.py#233

Merged
shiv-tyagi merged 1 commit intoArduPilot:mainfrom
shiv-tyagi:fix-admin-token
Mar 22, 2026
Merged

web: move remote reload token read logic to core/config.py#233
shiv-tyagi merged 1 commit intoArduPilot:mainfrom
shiv-tyagi:fix-admin-token

Conversation

@shiv-tyagi
Copy link
Member

This PR moves the logic to retrieve the remote load token from the filesystem/environment to web/core/config.py. The admin service now expects that token from Settings as a dependency which can be overridden with a mock while writing tests.

@shiv-tyagi shiv-tyagi mentioned this pull request Mar 22, 2026
@shiv-tyagi
Copy link
Member Author

Thanks for the review @peterbarker

@shiv-tyagi shiv-tyagi merged commit 3a4ad0b into ArduPilot:main Mar 22, 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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants