c4-project / c4t

Runs concurrent C compiler tests
MIT License
1 stars 0 forks source link

Dashboard crashes because machines aren't configured yet #89

Closed MattWindsor91 closed 3 years ago

MattWindsor91 commented 3 years ago

The fix for #87 has inadvertently caused a major breakage on the dashboard: it currently allocates machine panels based on machine configuration events, which now happen after we request instance observers; the requests therefore fail with a fatal 'this hasn't been allocated yet' error.

The correct thing to do here, I think, is to bite the bun and rearchitect the dash so that:

Once we've done that, we can think about opening a side-channel between Dash and StatPersister to let the dash read stats from there.

MattWindsor91 commented 3 years ago

Seems to be fixed now.