• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

iplweb / bpp / 25822111192
65%

Build:
DEFAULT BRANCH: dev
Ran 13 May 2026 07:47PM UTC
Jobs 0
Files 0
Run time –
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

pending completion
25822111192

push

github

mpasternak
fix(notifications): rename bppNotifications->channelsBroadcast w templates + dokumentacja flake'u

Templates frontu projektu odwolywaly sie do `window.bppNotifications`,
ktory zostal usuniety wraz z lokalna apka `src/notifications/` w commicie
048c2cfa2 (drop-in zastapiona przez `django-channels-broadcast` na PyPI).
Nowy pakiet wystawia `window.channelsBroadcast`. Bez renamea inline
JS w `base.html` rzuca `TypeError: Cannot read properties of undefined`,
WebSocket nigdy sie nie otwiera, notyfikacje nie dochodza.

Zmiany w templates (5 plikow, 28 wystapien):
- `base.html`: `channelsBroadcast.init(...)` + `channelsBroadcast.addMessage(...)`
- `duplicate_authors.html`: 12x `channelsBroadcast.addMessage(...)`
- `lista.html`: 1x `channelsBroadcast.addMessage(...)`
- `import_dyscyplin_detail.html` + `import_dyscyplin_kolumny.html`:
  3x `channelsBroadcast.messageCookieId` (pre-existing dead access,
  stary pakiet tez tego nie ustawial; zmiana czysto kosmetyczna).

Plus `bundle-entry.js` linia 72: `void window.bppNotifications` ->
`void window.channelsBroadcast` (anti-tree-shake hint dla esbuild).
`grunt build` regeneruje `dist/bundle.js` z poprawnym globalem.

Defensive subscribe wait:
- `playwright_util.wait_for_channel_subscription(channel_name, since, timeout)`:
  poll Redis na `asgi:group:<channel>` az consumer Daphne skonczyl
  `group_add`. Score-based (`zcount(key, since=time.time()_pre_goto, +inf)`)
  pomija leftovery z testcontainer reuse mode.
- `preauth_asgi_page{,_per_test}` wywoluja powyzsze po
  `wait_for_websocket_connection` — eliminuja teoretyczna klase
  race conditions miedzy klient-OPEN i server-side `subscribe()`.

Dokumentacja diagnostyki sesji: `docs/CHANNELS_BROADCAST_FLAKE.md`:
- Co zweryfikowalismy (channel layer config, feature flags, subscribe
  race, frontend rendering, leftover w Redis, fixture scope).
- Co pozostaje niewyjasnione (`test_bpp_notifications` flake ~80% fail
  w pelnym pliku — frame nie dochodzi do browsera mimo ze... (continued)
Source Files on build 25822111192
Detailed source file information is not available for this build.
  • Back to Repo
  • Github Actions Build #25822111192
  • e4b2ebc6 on github
  • Prev Build on dev (#25816406359)
  • Next Build on dev (#25822811767)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc