Skip to content

core: add cooldown to dependabot - #21286

Merged
melizeche merged 8 commits into
mainfrom
add_exclude_newer
Apr 9, 2026
Merged

melizeche merged 8 commits into
mainfrom
add_exclude_newer

Conversation

@melizeche

@melizeche melizeche commented Mar 31, 2026 •

Copy link
Copy Markdown
Member

Details

To decrease exposure to supply chain attacks like
https://docs.litellm.ai/blog/security-update-march-2026
https://socket.dev/blog/axios-npm-package-compromised
https://www.endorlabs.com/learn/npm-axios-compromise

IMG_20260331_185129_914

Updated:

Replace the exclude-newer / min-release-age initial approach with dependabot's built-in cooldown feature. This delays automated dependency update PRs by a few days (7 for most, 14 for major bumps, 3 for patches) to reduce exposure to supply chain attacks, without blocking local dev workflows.

Security-critical deps like django, cryptography, golang-jwt, etc. are excluded from the cooldown so they get PRs immediately.


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 and clients have been updated (make gen)

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)

@netlify

netlify Bot commented Mar 31, 2026 •

Copy link
Copy Markdown

✅ Deploy Preview for authentik-docs ready!

Name Link
🔨 Latest commit 400053b
🔍 Latest deploy log https://app.netlify.com/projects/authentik-docs/deploys/69d51e7aa3000a0008d12e8c
😎 Deploy Preview https://deploy-preview-21286--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 Mar 31, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 92.27%. Comparing base (a5aac6e) to head (f8fb9eb).
⚠️ Report is 66 commits behind head on main.
✅ All tests successful. No failed tests found.

Additional details and impacted files
@@            Coverage Diff             @@
##             main   #21286      +/-   ##
==========================================
- Coverage   92.59%   92.27%   -0.33%     
==========================================
  Files        1023     1032       +9     
  Lines       58904    59654     +750     
  Branches     1791     2537     +746     
==========================================
+ Hits        54545    55044     +499     
- Misses       4310     4547     +237     
- Partials       49       63      +14     
Flag Coverage Δ
conformance 37.03% <ø> (+0.04%) ⬆️
e2e 42.96% <ø> (+0.25%) ⬆️
integration 33.96% <ø> (+0.03%) ⬆️
rust 60.58% <ø> (+1.34%) ⬆️
unit 91.89% <ø> (+<0.01%) ⬆️
unit-migrate 91.99% <ø> (+12.79%) ⬆️

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.

@melizeche
melizeche requested a review from a team as a code owner March 31, 2026 18:11
@melizeche melizeche changed the title core: add exclude_newer setting to pyproject.toml core: add exclude_newer setting to pyproject.toml and min-release-age to .npmrc Mar 31, 2026

@dominic-r dominic-r left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@melizeche
melizeche requested a review from a team as a code owner April 7, 2026 22:21
@netlify

netlify Bot commented Apr 7, 2026

Copy link
Copy Markdown

✅ Deploy Preview for authentik-integrations ready!

Name Link
🔨 Latest commit 7f63e19
🔍 Latest deploy log https://app.netlify.com/projects/authentik-integrations/deploys/69d58387b397620008342afc
😎 Deploy Preview https://deploy-preview-21286--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.

@melizeche melizeche changed the title core: add exclude_newer setting to pyproject.toml and min-release-age to .npmrc core: add cooldown to dependabot Apr 7, 2026
Comment thread .github/dependabot.yml
semver-patch-days: 3
exclude:
- "django"
- "cryptography"

@rissson rissson Apr 8, 2026 •

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'd add psycopg and pyopenssl maybe?

@github-project-automation github-project-automation Bot moved this from Todo to In Progress in authentik Core Apr 8, 2026
@netlify

netlify Bot commented Apr 9, 2026

Copy link
Copy Markdown

✅ Deploy Preview for authentik-storybook ready!

Name Link
🔨 Latest commit f8fb9eb
🔍 Latest deploy log https://app.netlify.com/projects/authentik-storybook/deploys/69d7e18ba94e9400085e320d
😎 Deploy Preview https://deploy-preview-21286--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.

@melizeche
melizeche enabled auto-merge (squash) April 9, 2026 17:33
@melizeche
melizeche merged commit b09b6e0 into main Apr 9, 2026
158 of 160 checks passed
@melizeche
melizeche deleted the add_exclude_newer branch April 9, 2026 18:02
@github-project-automation github-project-automation Bot moved this from In Progress to Done in authentik Core Apr 9, 2026
@github-actions

github-actions Bot commented Apr 9, 2026

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-f8fb9eb80ae45c12291548358910d16c46356ba5
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-f8fb9eb80ae45c12291548358910d16c46356ba5

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

kensternberg-authentik added a commit that referenced this pull request Apr 10, 2026
* main: (455 commits)
  web/e2e: accept options in NavigatorFixture.waitForPathname (#21507)
  web/styles: switch to upstream RedHat variable fonts and brighten orange palette (#21509)
  web/styles: add ak-c-loading-skeleton CSS component (#21510)
  core, web: update translations (#21532)
  core: bump lxml from 6.0.2 to 6.0.3 (#21523)
  core: bump library/node from `45babd1` to `9707cd4` in /lifecycle/container (#21522)
  tasks: better error message for Retry exceptions (#18235)
  web/admin: fix user list avatar (#21531)
  core: bump django from v5.2.12 to 5.2.13 (#21520)
  core: add cooldown to dependabot (#21286)
  web/admin: include avatar in user list page (#21518)
  events: add index on Event.user.pk (#19576)
  ci: always run apt update (#21516)
  enterprise/search: move QL to open source] (#21484)
  core: add logging when session decode fails (#21514)
  website/docs: Refactor email configuration (#21130)
  core: bump types-ldap3 from 2.9.13.20260402 to 2.9.13.20260408 (#21493)
  packages/ak-common/db: init (#21357)
  packages/ak-axum/extract/host: init (#21323)
  web: bump knip from 6.3.0 to 6.3.1 in /web (#21505)
  ...
davepgreene pushed a commit to davepgreene/authentik that referenced this pull request Apr 13, 2026
* add exclude_newer to pyproject.toml

* Add .npmrc with min-release-age setting

* Revert "Add .npmrc with min-release-age setting"

This reverts commit 5a1b5c1.

* Revert "add exclude_newer to pyproject.toml"

This reverts commit 5a148bb.

* Use dependabot cooldown instead of pyproject.toml and .npmrc

* Add psycopg and pyopenssl to the cooldown exclude list
davepgreene pushed a commit to davepgreene/authentik that referenced this pull request Apr 13, 2026
* add exclude_newer to pyproject.toml

* Add .npmrc with min-release-age setting

* Revert "Add .npmrc with min-release-age setting"

This reverts commit 5a1b5c1.

* Revert "add exclude_newer to pyproject.toml"

This reverts commit 5a148bb.

* Use dependabot cooldown instead of pyproject.toml and .npmrc

* Add psycopg and pyopenssl to the cooldown exclude list
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

3 participants