Checks raw attachments, compression, split archives, payload limits and byte-for-byte reconstruction using the packaging function; it does not contact Discord.
Subsystem: Diagnostics, profiling, packaging and runtime integrity
Fixture/harness: releaseuploadtests
Setup: The script owns its temporary inputs and validation state; arguments and prerequisites are documented in the source.
Build/entry point: Tests/ReleaseUploadTests.ps1; inspect its arguments before invoking. Documentation generation does not execute it.
ReleaseUploadTests.ps1
Source: Tests/ReleaseUploadTests.ps1
Script checks
Fixture: Release Upload tests
Case symbol: script
Source: Tests/ReleaseUploadTests.ps1:1
- Test
- Checks raw attachments, compression, split archives, payload limits and byte-for-byte reconstruction using the packaging function; it does not contact Discord.
Source check messages (including original failure wording)
-
Small builds must retain two executable attachments.
-
Raw attachment changed bytes.
-
Oversized compressed output must fail before a network request.
-
Small compressed archives should remain one ZIP.
-
Excessive split counts must fail before a network request.
-
Splitting must not bypass the total message size limit.
-
Current x64 alpha must become two ZIP parts.
-
Part exceeds the attachment limit.
-
Parts exceed message size budget.
-
Split parts must be consecutively named in reassembly order.
-
Reassembled archive hash differs from the delivery instructions.
-
ZIP must contain exactly the two authorized binaries.
-
ZIP is missing $($file.Name).
-
ZIP changed $($file.Name).