@ai-ecoverse/slicc-kernel 1.135.4 → 1.135.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/dist/kernel-worker.js +1 -1
- package/dist/node-process-worker.js +6 -3
- package/dist/node-process-worker.js.map +2 -2
- package/dist/node.js +1 -1
- package/dist/process-worker.js +6 -3
- package/dist/process-worker.js.map +2 -2
- package/dist/types/process/wasi/wasi-host.d.ts +1 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1204,7 +1204,7 @@ Releases are cut by semantic-release on every push to `main`, in two jobs, and o
|
|
|
1204
1204
|
|
|
1205
1205
|
Every change is certified in its pull request, before it merges (`cert-review-pr.yml`, next section), and `cert-review` is a required check of the merge queue, so every commit on `main`, and every release built from it, was certified first. A release is then **verified on npm** (`release / verify on npm` in `release.yml`, `tools/cert-review/verify.mjs`), in code, for every tag the run made:
|
|
1206
1206
|
|
|
1207
|
-
- It waits up to an hour for npm to serve the version (an accepted publish can take a while to appear; 1.125.4 took 55 min). `release-recover`
|
|
1207
|
+
- It waits up to an hour for npm to serve the version (an accepted publish can take a while to appear; 1.125.4 took 55 min). `release-recover` logs `npm publish`'s own output every time, and says PASS for a version it published only once npm serves it (the tarball answers) with `dist.integrity` equal to the tarball it packed; a version npm took but doesn't serve so after 25 min is `release-recover: INCOMPLETE`, and the publish job fails (#1228: 1.134.2 was taken, never served, and still read as PASS). A version semantic-release itself just published is handed to this job instead. A version npm still doesn't serve after the hour, and doesn't list, while a newer one of ours is its `latest`, ends with `verify: SKIPPED <name>@<version>: never served by npm; superseded by <latest>` (the gate takes SKIPPED like PASS); only after the whole wait, since a slow version can appear late and must not go unverified. SKIPPED writes no certified line, so nothing downstream reads it as certified; if npm serves a skipped version later, the coordinator's merge watchdog notes it within 10 min (any version that appears below npm's `latest`), and the coordinator re-runs `release / verify on npm` in that version's Release run for the normal verdict, the certified line or the supply-chain alert. One npm still doesn't serve, with nothing newer or a version list it can't read, is a "not served yet, re-run" failure, never a supply-chain alert. It then downloads the tarball and checks `dist.integrity` (sha512), the SLSA v1 provenance (the tarball's sha512 is its subject; `release.yml` on `refs/heads/main`, a GitHub-hosted builder; `gitCommit` = `gitHead` = the tag, on `main`), and `npm audit signatures`. npm serves a version's attestations a little after the version itself, so a 404 from the attestations, a missing `dist.attestations`, an `npm view` or network error while looking for them, or `npm audit signatures`' E404 on them, is retried within the same hour: it's a supply-chain alert only once the version has been served for 30 min, its packument has stopped changing for 10, and the attestations still answer 404, or the hour has run out. Any other status, or attestations that don't match, fail at once. A version that `release-recover.mjs` skipped because npm's `latest` is newer (#837) has nothing to verify.
|
|
1208
1208
|
- It then writes `certified @ai-ecoverse/slicc-kernel@<v> sha256=<64 hex> (covers <first>–<v>; ci: <run>; pr-certified: <each merged pull request's cert-review at its merge>; known: <open known-issue issues>)` into the GitHub release's notes, between `<!-- cert-verify -->` markers. homescoop's ci reads exactly that prefix and re-hashes the npm tarball against it. `covers` starts after the last version npm serves, so a skipped version is covered by the next. Notes that already carry the identical line stay unchanged. A pull request's `cert-review` is the newest finished one (success, failure or error) on its head at or before its merge, or the newest pending one if none had finished. A re-review that a later `ready_for_review`, `reopened` or `cert-review-approved` event starts on the same head, still pending at the merge or ending after it, doesn't change what the merge queue saw, and a status posted after the merge can't change a release's line.
|
|
1209
1209
|
- A mismatch writes no line. The job is red with a `supply-chain alert`, and so is a line already in the notes with another sha256.
|
|
1210
1210
|
|
package/dist/kernel-worker.js
CHANGED
|
@@ -7098,7 +7098,7 @@ function satisfies(version, range2) {
|
|
|
7098
7098
|
}
|
|
7099
7099
|
|
|
7100
7100
|
// src/version.ts
|
|
7101
|
-
var KERNEL_VERSION = true ? "1.135.
|
|
7101
|
+
var KERNEL_VERSION = true ? "1.135.6" : "0.0.0-dev";
|
|
7102
7102
|
var OS_RELEASE = "6.0.0-slicc";
|
|
7103
7103
|
function procVersion() {
|
|
7104
7104
|
return `Linux version ${OS_RELEASE} (slicc-kernel ${KERNEL_VERSION}) #1 SMP PREEMPT_DYNAMIC
|
|
@@ -5008,6 +5008,9 @@ var init_wasi_host = __esm({
|
|
|
5008
5008
|
else if (!o.bare) this.fds.setup(o.cwd, o.inherited ?? [], o.preopenRoot === true);
|
|
5009
5009
|
this.listening = o.shared ? [] : this.fds.sockets();
|
|
5010
5010
|
}
|
|
5011
|
+
fromCwd(raw) {
|
|
5012
|
+
return this.fds.cwd() === void 0 ? this.fds.resolve(3, `${this.cwd}/${raw}`) : this.fds.resolve(3, raw);
|
|
5013
|
+
}
|
|
5011
5014
|
get cwd() {
|
|
5012
5015
|
return this.fds.cwd() ?? this.startCwd;
|
|
5013
5016
|
}
|
|
@@ -5020,7 +5023,7 @@ var init_wasi_host = __esm({
|
|
|
5020
5023
|
const raw = mem.string(p, l);
|
|
5021
5024
|
if (raw === "") throw new WasiError("ENOENT");
|
|
5022
5025
|
if (raw.startsWith("/")) return fds.resolve(3, raw);
|
|
5023
|
-
return dirfd === AT_FDCWD ?
|
|
5026
|
+
return dirfd === AT_FDCWD ? this.fromCwd(raw) : fds.resolve(dirfd, raw);
|
|
5024
5027
|
};
|
|
5025
5028
|
return (...args) => {
|
|
5026
5029
|
const [srcDirfd, sp, sl, dstDirfd, dp, dl, mode, flags] = args;
|
|
@@ -5180,7 +5183,7 @@ var init_wasi_host = __esm({
|
|
|
5180
5183
|
if (!mkfifo) return E.NOSYS;
|
|
5181
5184
|
const raw = mem.string(p, l);
|
|
5182
5185
|
if (raw === "") throw new WasiError("ENOENT");
|
|
5183
|
-
const path = dirfd === AT_FDCWD && !raw.startsWith("/") ?
|
|
5186
|
+
const path = dirfd === AT_FDCWD && !raw.startsWith("/") ? this.fromCwd(raw) : at(dirfd, p, l);
|
|
5184
5187
|
const umask = this.umasks.get();
|
|
5185
5188
|
const want = mode & 4095 & ~umask;
|
|
5186
5189
|
mkfifo.call(this.o.fs, path, want);
|
|
@@ -6690,7 +6693,7 @@ var KERNEL_VERSION, OS_RELEASE;
|
|
|
6690
6693
|
var init_version = __esm({
|
|
6691
6694
|
"src/version.ts"() {
|
|
6692
6695
|
"use strict";
|
|
6693
|
-
KERNEL_VERSION = true ? "1.135.
|
|
6696
|
+
KERNEL_VERSION = true ? "1.135.6" : "0.0.0-dev";
|
|
6694
6697
|
OS_RELEASE = "6.0.0-slicc";
|
|
6695
6698
|
}
|
|
6696
6699
|
});
|