Skip to content

test(cron): pin profile-adapter routing seams (regression guard) - #16

Merged
girnarholdings merged 2 commits into
mainfrom
fix/pin-profile-adapter-seam
Aug 20, 2026
Merged

girnarholdings merged 2 commits into
mainfrom
fix/pin-profile-adapter-seam

Conversation

@girnarholdings

Copy link
Copy Markdown
Owner

Regression guard for the 2026-08-19 profile-delivery incident. The upstream catchup rebase (merge PR #14) silently dropped the fork's profile-adapter routing fix (PR #13, commit 27d7e15); every profile cron job delivered through the ROOT bot to the root DM for a day and per-profile channels went silent. No test pinned the seam, so CI stayed green while delivery was broken.

New test: test_multiplex_ticker_passes_profile_specific_adapters

  • asserts start() and _start_multiplex() carry the profile_adapters parameter
  • asserts _start_multiplex selects the per-profile adapter dict at the tick call site
  • asserts the root-adapter fallback for adapter-less (delegation-only) profiles
  • behaviorally verifies each profile tick receives ITS OWN adapter dict, never root

Verified both directions: FAILS on fa95c40 (pre-fix code, AssertionError at the seam), PASSES on 57bfb25 (fixed). Full tests/cron: 802 passed, 5 skipped.

…026-08-19)

The upstream catchup rebase (merge PR #14, 2026-08-19) silently dropped the
fork's profile-adapter routing fix (PR #13) — profile cron jobs delivered
through the root bot to the root DM for a day and every per-profile channel
went silent. No test pinned the three seams, so the drop was invisible to CI.

Add test_multiplex_ticker_passes_profile_specific_adapters:
- asserts start() and _start_multiplex() carry profile_adapters
- asserts _start_multiplex selects per-profile adapter dicts
- asserts the root fallback for adapter-less profiles
- behaviorally verifies each profile tick receives ITS OWN adapters

Verified: fails on fa95c40 (pre-fix), passes on 57bfb25 (fixed).
@github-actions

github-actions Bot commented Aug 20, 2026 •

Copy link
Copy Markdown

૮ >ﻌ< ა ci review

ran on 609b147 — ci: re-trigger checks

⚠️ Warnings

OSV vulnerability scan · View job

7 known vulnerabilities found in pinned dependencies.

How to fix:

Review the findings in the Security tab. Update the affected dependencies if a patched version is available.


debug info

CI timings

CI timings · View report · View job

Wall time 3m21s vs 4m44s (-29.2%). 11 job(s) slower, 11 faster, 2 unchanged.

  • Python tests / Run tests slice 4/12: -62.0s
  • Python tests / Run tests slice 6/12: -38.0s
  • Python tests / Run tests slice 10/12: -37.0s
  • Python tests / Run tests slice 9/12: +29.0s
  • Python tests / Run tests slice 3/12: -25.0s

@girnarholdings

Copy link
Copy Markdown
Owner Author

Clearing a stuck merge state from a transient 502; reopening to re-merge.

@girnarholdings
girnarholdings merged commit 878a4f2 into main Aug 20, 2026
46 checks passed
@girnarholdings
girnarholdings deleted the fix/pin-profile-adapter-seam branch August 20, 2026 21:58
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.

1 participant