Skip to content

[WIP] Monkeytype Demo - #15651

Draft
melizeche wants to merge 2 commits into
mainfrom
mokeytype_demo
Draft

[WIP] Monkeytype Demo#15651
melizeche wants to merge 2 commits into
mainfrom
mokeytype_demo

Conversation

@melizeche

@melizeche melizeche commented Jul 18, 2025

Copy link
Copy Markdown
Member

Details

Demo for Mokeytype

monkeytype run manage.py runserver
monkeytype run manage.py test --parallel 1 authentik/core
monkeytype list-modules
monkeytype list-modules | grep core.
monkeytype stub authentik.core.models
monkeytype stub --diff authentik.core.models
monkeytype apply authentik.core.models

some links
https://github.com/Instagram/MonkeyType
https://monkeytype.readthedocs.io
https://github.com/typeddjango/djangorestframework-stubs
https://dev.to/ldrscke/type-annotate-an-existing-python-django-codebase-with-monkeytype-254i


Checklist

  • Local tests pass (ak test authentik/)
  • The code has been formatted (make lint-fix)

If an API change has been made

  • The API schema has been updated (make gen-build)

If changes to the frontend have been made

  • The code has been formatted (make web)

If applicable

  • The documentation has been updated
  • The documentation has been formatted (make docs)

@codecov

codecov Bot commented Jul 18, 2025

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 92.15%. Comparing base (4265e7b) to head (7325bfd).
⚠️ Report is 3362 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main   #15651      +/-   ##
==========================================
- Coverage   93.17%   92.15%   -1.03%     
==========================================
  Files         831      831              
  Lines       44161    44222      +61     
==========================================
- Hits        41149    40753     -396     
- Misses       3012     3469     +457     
Flag Coverage Δ
e2e 45.81% <100.00%> (-0.81%) ⬇️
integration ?
unit 91.28% <100.00%> (+<0.01%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

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

@netlify

netlify Bot commented Jul 18, 2025

Copy link
Copy Markdown

Deploy Preview for authentik-storybook ready!

Name Link
🔨 Latest commit 7325bfd
🔍 Latest deploy log https://app.netlify.com/projects/authentik-storybook/deploys/6881096eccf5c000081663a8
😎 Deploy Preview https://deploy-preview-15651--authentik-storybook.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 Jul 18, 2025

Copy link
Copy Markdown

Deploy Preview for authentik-docs canceled.

Name Link
🔨 Latest commit 7325bfd
🔍 Latest deploy log https://app.netlify.com/projects/authentik-docs/deploys/6881096ed655de0008e6ec4b

@netlify

netlify Bot commented Jul 18, 2025

Copy link
Copy Markdown

Deploy Preview for authentik-integrations failed. Why did it fail? →

Name Link
🔨 Latest commit 7325bfd
🔍 Latest deploy log https://app.netlify.com/projects/authentik-integrations/deploys/6881096e47074a000841e434

@github-actions

github-actions Bot commented Jul 18, 2025

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-7325bfde360baa3cbafa8b432597f808edcd4d64
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-7325bfde360baa3cbafa8b432597f808edcd4d64

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

@rissson

rissson commented Jul 18, 2025

Copy link
Copy Markdown
Member

Okay this actually rocks

@BeryJu BeryJu mentioned this pull request Sep 21, 2025
6 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants