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

BacLuc / ecamp3 / 27784703470
36%
devel: 36%

Build:
Build:
LAST BUILD BRANCH: frontend-stale-deployments
DEFAULT BRANCH: devel
Ran 18 Jun 2026 07:39PM UTC
Jobs 3
Files 696
Run time 1min
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

18 Jun 2026 07:39PM UTC coverage: 35.831%. First build
27784703470

push

github

BacLuc
fix(frontend): avoid resolving null user relation on loading collaborations

The _campRole computed in campRoleMixin called coll.user() on camp
collaborations to find the one belonging to the current user. The
`typeof coll.user === 'function'` guard was meant to skip invited
collaborators (whose `user` relation is null), and it works for loaded
resources: hal-json-vuex exposes a null relation as a plain null
property.

However, on a still-loading hal-json-vuex proxy every relation access
returns a function, so the guard passed for loading collaborations too.
Calling coll.user() then resolved to null once the collaboration
finished loading, rejecting the load promise with "Property 'user' ...
was used like a relation, but no relation with this name was returned by
the API (actual return value: null)" and surfacing as an unhandled
rejection in Sentry.

Skip still-loading collaborations before resolving .user(), and report
no role yet (null) while collaborations are loading. Add unit tests for
the mixin.

fixes https://github.com/ecamp/ecamp3/issues/10085

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Signed-off-by: BacLuc <lucius.bachmann@clubpage.ch>

844 of 4748 branches covered (17.78%)

Branch coverage included in aggregate %.

5 of 5 new or added lines in 1 file covered. (100.0%)

4865 of 11185 relevant lines covered (43.5%)

983.53 hits per line

Jobs
ID Job ID Ran Files Coverage
1 pdf - 27784703470.1 18 Jun 2026 07:39PM UTC 68
73.06
GitHub Action Run
2 frontend - 27784703470.2 18 Jun 2026 07:42PM UTC 389
15.4
GitHub Action Run
3 api - 27784703470.3 18 Jun 2026 07:43PM UTC 239
88.34
GitHub Action Run
Source Files on build 27784703470
  • Tree
  • List 696
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #27784703470
  • fec40180 on github
  • Delete
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