Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docs/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

### Added

- The developer environment builds itself (#315, sources of distribution 0.6.1, release pin unchanged at 0.6.0): the
- The developer environment builds itself (#315, distribution 0.6.1, published as `developer-v0.6.1` and pinned by `DeveloperReleaseData.hpp`; the bootstrap of the tests stays 0.6.0): the
repository is a `wf` project (`webfront.project.json`, `webfront-packages.lock.json`) and the scripts of
`js/developer/scripts/` run in the pinned bootstrap environment with `webfront-wf`. `build.mjs` bundles the environment
with the locked esbuild-wasm and writes `environment.tgz`, the starters, `provision.json` and the pinned header (with
Expand Down
6 changes: 3 additions & 3 deletions docs/DEVELOPER_ENVIRONMENT.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ native tests from empty working directories, with developer callbacks absent. Pa
HTTP 200, CORS `*` and the pinned archive bytes. These checks supplement offline CTest fixtures.

The default configuration is generated in `include/webfront/system/DeveloperReleaseData.hpp` and targets
`https://ambroise-leclerc.github.io/WebFront/developer/0.6.0/environment.tgz`. This version (`wf build`, `wf dev`, `wf test` and the non-interactive entry, on top of the 0.5.0 manifest, `wf restore`, `wf run`, `wf check` and the complete terminal) is published and archived as `developer-v0.6.0`. Published 0.5.0, 0.4.1 and 0.4.0 stay immutable; 0.4.0 targets the former include layout. The configuration pins one version and
`https://ambroise-leclerc.github.io/WebFront/developer/0.6.1/environment.tgz`. This version (`wf build`, `wf dev`, `wf test` and the non-interactive entry, on top of the 0.5.0 manifest, `wf restore`, `wf run`, `wf check` and the complete terminal) is published and archived as `developer-v0.6.1`. Published 0.6.0, 0.5.0, 0.4.1 and 0.4.0 stay immutable; 0.4.0 targets the former include layout. The configuration pins one version and
its SHA-512 rather than resolving a mutable `latest` channel. An explicit
`DeveloperBootstrapOptions{.environment = url, .integrity = trustedHash}` still selects a different
HTTPS/CORS repository or a same-origin test fixture. Users install neither npm nor Node.js.
Expand Down Expand Up @@ -435,7 +435,7 @@ the Worker, cancels polling and aborts staged publication; a publication already
the preview before stopping.
The last successful preview stays available. Browser disconnection also stops the loop.

`wf build`, `wf dev` and `wf test` are in developer distribution 0.6.0, which `DeveloperReleaseData.hpp` pins (published as `developer-v0.6.0`).
`wf build`, `wf dev` and `wf test` are in developer distribution 0.6.0 and later; `DeveloperReleaseData.hpp` pins 0.6.1 (published as `developer-v0.6.1`).

## Tests (`wf test`)

Expand Down Expand Up @@ -529,7 +529,7 @@ field). `webfront.developer.config` carries `supported: {protocol: [1], api: [1]
`Incompatible WebFront developer environment: api version 2, this application supports 1`; it never falls back. A change
to the callbacks increments `apiVersion` and requires publishing a new bootstrap environment.

The pin is 0.6.0, the first published environment with a non-interactive mode (`WfDriverPinned` runs `wf init` from it; the starters are not provisioned, only the archive). The sources build 0.6.1, not published yet: it fixes `runNonInteractive`, which dropped what a command wrote before it ended (a script's console output, install progress) and kept only its summary; the pinned 0.6.0 still does, and the `SelfBuild*` cases therefore check the summary of the scripts, not their console output. The other `WfDriver*` cases run the environment built from the current sources
The release pin is 0.6.1; the bootstrap environment of the tests (`cmake/WebFrontBootstrap.cmake`) is still 0.6.0, the first published environment with a non-interactive mode (`WfDriverPinned` runs `wf init` from it; the starters are not provisioned, only the archive). 0.6.1 fixes `runNonInteractive`, which dropped what a command wrote before it ended (a script's console output, install progress) and kept only its summary; the pinned 0.6.0 still does, and the `SelfBuild*` cases therefore check the summary of the scripts, not their console output. The other `WfDriver*` cases run the environment built from the current sources
(`WEBFRONT_DEVELOPER_FIXTURES`), which may be ahead of the pin: `wf install` and `wf test` on a fixture project (pass, fail,
report file), a starter, an entry module renamed in `environment.json`, an unknown command, the time limit, a wrong integrity,
a missing archive and archives with an incompatible protocol or API. `BootstrapProvisioning` checks the
Expand Down
2 changes: 1 addition & 1 deletion docs/PROJECT_STATUS.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ removed without redirect headers (see `docs/CHANGELOG.md`). Browser sources live
components, build tools, vendoring tools); tests live in `test/{unit,web,fuzz,fixtures,cmake}`. The CTest
case `RepositoryLayout` enforces the root. The generated-provider include changed, so the developer
distribution is bumped to 0.4.1, published and archived as `developer-v0.4.1`. Version 0.5.0 (project manifest, `wf restore`,
`wf run`/`wf exec`, `wf check`, the complete terminal) was published as `developer-v0.5.0`; 0.6.0 (`wf build`, `wf dev`, `wf test`, the non-interactive entry) is pinned by `DeveloperReleaseData.hpp`, published and archived as `developer-v0.6.0`. On 2026-10-23 Pages returned HTTP 200 for 0.6.0,
`wf run`/`wf exec`, `wf check`, the complete terminal) was published as `developer-v0.5.0`; 0.6.0 (`wf build`, `wf dev`, `wf test`, the non-interactive entry) was published as `developer-v0.6.0`, and 0.6.1 (the output of a script reaches `webfront-wf`) is pinned by `DeveloperReleaseData.hpp`, published and archived as `developer-v0.6.1`. On 2026-10-23 Pages returned HTTP 200 for 0.6.1,
CORS `*` and archives byte-identical to a reproducible local build; the live `--public` test (WebKitGTK, Linux) downloaded them,
fetched React from npm, ran the PI and Life previews and generated both providers.

Expand Down
6 changes: 3 additions & 3 deletions include/webfront/system/DeveloperReleaseData.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
#include <string_view>

namespace webfront::developer::release {
inline constexpr std::string_view version{"0.6.0"};
inline constexpr std::string_view environment{"https://ambroise-leclerc.github.io/WebFront/developer/0.6.0/environment.tgz"};
inline constexpr std::string_view integrity{"sha512-xidz8ggQFo/UUTttIii+3FRJmGpQPoHhbmk9Fv/wxRA4EKEhD5WeiAcstsuY8H/wXc/jo/bljIYkzyyyrJ1oEg=="};
inline constexpr std::string_view version{"0.6.1"};
inline constexpr std::string_view environment{"https://ambroise-leclerc.github.io/WebFront/developer/0.6.1/environment.tgz"};
inline constexpr std::string_view integrity{"sha512-wBYPxKJQwj4KqWqbLqxXbfhCUSZgBZh1GCnbAvxgb4oVwsxf0vnfpTGdhW/2tGXagwHT/60SwbL7L21vRCVD8g=="};
} // namespace webfront::developer::release
2 changes: 1 addition & 1 deletion js/developer/environment/bundles.json
Original file line number Diff line number Diff line change
Expand Up @@ -47,5 +47,5 @@
"webfront.project.json": "fef1af6974c8ebf50afd630d2675b2046a801c597b74278005d7f3a7f9dba22c",
"js/core/bootstrap/bootstrap.bundle.mjs": "536831257f0fc92e31911841750e1e59247f7c64e756b0fcb878efd9860a741f",
"js/developer/environment/packages.bundle.mjs": "e36d1052285a313f7db67c1f58f8332da9e97446b1e2085422ebdae379288045",
"include/webfront/system/DeveloperReleaseData.hpp": "ad3707e158b1f268c679545e17d67b6ba245b2129614cf04dfeacdb351f2a354"
"include/webfront/system/DeveloperReleaseData.hpp": "e845086c05ae9ac4a32f7ed62f0b812a9cf375524460b2cc6e6a19ecbd64aea7"
}
2 changes: 1 addition & 1 deletion js/developer/tools/PUBLISHING.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ headers `DeveloperIndexHtmlData.hpp` and `DeveloperBootstrapData.hpp`. `wf run e
the CMake target `webfront-embedded-assets`). A script may only write where `permissions.publish`
of `webfront.project.json` allows: the `build-*` directories and these checked-in outputs.

The output of a script reaches the terminal of an environment 0.6.1 or later; with the pinned 0.6.0 the command prints
The output of a script reaches the terminal of an environment 0.6.1 or later; with 0.6.0 the command prints
only its summary. The integrity of an archive is `openssl dgst -sha512 -binary build-distribution/environment.tgz | base64 -w0`,
prefixed by `sha512-`.

Expand Down
Loading