Skip to content

website/docs: dry run: move :ak-version to header - #27678

Merged
dewi-tik merged 2 commits into
mainfrom
dominic-r-patch-1
Nov 6, 2026
Merged

dewi-tik merged 2 commits into
mainfrom
dominic-r-patch-1

Conversation

@dominic-r

Copy link
Copy Markdown
Member

Details

What does this PR change?

Why is this change needed?

How was this tested?

Linked issues


Checklist

  • The project has been linted, built, and tested (make all)
  • The documentation has been updated and formatted (make docs)
  • I have read the AI usage policy.

@dominic-r
dominic-r requested a review from a team as a code owner November 6, 2026 15:13
@dominic-r dominic-r self-assigned this Nov 6, 2026
@dominic-r dominic-r added the area:docs Features or issues related to Docusaurus label Nov 6, 2026
@codecov

codecov Bot commented Nov 6, 2026 •

Copy link
Copy Markdown

❌ 3 Tests Failed:

Tests completed Failed Passed Skipped
5089 3 5086 22
View the top 1 failed test(s) by shortest run time
tests.openid_conformance.test_oidc_rp_initiated.TestOpenIDConformanceRPInitiated::test_oidcc_rp_initiated_certification_test_plan
Stack Traces | 147s run time
self = <unittest.case._Outcome object at 0x7d0ea2481940>
test_case = <tests.openid_conformance.test_oidc_rp_initiated.TestOpenIDConformanceRPInitiated testMethod=test_oidcc_rp_initiated_certification_test_plan>
subTest = False

    @contextlib.contextmanager
    def testPartExecutor(self, test_case, subTest=False):
        old_success = self.success
        self.success = True
        try:
>           yield

.../hostedtoolcache/Python/3.14.10........./x64/lib/python3.14/unittest/case.py:58: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <tests.openid_conformance.test_oidc_rp_initiated.TestOpenIDConformanceRPInitiated testMethod=test_oidcc_rp_initiated_certification_test_plan>
result = <TestCaseFunction test_oidcc_rp_initiated_certification_test_plan>

    def run(self, result=None):
        if result is None:
            result = self.defaultTestResult()
            startTestRun = getattr(result, 'startTestRun', None)
            stopTestRun = getattr(result, 'stopTestRun', None)
            if startTestRun is not None:
                startTestRun()
        else:
            stopTestRun = None
    
        result.startTest(self)
        try:
            testMethod = getattr(self, self._testMethodName)
            if (getattr(self.__class__, "__unittest_skip__", False) or
                getattr(testMethod, "__unittest_skip__", False)):
                # If the class or method was skipped.
                skip_why = (getattr(self.__class__, '__unittest_skip_why__', '')
                            or getattr(testMethod, '__unittest_skip_why__', ''))
                _addSkip(result, self, skip_why)
                return result
    
            expecting_failure = (
                getattr(self, "__unittest_expecting_failure__", False) or
                getattr(testMethod, "__unittest_expecting_failure__", False)
            )
            outcome = _Outcome(result)
            start_time = time.perf_counter()
            try:
                self._outcome = outcome
    
                with outcome.testPartExecutor(self):
                    self._callSetUp()
                if outcome.success:
                    outcome.expecting_failure = expecting_failure
                    with outcome.testPartExecutor(self):
>                       self._callTestMethod(testMethod)

.../hostedtoolcache/Python/3.14.10........./x64/lib/python3.14/unittest/case.py:669: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <tests.openid_conformance.test_oidc_rp_initiated.TestOpenIDConformanceRPInitiated testMethod=test_oidcc_rp_initiated_certification_test_plan>
method = <bound method TestOpenIDConformanceRPInitiated.test_oidcc_rp_initiated_certification_test_plan of <tests.openid_conformance.test_oidc_rp_initiated.TestOpenIDConformanceRPInitiated testMethod=test_oidcc_rp_initiated_certification_test_plan>>

    def _callTestMethod(self, method):
>       result = method()
                 ^^^^^^^^

.../hostedtoolcache/Python/3.14.10........./x64/lib/python3.14/unittest/case.py:615: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <tests.openid_conformance.test_oidc_rp_initiated.TestOpenIDConformanceRPInitiated testMethod=test_oidcc_rp_initiated_certification_test_plan>
args = (), kwargs = {}

    @wraps(func)
    def wrapper(self: TransactionTestCase, *args, **kwargs):
        """Run test again if we're below max_retries, including tearDown and
        setUp. Otherwise raise the error"""
        nonlocal count
        try:
>           return func(self, *args, **kwargs)
                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^

tests/decorators.py:60: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <tests.openid_conformance.test_oidc_rp_initiated.TestOpenIDConformanceRPInitiated testMethod=test_oidcc_rp_initiated_certification_test_plan>

    @retry()
    def test_oidcc_rp_initiated_certification_test_plan(self):
>       self.run_test(
            "oidcc-rp-initiated-logout-certification-test-plan",
            self.test_plan_config,
            {
                "client_registration": "static_client",
                "response_type": "code",
            },
        )

tests/openid_conformance/test_oidc_rp_initiated.py:17: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <tests.openid_conformance.test_oidc_rp_initiated.TestOpenIDConformanceRPInitiated testMethod=test_oidcc_rp_initiated_certification_test_plan>
test_name = 'oidcc-rp-initiated-logout-certification-test-plan'
test_plan_config = {'alias': 'authentik', 'description': 'authentik', 'server': {'discoveryUrl': 'https://10.1.0.61:.../application/o/o...86b5389d15b173109a0555dc47e0cc0949104f1925bcc6565351cb1dffd7e6818cf074f5bd50c210b565121a7328ee8bd40107fc4bbd867'}, ...}
test_variant = {'client_registration': 'static_client', 'response_type': 'code'}

    def run_test(
        self,
        test_name: str,
        test_plan_config: dict[str, Any],
        test_variant: dict[str, Any] | None = None,
    ):
        self.conformance = Conformance(f"https://{self.host}:8443", None, verify_ssl=False)
    
        test_plan = self.conformance.create_test_plan(
            test_name,
            test_plan_config,
            test_variant,
        )
        plan_id = test_plan["id"]
        for test in test_plan["modules"]:
            # Fetch name and variant of the next test to run
            module_name = test["testModule"]
            variant = test["variant"]
            module_instance = self.conformance.create_test_from_plan_with_variant(
                plan_id, module_name, variant
            )
            module_id = module_instance["id"]
>           self.run_single_test(module_id)

tests/openid_conformance/base.py:87: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <tests.openid_conformance.test_oidc_rp_initiated.TestOpenIDConformanceRPInitiated testMethod=test_oidcc_rp_initiated_certification_test_plan>
module_id = 'cLuR93ABppnOIO8'

    def run_single_test(self, module_id: str):
        """Process instructions for a single test, navigate to browser URLs and take screenshots"""
        tested_browser_url = 0
        uploaded_image = 0
        cleared_cookies = False
        while True:
            # Fetch all info
            test_status = self.conformance.get_test_status(module_id)
            test_log = self.conformance.get_test_log(module_id)
            test_info = self.conformance.get_module_info(module_id)
            # Check status early, if we're finished already we don't want to do anything extra
            if test_info["status"] in ["INTERRUPTED", "FINISHED"]:
                return
            # Check if we need to clear cookies - tests only indicates this in their written summary
            # so this check is a bit brittle
            if "cookies" in test_info["summary"] and not cleared_cookies:
                # Navigate to our origin to delete cookies in the right context
                self.driver.get(self.url("authentik_api:user-me") + "?format=json")
                self.driver.delete_all_cookies()
                cleared_cookies = True
            # Check if we need deal with any browser URLs
            browser_urls = test_status.get("browser", {}).get("urls", [])
            if len(browser_urls) > tested_browser_url:
                self.do_browser(browser_urls[tested_browser_url])
                tested_browser_url += 1
                continue
            # Check if we need to upload any items
            upload_items = [x for x in test_log if "upload" in x]
            if len(upload_items) > uploaded_image:
                screenshot = self.get_screenshot()
>               self.conformance.upload_image(
                    module_id, upload_items[uploaded_image]["upload"], screenshot
                )

tests/openid_conformance/base.py:129: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <tests.openid_conformance.conformance.Conformance object at 0x7d0ea253e900>
log_id = 'cLuR93ABppnOIO8', placeholder = 'RcH6iYosaW'
data = 'data:image/jpeg;base64,iVBORw0KGgoAAAANSUhEUgAAAxgAAAHFCAIAAAD+IMjrAAAQAElEQVR4nLy9CYLzOI4mCtDRJ3yXe1ebs0yamBCxfQAp2Z...lN1HGGYxNtCUOGAAXIcQ8R7dKalksqIMJ0XpVjampiMHTttZQymwmOq5W1Rtv8/wEAAP//9177UQAAAAZJREFUAwAVacZAfd8NNAAAAABJRU5ErkJggg=='

    def upload_image(self, log_id: str, placeholder: str, data: Any) -> None:
        url = f"{self.api_url_base}/api/log/{log_id}/images/{placeholder}"
        response = self.session.post(url, data=data, headers={"Content-Type": "text/plain"})
        if response.status_code != Conformance.HTTP_OK:
