Skip to content

website/integrations: Seerr: cleanup - #23287

Merged
dewi-tik merged 3 commits into
mainfrom
sdko/integrcleanup/seerr
Jun 26, 2026
Merged

dewi-tik merged 3 commits into
mainfrom
sdko/integrcleanup/seerr

Conversation

@dominic-r

Copy link
Copy Markdown
Member

Effort: Integration Cleanup 2026-05. See #team-docs for more information and tracking spreadsheet.

Tracked in #23099

@dominic-r
dominic-r requested a review from a team as a code owner June 22, 2026 20:02
@dominic-r dominic-r added the area:docs Features or issues related to Docusaurus label Jun 22, 2026
@dominic-r dominic-r self-assigned this Jun 22, 2026
@netlify

netlify Bot commented Jun 22, 2026 •

Copy link
Copy Markdown

✅ Deploy Preview for authentik-integrations ready!

Name Link
🔨 Latest commit 519e350
🔍 Latest deploy log https://app.netlify.com/projects/authentik-integrations/deploys/6a3e3fc3193c45000971e282
😎 Deploy Preview https://deploy-preview-23287--authentik-integrations.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@netlify

netlify Bot commented Jun 22, 2026 •

Copy link
Copy Markdown

✅ Deploy Preview for authentik-docs ready!

Name Link
🔨 Latest commit 519e350
🔍 Latest deploy log https://app.netlify.com/projects/authentik-docs/deploys/6a3e3fc3650769000843e900
😎 Deploy Preview https://deploy-preview-23287--authentik-docs.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@codecov

codecov Bot commented Jun 22, 2026 •

Copy link
Copy Markdown

❌ 1 Tests Failed:

Tests completed Failed Passed Skipped
3604 1 3603 1
View the top 1 failed test(s) by shortest run time
authentik.stages.authenticator_validate.tests.test_throttling.ValidateStageThrottlingFlowTests::test_bad_code_then_correct_code_is_still_blocked
Stack Traces | 3.92s run time
self = <unittest.case._Outcome object at 0x7eff55bc8380>
test_case = <authentik.stages.authenticator_validate.tests.test_throttling.ValidateStageThrottlingFlowTests testMethod=test_bad_code_then_correct_code_is_still_blocked>
subTest = False

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

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

self = <authentik.stages.authenticator_validate.tests.test_throttling.ValidateStageThrottlingFlowTests testMethod=test_bad_code_then_correct_code_is_still_blocked>
result = <TestCaseFunction test_bad_code_then_correct_code_is_still_blocked>

    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.6.............../x64/lib/python3.14/unittest/case.py:669: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <authentik.stages.authenticator_validate.tests.test_throttling.ValidateStageThrottlingFlowTests testMethod=test_bad_code_then_correct_code_is_still_blocked>
method = <bound method ValidateStageThrottlingFlowTests.test_bad_code_then_correct_code_is_still_blocked of <authentik.stages.a...te.tests.test_throttling.ValidateStageThrottlingFlowTests testMethod=test_bad_code_then_correct_code_is_still_blocked>>

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

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

self = <authentik.stages.authenticator_validate.tests.test_throttling.ValidateStageThrottlingFlowTests testMethod=test_bad_code_then_correct_code_is_still_blocked>

    def test_bad_code_then_correct_code_is_still_blocked(self):
        """After a bad code over HTTP, a subsequent correct code is still rejected
        because the lockout persists in the database."""
        device = EmailDevice.objects.create(
            user=self.user,
            confirmed=True,
            stage=self.email_stage,
            email="[email protected]",
        )
        self._identify()
        self._select_email(device)
        # Server generated and stored the token - grab it from DB.
        device.refresh_from_db()
        token = device.token
        # First attempt: bad code - must increment the DB counter.
        self.client.post(
            reverse("authentik_api:flow-executor", kwargs={"flow_slug": self.flow.slug}),
            {"component": "ak-stage-authenticator-validate", "code": "000000"},
        )
        device.refresh_from_db()
        self.assertEqual(device.throttling_failure_count, 1)
        self.assertEqual(device.token, token)
        # Second attempt with the correct token - still blocked.
        response = self.client.post(
            reverse("authentik_api:flow-executor", kwargs={"flow_slug": self.flow.slug}),
            {"component": "ak-stage-authenticator-validate", "code": token},
        )
>       self.assertStageResponse(
            response,
            flow=self.flow,
            component="ak-stage-authenticator-validate",
        )

.../authenticator_validate/tests/test_throttling.py:238: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <authentik.stages.authenticator_validate.tests.test_throttling.ValidateStageThrottlingFlowTests testMethod=test_bad_code_then_correct_code_is_still_blocked>
response = <HttpChallengeResponse status_code=200, "application/json">
flow = <Flow: Flow dKdDgImA9n (dkddgima9n)>, user = None
kwargs = {'component': 'ak-stage-authenticator-validate'}

    def assertStageResponse(
        self,
        response: HttpResponse,
        flow: Flow | None = None,
        user: User | None = None,
        **kwargs,
    ) -> dict[str, Any]:
        """Assert various attributes of a stage response"""
        self.assertEqual(response.status_code, 200)
        raw_response = loads(response.content.decode())
        self.assertIsNotNone(raw_response["component"])
        if flow:
>           self.assertIn("flow_info", raw_response)

.../flows/tests/__init__.py:34: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <authentik.stages.authenticator_validate.tests.test_throttling.ValidateStageThrottlingFlowTests testMethod=test_bad_code_then_correct_code_is_still_blocked>
member = 'flow_info', container = {'component': 'xak-flow-redirect', 'to': '/'}
msg = None

    def assertIn(self, member, container, msg=None):
        """Just like self.assertTrue(a in b), but with a nicer default message."""
        if member not in container:
            standardMsg = '%s not found in %s' % (safe_repr(member),
                                                  safe_repr(container))
>           self.fail(self._formatMessage(msg, standardMsg))

.../hostedtoolcache/Python/3.14.6.............../x64/lib/python3.14/unittest/case.py:1192: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <authentik.stages.authenticator_validate.tests.test_throttling.ValidateStageThrottlingFlowTests testMethod=test_bad_code_then_correct_code_is_still_blocked>
msg = "'flow_info' not found in {'component': 'xak-flow-redirect', 'to': '/'}"

    def fail(self, msg=None):
        """Fail immediately, with the given message."""
>       raise self.failureException(msg)
E       AssertionError: 'flow_info' not found in {'component': 'xak-flow-redirect', 'to': '/'}

.../hostedtoolcache/Python/3.14.6.............../x64/lib/python3.14/unittest/case.py:750: AssertionError

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

@github-project-automation github-project-automation Bot moved this from Todo to In Progress in authentik Core Jun 26, 2026
@dewi-tik
dewi-tik enabled auto-merge (squash) June 26, 2026 09:00
@dewi-tik
dewi-tik merged commit cb83386 into main Jun 26, 2026
109 checks passed
@dewi-tik
dewi-tik deleted the sdko/integrcleanup/seerr branch June 26, 2026 09:30
@github-project-automation github-project-automation Bot moved this from In Progress to Done in authentik Core Jun 26, 2026
@github-actions

Copy link
Copy Markdown
Contributor

authentik PR Installation instructions

Instructions for docker-compose

Add the following block to your .env file:

AUTHENTIK_IMAGE=ghcr.io/goauthentik/dev-server
AUTHENTIK_TAG=gh-519e350fcf50e7b86e0b026fe06448ab0b08771b
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-519e350fcf50e7b86e0b026fe06448ab0b08771b

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

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

Archived in project

Development

Successfully merging this pull request may close these issues.

2 participants