Upgrade Group canisters to 2.0.2036
GitHub commit
https://github.com/open-chat-labs/open-chat/commit/b71241b80bac5049c1416cc43e23ad000778e112
Changelog
Description
This release is the seventh leg of the media hash-scanning rollout (versions 2.0.2030–2.0.2037; only the website release remains after this). Group canisters now queue media posted to public groups for hash scanning, and escalate scan matches through the existing CSAM detection path - the same behaviour the community canisters gained in 2.0.2035. As with the rest of the train, this is dormant until media scanning is enabled by the separate dual-authorized platform-operator action after the full train is released - no media is scanned by this release.
It also carries the edit-classification fix: a classification request is now sent on every message edit, even when nothing in the edited message is classifiable, so that a stale moderation flag is cleared when an edit removes the text which earned it. This is one of the preconditions, recorded on #9149, for ever enabling the text classifier.
The wasm is registered with the group_index, which rolls it out to all group canisters via the local user indexes.
Added
- Queue media posted to public groups for hash scanning and escalate scan matches via the existing CSAM detection path (#9161)
Changed
- Always send a classification request on edit, even when nothing is classifiable, so that stale moderation flags are cleared when an edit removes a message's text (#9154)
Wasm Verification
Verify that the hash of the gzipped WASM matches the proposed hash.
git fetch
git checkout b71241b80bac5049c1416cc43e23ad000778e112
./scripts/verify-release.sh 2.0.2036 b50d2e5527a98743fee5a15f847f5999d6e3ffd49675f5733167bc5fdf2ef582
Proposal to execute nervous system function:
Nervous system function:
NervousSystemFunction { id: 2001, name: "Upgrade group canisters", description: Some( "This will upload the given WASM to the group_index which will in turn call c2c_upgrade_group_canister_wasm on the local_group_index on each subnet. These will each trigger a rolling upgrade of group canisters on their subnet.", ), function_type: Some( GenericNervousSystemFunction( GenericNervousSystemFunction { target_canister_id: Some( 4ijyc-kiaaa-aaaaf-aaaja-cai, ), target_method_name: Some( "upgrade_group_canister_wasm", ), validator_canister_id: Some( 4ijyc-kiaaa-aaaaf-aaaja-cai, ), validator_method_name: Some( "upgrade_group_canister_wasm_validate", ), topic: Some( DappCanisterManagement, ), }, ), ), }
Payload sha256:
da836d887fd7780dc1edb91bf52bc7a38b90c13856c3d4bbf390682b85c9ee1e
Payload:
{ "version": { "major": 2, "minor": 0, "patch": 2036 }, "wasm_hash": "b50d2e5527a98743fee5a15f847f5999d6e3ffd49675f5733167bc5fdf2ef582", "filter": null }