File fails to open with "Null runtime should not receive messages"
Was seeing this error for a few files in Kusto query, and here is a repro (the file doesn't open due to this error):
https://fluidpreview.office.net/p/c3BvOmh0dHBzOi8vbWljcm9zb2Z0LnNoYXJlcG9pbnQtZGYuY29tL3RlYW1zL09mZmljZU9ubGluZVByYWd1ZQ%3D%3D/b%21BOyJN6Bkykm_L66EicZFaDKnQ_cydFFLqph8D-t_9vqaMsGC4Tm9RYec9Rh5aw3l/01N5X4JN44SKOXQVSETBFJAOXEV3UH3FC6/Craftsmanship-Review
Looks like the error message has changed, updating the bug title to reflect.
Issue is that in container.ts::loadCodeFromQuorum, we don't find a quorumKey which causes us to create a nullChaincode which later creates a nullRuntime. There's a note about back compat there and removing it in 0.7 (we're on 0.13 now?); not sure it's relevant but rather than having "code" or "code2" keys, the quorum has the "leader" key.
Downloaded the file and examined the snapshots; the latest snapshot is missing the code entry from the quorum (previous snapshots are fine). Does not look to be a versioning issue (version appears to be 0.10); Vlad suspects an SPO-related dataloss issue and is starting a conversation with the SPO team. Closing this issue.
@ZeguangWu We confirmed with SPO that this was due to a PUSH issue that got deployed back in Oct, around when the affected file was last saved. Not sure if Kusto has information on file timestamps, but I'd guess all the hits there are from the same ~1 day window. Also fyi in case it's worth notifying the user from which we got the repro document about the issue resolution 🤔