>           raise ConformanceException(
                f"upload_image failed - HTTP {response.status_code} {response.text}"
            )
E           tests.openid_conformance.conformance.ConformanceException: upload_image failed - HTTP 400 File size exceeds the 500KB limit

tests/openid_conformance/conformance.py:189: ConformanceException
View the full list of 2 ❄️ flaky test(s)
120-admin-routing.test.ts::Admin interface routing › Sidebar follows the active route

Flake rate in main: 100.00% (Passed 0 times, Failed 33 times)

Stack Traces | 39.5s run time
Parent group expands without a manual click
120-admin-routing.test.ts::Admin interface routing › Sidebar remembers expanded groups

Flake rate in main: 100.00% (Passed 0 times, Failed 33 times)

Stack Traces | 36.4s run time
Directory starts collapsed

To view more test analytics, go to the Test Analytics Dashboard
📋 Got 3 mins? Take this short survey to help us improve Test Analytics.

@dewi-tik
dewi-tik enabled auto-merge (squash) November 6, 2026 15:32
@github-actions

github-actions Bot commented Nov 6, 2026 •

Copy link
Copy Markdown
Contributor

Playwright e2e

Download this run's HTML report and traces, then open the report:

gh run download 42241860603 -D playwright-artifacts
npx playwright show-report playwright-artifacts/playwright-report

Installation instructions

Instructions for docker-compose

Add the following block to your .env file:

AUTHENTIK_IMAGE=ghcr.io/goauthentik/dev-server
AUTHENTIK_TAG=gh-2e3ddeb2ae3e45d7175291b1ea00778a60c3b5bf
# Distroless image: AUTHENTIK_TAG=gh-2e3ddeb2ae3e45d7175291b1ea00778a60c3b5bf-distroless
AUTHENTIK_OUTPOSTS__CONTAINER_IMAGE_BASE=ghcr.io/goauthentik/dev-%(type)s:gh-%(build_hash)s

Afterwards, run the upgrade commands from the latest release notes.

Instructions for Kubernetes

Add the following block to your values.yml file:

authentik:
    outposts:
        container_image_base: ghcr.io/goauthentik/dev-%(type)s:gh-%(build_hash)s
global:
    image:
        repository: ghcr.io/goauthentik/dev-server
        tag: gh-2e3ddeb2ae3e45d7175291b1ea00778a60c3b5bf
        # Distroless image: tag: gh-2e3ddeb2ae3e45d7175291b1ea00778a60c3b5bf-distroless

Afterwards, run the upgrade commands from the latest release notes.

@dewi-tik
dewi-tik merged commit e26d206 into main Nov 6, 2026
167 of 170 checks passed
@dewi-tik
dewi-tik deleted the dominic-r-patch-1 branch November 6, 2026 15:42
kensternberg-authentik added a commit that referenced this pull request Nov 6, 2026
* main:
  website/docs: dry run: move :ak-version to header (#27678)
  web: policy dry run UI (#26621)
  providers/oauth2: fix max_age=0 not forcing reauth (#27518)
  ci: bump pnpm/action-setup from 6.1.0 to 6.1.1 (#27666)
  core: bump oauthlib from 4.0.0 to 4.0.1 (#27658)
  core: bump psycopg[c,pool] from 3.3.6 to 3.3.7 (#27672)
  core: bump selenium from 4.51.0 to 4.52.0 (#27670)
  ci: bump helm/kind-action from 1.15.1 to 1.15.2 (#27667)
  ci: bump pnpm/action-setup from 6.1.0 to 6.1.1 in /.github/actions/setup (#27668)
  ci: bump the codeql group across 1 directory with 3 updates (#27665)
  ci: bump taiki-e/install-action from 2.89.1 to 2.90.0 in /.github/actions/setup (#27669)
  core: bump goauthentik/fips-python from `69e7058` to `b203e83` in /lifecycle/container (#27664)
  core: bump openapitools/openapi-generator-cli from v7.26.0 to v7.27.0 in /packages/client-go (#27661)
  stages/authenticator_validate: prevent WebAuthn challenge races (#26291)
  web/i18n: load the locale catalog before boot and remove msg() thunks (#27618)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:docs Features or issues related to Docusaurus

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants