Skip to content

0.4.5: a start refused for its size says so; whether a unit can be declared is a property; openkal 0.26 is admitted - #25

Merged
Sunrisepeak merged 5 commits into
mainfrom
openkal-0.26.0
Nov 19, 2026
Merged

Sunrisepeak merged 5 commits into
mainfrom
openkal-0.26.0

Conversation

@Sunrisepeak

Copy link
Copy Markdown
Member

Part of the round recorded in mcpp-community/mcpp .agents/docs/2026-11-19-ecosystem-rule-convergence-design.md (sections 9 and 10.3 B; mcpp#958, mcpp#952).

  • process::spawn reports errc::no_space where the system refuses a start for the size of what it was given, and the error's context states the number and the bytes of the arguments and of the variables (openkal 0.26, clause 7.6).
  • process::units_observable() answers whether a unit can be declared where the program runs. unit_observer::open reports errc::not_supported for a reference made in another process space; that answer does not change by waiting, where unit_state::unknown may (clause 7.18).
  • The ranges admit openkal 0.26 and its family. The implementations' own tests reach this package through mtest, so this release precedes theirs; a graph that holds an earlier family builds as before.

The tests of the start's bound assert under the 0.26 family (kal_version() >= 0.26.0). Measured locally against the branches openkal-0.26.0 of openkal and openkal-linux by path: two thousand arguments and two thousand variables reach the copy, and an argument of one mebibyte is refused as starting … with 5 arguments of 1048691 bytes and 66 variables of 3005 bytes: no space left. Under the released family the tests pass as before.

…clared is a property; openkal 0.26 is admitted

- process::spawn: errc::no_space carries the number and the bytes of the
  arguments and of the variables (openkal 0.26, clause 7.6)
- process::units_observable(); unit_observer::open reports errc::not_supported
  for a reference made in another process space, an answer that does not change
  by waiting (clause 7.18)
- the ranges admit openkal 0.26 and its family: openkal <0.27.0, openkal-linux
  <0.28.0, openkal-macos <0.25.0, openkal-windows <0.24.0, openkal-emscripten
  <0.16.0
…hout naming the kernel layer's modules

The hosted check builds the tests as a consumer that depends on this package
alone, so a test imports nothing of openkal. An implementation of the 0.25
family answers out of memory beyond 512 entries; that answer is reported and
the assertions hold for the 0.26 family and for Windows.
…am answers for

The start's bound is asserted where the layer is of the 0.26 family, which the
version tells; an implementation of the 0.25 family on Windows read at most 512
variables without a report, which no answer of a start distinguishes.
@Sunrisepeak
Sunrisepeak merged commit fe21bb3 into main Nov 19, 2026
23 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant