Commit 37b3855
committed
fix(ci): disable OCM signed requests for federated share tests
The federated editing Cypress tests were failing because self-federated
OCM share notifications were being rejected due to RFC 9421 signature
verification failures. The CI server runs over plain HTTP, but
OCMSignatoryManager::fetchJwks() hardcodes https:// for JWKS URLs,
causing the fetch to fail. This results in confirmSignedOrigin()
throwing "instance is supposed to sign its request" and returning
HTTP 400, so the pending share is never created for the recipient and
document.odt never appears in the files list.
Set ocm_signed_request_disabled=true to bypass the signing requirement
in the HTTP test environment, where inter-server TLS is unavailable.
Also add an early assertion in shareFileToRemoteUser() so any future
federation setup failures produce a clear Cypress error rather than
silently cascading into a timeout on cy.openFile().
Assisted-by: ClaudeCode:claude-sonnet-4-6
Signed-off-by: Elizabeth Danzberger <elizabeth@elzody.dev>1 parent 4b6eb3e commit 37b3855
2 files changed
Lines changed: 3 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
154 | 154 | | |
155 | 155 | | |
156 | 156 | | |
| 157 | + | |
157 | 158 | | |
158 | 159 | | |
159 | 160 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
145 | 145 | | |
146 | 146 | | |
147 | 147 | | |
| 148 | + | |
| 149 | + | |
148 | 150 | | |
149 | 151 | | |
150 | 152 | | |
| |||
0 commit comments