fix: integrate 14 approved fix PRs (668,671,673,675,678-681,685-690) (#705)

* fix(javascript): preserve array index positions

Signed-off-by: RudyCelekli <47457359+rudycelekli@users.noreply.github.com>

* fix(javascript): respect object property overwrite order

Signed-off-by: RudyCelekli <47457359+rudycelekli@users.noreply.github.com>

* test(javascript): cover uncertain spread discriminants

Signed-off-by: RudyCelekli <47457359+rudycelekli@users.noreply.github.com>

* fix(javascript): keep nonfinite values outside JSON lattice

Signed-off-by: RudyCelekli <47457359+rudycelekli@users.noreply.github.com>

* fix(dotnet): keep non-CIL method implementations unknown

Signed-off-by: RudyCelekli <47457359+rudycelekli@users.noreply.github.com>

* test(package): separate CIL reconstruction from native imports

Signed-off-by: RudyCelekli <47457359+rudycelekli@users.noreply.github.com>

* fix(javascript): invalidate values on nontrivial binding writes

Signed-off-by: RudyCelekli <47457359+rudycelekli@users.noreply.github.com>

* fix(artifacts): align native DMG mount and detach lifecycle

Signed-off-by: RudyCelekli <47457359+rudycelekli@users.noreply.github.com>

* fix(browser): retain all literal worker import arguments

Signed-off-by: RudyCelekli <47457359+rudycelekli@users.noreply.github.com>

* fix(native): preserve final demangled symbol whitespace

Signed-off-by: RudyCelekli <47457359+rudycelekli@users.noreply.github.com>

* fix(dotnet): preserve C identifier underscores in native matching

Signed-off-by: RudyCelekli <47457359+rudycelekli@users.noreply.github.com>

* fix(browser): respect metadata key and overwrite semantics

Signed-off-by: RudyCelekli <47457359+rudycelekli@users.noreply.github.com>

* fix(javascript): keep optional parameter input unknown

Signed-off-by: RudyCelekli <47457359+rudycelekli@users.noreply.github.com>

* fix(dotnet): report observed method metadata changes

Signed-off-by: RudyCelekli <47457359+rudycelekli@users.noreply.github.com>

* docs(dotnet): synchronize generated conformance skill digest

Signed-off-by: RudyCelekli <47457359+rudycelekli@users.noreply.github.com>

* fix(browser): reject malformed indexed source-map offsets

Signed-off-by: RudyCelekli <47457359+rudycelekli@users.noreply.github.com>

* fix(native): preserve numeric-looking Mach-O identifiers

Signed-off-by: RudyCelekli <47457359+rudycelekli@users.noreply.github.com>

* docs: regenerate catalogs for integrated fix batch

* docs: regenerate catalogs after merging main (#702)

---------

Signed-off-by: RudyCelekli <47457359+rudycelekli@users.noreply.github.com>
Co-authored-by: RudyCelekli <47457359+rudycelekli@users.noreply.github.com>
This commit is contained in:
morluto
2026-10-06 16:31:00 +08:00
committed by GitHub
co-authored by RudyCelekli
parent 5bcb6645b5
commit cf061159ab
32 changed files with 797 additions and 73 deletions
+17 -4
View File
@@ -1,4 +1,4 @@
import { mkdtemp, rm } from "node:fs/promises";
import { mkdtemp, realpath, rm } from "node:fs/promises";
import { tmpdir } from "node:os";
import { basename, join } from "node:path";
import type { Readable } from "node:stream";
@@ -134,7 +134,7 @@ export class NativeDmgArtifactReader implements ArtifactReader {
async attach(signal?: AbortSignal): Promise<void> {
await runChecked(this.host, ["verify", this.path], signal);
this.#provenance.push(command(["verify", this.path], ["read"]));
this.#mountRoot = await mkdtemp(join(tmpdir(), "rea-dmg-"));
this.#mountRoot = await realpath(await mkdtemp(join(tmpdir(), "rea-dmg-")));
try {
const attached = await runChecked(
this.host,
@@ -150,8 +150,21 @@ export class NativeDmgArtifactReader implements ArtifactReader {
signal,
);
const parsed = attachOutputSchema.parse(parse(attached.stdout));
this.#devices = parsed["system-entities"].map(
(entity) => entity["dev-entry"],
const devices = [
...new Set(
parsed["system-entities"].map((entity) => entity["dev-entry"]),
),
];
// Detaching an observed whole disk also detaches its partitions. Do not
// subsequently detach the now-unavailable child devices.
this.#devices = devices.filter(
(device) =>
!devices.some(
(parent) =>
/^\/dev\/disk\d+$/u.test(parent) &&
device.startsWith(`${parent}s`) &&
/^\d+$/u.test(device.slice(parent.length + 1)),
),
);
if (this.#devices.length === 0)
throw new ArtifactReaderFailure(