Skip to content

core: align django-channels-postgres psycopg[pool] floor with #22201 - #22363

Merged
rissson merged 1 commit into
goauthentik:mainfrom
GirlBossRush:task-align-django-channels-postgres
May 18, 2026
Merged

rissson merged 1 commit into
goauthentik:mainfrom
GirlBossRush:task-align-django-channels-postgres

Conversation

@GirlBossRush

Copy link
Copy Markdown
Contributor

Summary

  • Bumps the psycopg[pool] floor in the packages/django-channels-postgres workspace member from >=3,<4 to >=3.3.4,<4, regenerating uv.lock so its requires-dist mirror lands consistent.
  • Restores the intent of dependabot PR core: update psycopg[pool] requirement from <4,>=3 to >=3.3.4,<4 #22201, which moved the top-level floor to 3.3.4 but missed the workspace member. Since the root spec has since tightened to psycopg[c,pool]==3.3.4, this further constraint still resolves correctly — and aligning the floor closes the silent-drift class.

Background

On 2026-05-11 a window of ~7h of CI failures (run-level rate jumped from ~5% to ~12%) traced back to this drift: every job that hit uv sync --locked failed with a requires-dist mismatch between the workspace member and the lockfile. Main self-recovered on 2026-05-12 when an unrelated PR (cceb952429, web: bump uuid and mermaid) rebased and regenerated uv.lock incidentally. So the immediate CI breakage is gone — this PR closes the loop on the underlying constraint mismatch so the same dependabot interleave can't silently recur.

Validation

Inside a fresh dev container with uv on path:

  • uv lock — only uv.lock line changed is the workspace member's requires-dist mirror entry; no broader resolution drift
  • uv lock --check — exit 0
  • uv sync --locked — clean resolve

Reviewer notes

  • Worth a quick look that the workspace member's floor doesn't conflict with anything in the recent psycopg[c,pool]==3.3.4 pin at the root. >=3.3.4,<4 is satisfied by 3.3.4, so no resolution change is expected, but a second pair of eyes wouldn't hurt.
  • If there's a preferred convention for whether workspace members should pin exactly or use ranges, happy to tighten further.

Disclosure

Authored by an automated agent (playpen) following up on a CI-flake triage finding from yesterday. A separate read-only investigation agent identified the dependabot+uv-workspace drift as the W19 spike root cause; this PR is the documented two-line follow-up to keep the class of regression from recurring silently. The diff is minimal (2 files, 2 lines); a human operator sanity-checked the change and reviewed uv.lock for unexpected drift before push. The Co-Authored-By trailer attributes the work to the agent container.

…ntik#22201

Dependabot PR goauthentik#22201 (commit bb8a037) bumped the top-level
psycopg[pool] floor from `>=3,<4` to `>=3.3.4,<4` in the root
pyproject.toml, but did not update the workspace member at
packages/django-channels-postgres/pyproject.toml where the same
specifier still read `>=3,<4`. uv's requires-dist mirror in
uv.lock therefore landed inconsistent with the workspace member,
causing `uv lock --check` to fail in CI for ~7h on 2026-05-11.

Main self-recovered on 2026-05-12 via commit cceb952 (a routine
rebase regenerated uv.lock), but the workspace member constraint
was never aligned with the intent of goauthentik#22201. This commit does that.

The root specifier has since been further tightened to
`psycopg[c,pool]==3.3.4`; the workspace floor of `>=3.3.4,<4`
still satisfies that and matches the original intent.

Co-Authored-By: Agent (authentik-m-align-django-friendly-wild-grain) <[email protected]>
@GirlBossRush
GirlBossRush requested a review from a team as a code owner May 14, 2026 13:42
@netlify

netlify Bot commented May 14, 2026

Copy link
Copy Markdown

✅ Deploy Preview for authentik-docs ready!

Name Link
🔨 Latest commit 844e334
🔍 Latest deploy log https://app.netlify.com/projects/authentik-docs/deploys/6a05d13bf1cd700008374e45
😎 Deploy Preview https://deploy-preview-22363--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 May 14, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 93.23%. Comparing base (4be3985) to head (844e334).
⚠️ Report is 2 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main   #22363      +/-   ##
==========================================
+ Coverage   93.14%   93.23%   +0.09%     
==========================================
  Files        1032     1032              
  Lines       60051    60051              
  Branches      400      400              
==========================================
+ Hits        55933    55991      +58     
+ Misses       4118     4060      -58     
Flag Coverage Δ
conformance 36.61% <ø> (ø)
e2e 41.85% <ø> (+0.55%) ⬆️
integration 32.55% <ø> (-0.50%) ⬇️
rust 0.00% <ø> (ø)
unit 92.20% <ø> (-0.01%) ⬇️
unit-migrate 92.24% <ø> (-0.02%) ⬇️

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.

