Skip to content

authorization_header config field must be bare function reference#3677

Open
sschmittgwdg wants to merge 4 commits into
reframe-hpc:developfrom
sschmittgwdg:fix_authorization_header_config_example
Open

authorization_header config field must be bare function reference#3677
sschmittgwdg wants to merge 4 commits into
reframe-hpc:developfrom
sschmittgwdg:fix_authorization_header_config_example

Conversation

@sschmittgwdg
Copy link
Copy Markdown

The call to the authorization header function is done in the implementation at

self._headers['Authorization'] = self._authorization_header()

Therefore, () must be absent from the configuration file.

@vkarak
Copy link
Copy Markdown
Contributor

vkarak commented Jun 4, 2026

Thanks for the fix; could you rebase this PR against master, so as to release this fix in 4.10.1?

The call to the authorization header function is done in the implementation at

https://github.com/reframe-hpc/reframe/blob/c6a4b9b4a9b48dec0953bbe4222269f293f1b7b2/reframe/core/logging.py#L754

Therefore, `()` must be absent from the configuration file.
@sschmittgwdg sschmittgwdg force-pushed the fix_authorization_header_config_example branch from 731ecd1 to dd47787 Compare June 4, 2026 12:00
Copy link
Copy Markdown
Contributor

@vkarak vkarak left a comment

Choose a reason for hiding this comment

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

Simply changing the target branch is not enough. I've updated the contribution guide with instructions on how to deal with such scenarios:

https://github.com/reframe-hpc/reframe/wiki/Contributing-to-ReFrame#targeting-the-wrong-branch

@github-project-automation github-project-automation Bot moved this from Todo to In Progress in ReFrame Backlog Jun 4, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

Status: In Progress

Development

Successfully merging this pull request may close these issues.

3 participants