Skip to content

[doc] Fix example with authorization_header in the tutorial#3677

Merged
vkarak merged 1 commit into
reframe-hpc:masterfrom
sschmittgwdg:fix_authorization_header_config_example
Jun 10, 2026
Merged

[doc] Fix example with authorization_header in the tutorial#3677
vkarak merged 1 commit into
reframe-hpc:masterfrom
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

vkarak commented Jun 4, 2026

Copy link
Copy Markdown
Contributor

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

@vkarak vkarak left a comment

Copy link
Copy Markdown
Contributor

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
@sschmittgwdg sschmittgwdg changed the base branch from develop to master June 5, 2026 06:03
@vkarak vkarak changed the title authorization_header config field must be bare function reference [doc] Fix example with authorization_header in the tutorial Jun 9, 2026
@vkarak vkarak enabled auto-merge June 9, 2026 22:10
@vkarak vkarak closed this Jun 9, 2026
auto-merge was automatically disabled June 9, 2026 22:20

Pull request was closed

@github-project-automation github-project-automation Bot moved this from In Progress to Done in ReFrame Backlog Jun 9, 2026
@vkarak vkarak reopened this Jun 9, 2026
@github-project-automation github-project-automation Bot moved this from Done to In Progress in ReFrame Backlog Jun 9, 2026
@vkarak vkarak enabled auto-merge June 9, 2026 22:22
@codecov

codecov Bot commented Jun 9, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 91.93%. Comparing base (66b25c0) to head (dd47787).

Additional details and impacted files
@@           Coverage Diff           @@
##           master    #3677   +/-   ##
=======================================
  Coverage   91.93%   91.93%           
=======================================
  Files          62       62           
  Lines       13769    13769           
=======================================
  Hits        12659    12659           
  Misses       1110     1110           

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@vkarak vkarak merged commit a6ae2bc into reframe-hpc:master Jun 10, 2026
56 of 57 checks passed
@github-project-automation github-project-automation Bot moved this from In Progress to Done in ReFrame Backlog Jun 10, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

2 participants