@rissson
rissson merged commit de3f5ea into goauthentik:main May 18, 2026
104 checks passed
kensternberg-authentik added a commit that referenced this pull request May 18, 2026
* main: (31 commits)
  core: bump aws-cdk-lib from 2.253.0 to 2.253.1 (#22378)
  website: Docs and README new screenshots (#22341)
  root: Update CODEOWNERS for spellcheck dictionaries (#22408)
  core, web: update translations (#22372)
  translate: Updates for project authentik and language fr_FR (#22366)
  core: align django-channels-postgres psycopg[pool] floor with #22201 (#22363)
  core: bump msgraph-sdk from 1.56.0 to 1.57.0 (#22379)
  ci: bump actions/create-github-app-token from 3.1.1 to 3.2.0 (#22381)
  core: bump types-docker from 7.1.0.20260409 to 7.1.0.20260508 (#22417)
  core: bump types-ldap3 from 2.9.13.20260408 to 2.9.13.20260508 (#22423)
  core: bump types-zxcvbn from 4.5.0.20260408 to 4.5.0.20260508 (#22418)
  web/table: fetch on first render when already visible (#22376)
  web: bump stylelint from 17.11.0 to 17.11.1 in /web (#22430)
  web: bump @typescript/native-preview from 7.0.0-dev.20260507.1 to 7.0.0-dev.20260510.1 in /web (#22426)
  web: bump lit from 3.3.2 to 3.3.3 in /web (#22427)
  web: bump @lit/localize-tools from 0.8.1 to 0.8.2 in /web (#22428)
  web: bump dompurify from 3.4.2 to 3.4.3 in /web (#22429)
  core: bump types-channels from 4.3.0.20260421 to 4.3.0.20260508 (#22419)
  web: bump @codemirror/legacy-modes from 6.5.2 to 6.5.3 in /web (#22431)
  core: bump types-requests from 2.33.0.20260503 to 2.33.0.20260508 (#22420)
  ...
kensternberg-authentik added a commit that referenced this pull request May 18, 2026
* main: (53 commits)
  core: bump aws-cdk-lib from 2.253.0 to 2.253.1 (#22378)
  website: Docs and README new screenshots (#22341)
  root: Update CODEOWNERS for spellcheck dictionaries (#22408)
  core, web: update translations (#22372)
  translate: Updates for project authentik and language fr_FR (#22366)
  core: align django-channels-postgres psycopg[pool] floor with #22201 (#22363)
  core: bump msgraph-sdk from 1.56.0 to 1.57.0 (#22379)
  ci: bump actions/create-github-app-token from 3.1.1 to 3.2.0 (#22381)
  core: bump types-docker from 7.1.0.20260409 to 7.1.0.20260508 (#22417)
  core: bump types-ldap3 from 2.9.13.20260408 to 2.9.13.20260508 (#22423)
  core: bump types-zxcvbn from 4.5.0.20260408 to 4.5.0.20260508 (#22418)
  web/table: fetch on first render when already visible (#22376)
  web: bump stylelint from 17.11.0 to 17.11.1 in /web (#22430)
  web: bump @typescript/native-preview from 7.0.0-dev.20260507.1 to 7.0.0-dev.20260510.1 in /web (#22426)
  web: bump lit from 3.3.2 to 3.3.3 in /web (#22427)
  web: bump @lit/localize-tools from 0.8.1 to 0.8.2 in /web (#22428)
  web: bump dompurify from 3.4.2 to 3.4.3 in /web (#22429)
  core: bump types-channels from 4.3.0.20260421 to 4.3.0.20260508 (#22419)
  web: bump @codemirror/legacy-modes from 6.5.2 to 6.5.3 in /web (#22431)
  core: bump types-requests from 2.33.0.20260503 to 2.33.0.20260508 (#22420)
  ...
kensternberg-authentik added a commit that referenced this pull request May 18, 2026
…ken-content-stylings

* web/flow/expose-flow-in-lightdom: (34 commits)
  Fix spacing and arrangement of 'Remember Me', now that it's in the lightDOM.
  Some minor nitpicking and cleanup.  Lots of comments; removed some dead code.
  Merge mess.
  core: bump aws-cdk-lib from 2.253.0 to 2.253.1 (#22378)
  website: Docs and README new screenshots (#22341)
  root: Update CODEOWNERS for spellcheck dictionaries (#22408)
  core, web: update translations (#22372)
  translate: Updates for project authentik and language fr_FR (#22366)
  core: align django-channels-postgres psycopg[pool] floor with #22201 (#22363)
  core: bump msgraph-sdk from 1.56.0 to 1.57.0 (#22379)
  ci: bump actions/create-github-app-token from 3.1.1 to 3.2.0 (#22381)
  core: bump types-docker from 7.1.0.20260409 to 7.1.0.20260508 (#22417)
  core: bump types-ldap3 from 2.9.13.20260408 to 2.9.13.20260508 (#22423)
  core: bump types-zxcvbn from 4.5.0.20260408 to 4.5.0.20260508 (#22418)
  web/table: fetch on first render when already visible (#22376)
  web: bump stylelint from 17.11.0 to 17.11.1 in /web (#22430)
  web: bump @typescript/native-preview from 7.0.0-dev.20260507.1 to 7.0.0-dev.20260510.1 in /web (#22426)
  web: bump lit from 3.3.2 to 3.3.3 in /web (#22427)
  web: bump @lit/localize-tools from 0.8.1 to 0.8.2 in /web (#22428)
  web: bump dompurify from 3.4.2 to 3.4.3 in /web (#22429)
  ...
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