Skip to content

core: return relative app launch URL to improve app list performance #21937

core: return relative app launch URL to improve app list performance

core: return relative app launch URL to improve app list performance #21937

Triggered via pull request July 4, 2024 10:59
Status Failure
Total duration 16m 0s
Artifacts

ci-main.yml

on: pull_request
Matrix: lint
Matrix: test-e2e
Matrix: test-migrations-from-stable
Matrix: test-unittest
ci-core-mark
0s
ci-core-mark
Matrix: build
pr-comment
0s
pr-comment
Fit to window
Zoom out
Zoom in

Annotations

34 errors and 4 warnings
lint (ruff)
Process completed with exit code 2.
lint (black)
Process completed with exit code 2.
test-unittest - PostgreSQL 16-alpine: authentik/core/tests/test_applications_api.py#L58
TestApplicationsAPI.test_list AssertionError: {'pag[209 chars]d', 'provider': 151, 'provider_obj': {'pk': 15[723 chars]''}]} != {'pag[209 chars]d', 'group': '', 'provider': 151, 'provider_ob[721 chars]y'}]} {'pagination': {'count': 2, 'current': 1, 'end_index': 2, 'next': 0, 'previous': 0, 'start_index': 1, 'total_pages': 1}, 'results': [{'backchannel_providers': [], 'backchannel_providers_obj': [], 'group': '', - 'launch_url': 'http://testserver/application/launch/allowed/', + 'launch_url': 'https://goauthentik.io/cFXciqlgROxgAGmvV0dx', 'meta_description': '', 'meta_icon': None, 'meta_launch_url': 'https://goauthentik.io/%(username)s', 'meta_publisher': '', 'name': 'allowed', 'open_in_new_tab': True, 'pk': '7a1ec0fd-6ae6-4e7e-9405-7d3239875a6b', 'policy_engine_mode': 'any', 'provider': 151, 'provider_obj': {'assigned_application_name': 'allowed', 'assigned_application_slug': 'allowed', 'authentication_flow': None, 'authorization_flow': 'f7b1f59b-675e-4c54-a4a0-8f8c344acc21', 'component': 'ak-provider-oauth2-form', 'meta_model_name': 'authentik_providers_oauth2.oauth2provider', 'name': 'test', 'pk': 151, 'property_mappings': [], 'verbose_name': 'OAuth2/OpenID Provider', 'verbose_name_plural': 'OAuth2/OpenID ' 'Providers'}, 'slug': 'allowed'}]}
test-unittest - PostgreSQL 16-alpine: authentik/core/tests/test_applications_api.py#L58
TestApplicationsAPI.test_list_superuser_full_list AssertionError: {'pag[209 chars]d', 'provider': 153, 'provider_obj': {'pk': 15[1127 chars]''}]} != {'pag[209 chars]d', 'group': '', 'provider': 153, 'provider_ob[1083 chars]d'}]} {'pagination': {'count': 2, 'current': 1, 'end_index': 2, 'next': 0, 'previous': 0, 'start_index': 1, 'total_pages': 1}, 'results': [{'backchannel_providers': [], 'backchannel_providers_obj': [], 'group': '', - 'launch_url': 'http://testserver/application/launch/allowed/', + 'launch_url': 'https://goauthentik.io/clu0Mi5yey6osR8FGM4z', 'meta_description': '', 'meta_icon': None, 'meta_launch_url': 'https://goauthentik.io/%(username)s', 'meta_publisher': '', 'name': 'allowed', 'open_in_new_tab': True, 'pk': '478586b8-c2fa-4429-a94e-b83a22339c38', 'policy_engine_mode': 'any', 'provider': 153, 'provider_obj': {'assigned_application_name': 'allowed', 'assigned_application_slug': 'allowed', 'authentication_flow': None, 'authorization_flow': 'e08b28c2-c629-4fa2-8a66-5aea7e618571', 'component': 'ak-provider-oauth2-form', 'meta_model_name': 'authentik_providers_oauth2.oauth2provider', 'name': 'test', 'pk': 153, 'property_mappings': [], 'verbose_name': 'OAuth2/OpenID Provider', 'verbose_name_plural': 'OAuth2/OpenID ' 'Providers'}, 'slug': 'allowed'}, {'backchannel_providers': [], 'backchannel_providers_obj': [], 'group': '', - 'launch_url': 'http://testserver/application/launch/denied/', + 'launch_url': None, 'meta_description': '', 'meta_icon': None, 'meta_launch_url': '', 'meta_publisher': '', 'name': 'denied', 'open_in_new_tab': False, 'pk': '747a8497-9b84-4d8d-ac24-b16df9c97b59', 'policy_engine_mode': 'any', 'provider': None, 'provider_obj': None, 'slug': 'denied'}]}
test-unittest - PostgreSQL 16-alpine
Process completed with exit code 2.
test-unittest - PostgreSQL 15-alpine: authentik/core/tests/test_applications_api.py#L58
TestApplicationsAPI.test_list_superuser_full_list AssertionError: {'pag[209 chars]d', 'provider': 120, 'provider_obj': {'pk': 12[1127 chars]''}]} != {'pag[209 chars]d', 'group': '', 'provider': 120, 'provider_ob[1083 chars]d'}]} {'pagination': {'count': 2, 'current': 1, 'end_index': 2, 'next': 0, 'previous': 0, 'start_index': 1, 'total_pages': 1}, 'results': [{'backchannel_providers': [], 'backchannel_providers_obj': [], 'group': '', - 'launch_url': 'http://testserver/application/launch/allowed/', + 'launch_url': 'https://goauthentik.io/6yQikONlZ0cFdgaJp3By', 'meta_description': '', 'meta_icon': None, 'meta_launch_url': 'https://goauthentik.io/%(username)s', 'meta_publisher': '', 'name': 'allowed', 'open_in_new_tab': True, 'pk': 'e4c2847e-8984-42ac-9246-58c0e36cddcc', 'policy_engine_mode': 'any', 'provider': 120, 'provider_obj': {'assigned_application_name': 'allowed', 'assigned_application_slug': 'allowed', 'authentication_flow': None, 'authorization_flow': '536275b7-82ab-49fa-bcc6-ac9a43590fa7', 'component': 'ak-provider-oauth2-form', 'meta_model_name': 'authentik_providers_oauth2.oauth2provider', 'name': 'test', 'pk': 120, 'property_mappings': [], 'verbose_name': 'OAuth2/OpenID Provider', 'verbose_name_plural': 'OAuth2/OpenID ' 'Providers'}, 'slug': 'allowed'}, {'backchannel_providers': [], 'backchannel_providers_obj': [], 'group': '', - 'launch_url': 'http://testserver/application/launch/denied/', + 'launch_url': None, 'meta_description': '', 'meta_icon': None, 'meta_launch_url': '', 'meta_publisher': '', 'name': 'denied', 'open_in_new_tab': False, 'pk': '5e1b0096-d5f8-4daa-ac07-9fedb0bf42da', 'policy_engine_mode': 'any', 'provider': None, 'provider_obj': None, 'slug': 'denied'}]}
test-unittest - PostgreSQL 15-alpine: authentik/core/tests/test_applications_api.py#L58
TestApplicationsAPI.test_list AssertionError: {'pag[209 chars]d', 'provider': 121, 'provider_obj': {'pk': 12[723 chars]''}]} != {'pag[209 chars]d', 'group': '', 'provider': 121, 'provider_ob[721 chars]y'}]} {'pagination': {'count': 2, 'current': 1, 'end_index': 2, 'next': 0, 'previous': 0, 'start_index': 1, 'total_pages': 1}, 'results': [{'backchannel_providers': [], 'backchannel_providers_obj': [], 'group': '', - 'launch_url': 'http://testserver/application/launch/allowed/', + 'launch_url': 'https://goauthentik.io/5eoImsDDC7SpVwJIggsM', 'meta_description': '', 'meta_icon': None, 'meta_launch_url': 'https://goauthentik.io/%(username)s', 'meta_publisher': '', 'name': 'allowed', 'open_in_new_tab': True, 'pk': 'a36f18ed-0ae1-4c95-b1cb-f4562da74cef', 'policy_engine_mode': 'any', 'provider': 121, 'provider_obj': {'assigned_application_name': 'allowed', 'assigned_application_slug': 'allowed', 'authentication_flow': None, 'authorization_flow': '8d8cbf78-6d9d-4ad7-8dc9-cbb057243ab2', 'component': 'ak-provider-oauth2-form', 'meta_model_name': 'authentik_providers_oauth2.oauth2provider', 'name': 'test', 'pk': 121, 'property_mappings': [], 'verbose_name': 'OAuth2/OpenID Provider', 'verbose_name_plural': 'OAuth2/OpenID ' 'Providers'}, 'slug': 'allowed'}]}
test-unittest - PostgreSQL 15-alpine
Process completed with exit code 2.
test-migrations-from-stable - PostgreSQL 15-alpine
Cannot open: File exists
test-migrations-from-stable - PostgreSQL 15-alpine
Cannot open: File exists
test-migrations-from-stable - PostgreSQL 15-alpine
Cannot open: File exists
test-migrations-from-stable - PostgreSQL 15-alpine
Cannot open: File exists
test-migrations-from-stable - PostgreSQL 15-alpine
Cannot open: File exists
test-migrations-from-stable - PostgreSQL 15-alpine
Cannot open: File exists
test-migrations-from-stable - PostgreSQL 15-alpine
Cannot open: File exists
test-migrations-from-stable - PostgreSQL 15-alpine
Cannot open: File exists
test-migrations-from-stable - PostgreSQL 15-alpine
Cannot open: File exists
test-migrations-from-stable - PostgreSQL 15-alpine
Cannot open: File exists
test-migrations-from-stable - PostgreSQL 15-alpine: authentik/core/tests/test_applications_api.py#L58
TestApplicationsAPI.test_list_superuser_full_list AssertionError: {'pag[209 chars]d', 'provider': 157, 'provider_obj': {'pk': 15[1127 chars]''}]} != {'pag[209 chars]d', 'group': '', 'provider': 157, 'provider_ob[1083 chars]d'}]} {'pagination': {'count': 2, 'current': 1, 'end_index': 2, 'next': 0, 'previous': 0, 'start_index': 1, 'total_pages': 1}, 'results': [{'backchannel_providers': [], 'backchannel_providers_obj': [], 'group': '', - 'launch_url': 'http://testserver/application/launch/allowed/', + 'launch_url': 'https://goauthentik.io/Qtm8C1XNKq9I5mSIY2Ny', 'meta_description': '', 'meta_icon': None, 'meta_launch_url': 'https://goauthentik.io/%(username)s', 'meta_publisher': '', 'name': 'allowed', 'open_in_new_tab': True, 'pk': 'df537b26-ed0e-42ab-8e41-a35fafdb392d', 'policy_engine_mode': 'any', 'provider': 157, 'provider_obj': {'assigned_application_name': 'allowed', 'assigned_application_slug': 'allowed', 'authentication_flow': None, 'authorization_flow': '58d519dd-f13e-4713-bfb4-0cb60d52563a', 'component': 'ak-provider-oauth2-form', 'meta_model_name': 'authentik_providers_oauth2.oauth2provider', 'name': 'test', 'pk': 157, 'property_mappings': [], 'verbose_name': 'OAuth2/OpenID Provider', 'verbose_name_plural': 'OAuth2/OpenID ' 'Providers'}, 'slug': 'allowed'}, {'backchannel_providers': [], 'backchannel_providers_obj': [], 'group': '', - 'launch_url': 'http://testserver/application/launch/denied/', + 'launch_url': None, 'meta_description': '', 'meta_icon': None, 'meta_launch_url': '', 'meta_publisher': '', 'name': 'denied', 'open_in_new_tab': False, 'pk': 'a552b39f-855e-42c7-a3a0-d301349806c9', 'policy_engine_mode': 'any', 'provider': None, 'provider_obj': None, 'slug': 'denied'}]}
test-migrations-from-stable - PostgreSQL 15-alpine: authentik/core/tests/test_applications_api.py#L58
TestApplicationsAPI.test_list AssertionError: {'pag[209 chars]d', 'provider': 158, 'provider_obj': {'pk': 15[723 chars]''}]} != {'pag[209 chars]d', 'group': '', 'provider': 158, 'provider_ob[721 chars]y'}]} {'pagination': {'count': 2, 'current': 1, 'end_index': 2, 'next': 0, 'previous': 0, 'start_index': 1, 'total_pages': 1}, 'results': [{'backchannel_providers': [], 'backchannel_providers_obj': [], 'group': '', - 'launch_url': 'http://testserver/application/launch/allowed/', + 'launch_url': 'https://goauthentik.io/wFM6evto4ATFkF5VmWy3', 'meta_description': '', 'meta_icon': None, 'meta_launch_url': 'https://goauthentik.io/%(username)s', 'meta_publisher': '', 'name': 'allowed', 'open_in_new_tab': True, 'pk': '10ccbada-ace0-4a51-a5a5-147c0d8bf24e', 'policy_engine_mode': 'any', 'provider': 158, 'provider_obj': {'assigned_application_name': 'allowed', 'assigned_application_slug': 'allowed', 'authentication_flow': None, 'authorization_flow': '94a56715-c1d2-4f21-8a0a-d5ae48f4b0cd', 'component': 'ak-provider-oauth2-form', 'meta_model_name': 'authentik_providers_oauth2.oauth2provider', 'name': 'test', 'pk': 158, 'property_mappings': [], 'verbose_name': 'OAuth2/OpenID Provider', 'verbose_name_plural': 'OAuth2/OpenID ' 'Providers'}, 'slug': 'allowed'}]}
test-migrations-from-stable - PostgreSQL 15-alpine
Process completed with exit code 2.
test-migrations-from-stable - PostgreSQL 16-alpine
Cannot open: File exists
test-migrations-from-stable - PostgreSQL 16-alpine
Cannot open: File exists
test-migrations-from-stable - PostgreSQL 16-alpine
Cannot open: File exists
test-migrations-from-stable - PostgreSQL 16-alpine
Cannot open: File exists
test-migrations-from-stable - PostgreSQL 16-alpine
Cannot open: File exists
test-migrations-from-stable - PostgreSQL 16-alpine
Cannot open: File exists
test-migrations-from-stable - PostgreSQL 16-alpine
Cannot open: File exists
test-migrations-from-stable - PostgreSQL 16-alpine
Cannot open: File exists
test-migrations-from-stable - PostgreSQL 16-alpine
Cannot open: File exists
test-migrations-from-stable - PostgreSQL 16-alpine
Cannot open: File exists
test-migrations-from-stable - PostgreSQL 16-alpine: authentik/core/tests/test_applications_api.py#L58
TestApplicationsAPI.test_list_superuser_full_list AssertionError: {'pag[209 chars]d', 'provider': 25, 'provider_obj': {'pk': 25,[1125 chars]''}]} != {'pag[209 chars]d', 'group': '', 'provider': 25, 'provider_obj[1081 chars]d'}]} {'pagination': {'count': 2, 'current': 1, 'end_index': 2, 'next': 0, 'previous': 0, 'start_index': 1, 'total_pages': 1}, 'results': [{'backchannel_providers': [], 'backchannel_providers_obj': [], 'group': '', - 'launch_url': 'http://testserver/application/launch/allowed/', + 'launch_url': 'https://goauthentik.io/rHHwMkJnwSSZ8CZZhxK4', 'meta_description': '', 'meta_icon': None, 'meta_launch_url': 'https://goauthentik.io/%(username)s', 'meta_publisher': '', 'name': 'allowed', 'open_in_new_tab': True, 'pk': '611ec523-91bc-444a-b3d9-dc0db38b1afc', 'policy_engine_mode': 'any', 'provider': 25, 'provider_obj': {'assigned_application_name': 'allowed', 'assigned_application_slug': 'allowed', 'authentication_flow': None, 'authorization_flow': '8a4e1647-1c9d-4ef7-951c-b9692d8daaae', 'component': 'ak-provider-oauth2-form', 'meta_model_name': 'authentik_providers_oauth2.oauth2provider', 'name': 'test', 'pk': 25, 'property_mappings': [], 'verbose_name': 'OAuth2/OpenID Provider', 'verbose_name_plural': 'OAuth2/OpenID ' 'Providers'}, 'slug': 'allowed'}, {'backchannel_providers': [], 'backchannel_providers_obj': [], 'group': '', - 'launch_url': 'http://testserver/application/launch/denied/', + 'launch_url': None, 'meta_description': '', 'meta_icon': None, 'meta_launch_url': '', 'meta_publisher': '', 'name': 'denied', 'open_in_new_tab': False, 'pk': 'e40762cb-3494-46d4-97a6-4727efdd5167', 'policy_engine_mode': 'any', 'provider': None, 'provider_obj': None, 'slug': 'denied'}]}
test-migrations-from-stable - PostgreSQL 16-alpine: authentik/core/tests/test_applications_api.py#L58
TestApplicationsAPI.test_list AssertionError: {'pag[209 chars]d', 'provider': 28, 'provider_obj': {'pk': 28,[721 chars]''}]} != {'pag[209 chars]d', 'group': '', 'provider': 28, 'provider_obj[719 chars]y'}]} {'pagination': {'count': 2, 'current': 1, 'end_index': 2, 'next': 0, 'previous': 0, 'start_index': 1, 'total_pages': 1}, 'results': [{'backchannel_providers': [], 'backchannel_providers_obj': [], 'group': '', - 'launch_url': 'http://testserver/application/launch/allowed/', + 'launch_url': 'https://goauthentik.io/7pAHVAZ36raroN97rFp7', 'meta_description': '', 'meta_icon': None, 'meta_launch_url': 'https://goauthentik.io/%(username)s', 'meta_publisher': '', 'name': 'allowed', 'open_in_new_tab': True, 'pk': 'c636af06-1440-4342-8b8a-9704a697a5f1', 'policy_engine_mode': 'any', 'provider': 28, 'provider_obj': {'assigned_application_name': 'allowed', 'assigned_application_slug': 'allowed', 'authentication_flow': None, 'authorization_flow': '7e441618-d85e-457d-8fa7-242487adcaac', 'component': 'ak-provider-oauth2-form', 'meta_model_name': 'authentik_providers_oauth2.oauth2provider', 'name': 'test', 'pk': 28, 'property_mappings': [], 'verbose_name': 'OAuth2/OpenID Provider', 'verbose_name_plural': 'OAuth2/OpenID ' 'Providers'}, 'slug': 'allowed'}]}
test-migrations-from-stable - PostgreSQL 16-alpine
Process completed with exit code 2.
test-unittest - PostgreSQL 16-alpine
Codecov: Failed to properly upload report: The process '/home/runner/work/_actions/codecov/codecov-action/v4/dist/codecov' failed with exit code 1
test-unittest - PostgreSQL 15-alpine
Codecov: Failed to properly upload report: The process '/home/runner/work/_actions/codecov/codecov-action/v4/dist/codecov' failed with exit code 1
test-migrations-from-stable - PostgreSQL 15-alpine
Failed to restore: "/usr/bin/tar" failed with error: The process '/usr/bin/tar' failed with exit code 2
test-migrations-from-stable - PostgreSQL 16-alpine
Failed to restore: "/usr/bin/tar" failed with error: The process '/usr/bin/tar' failed with exit code 2