Repository navigation
test: run behavior suites and enforce local push checks (#194 Part 1) - #224
Conversation
|
Independent gpt-6.1-sol high development round PASS on 35b636d / tree 25c007557815816016f86ef24bd22167707ecece; origin divergence 0/0. |
|
Independent adversarial review (Claude Opus via elastos-pr-review, 2026-10-03), head a32e3e2. Blocking findings: none. Most of the deleted checks were source-text pins. I spot-checked the authority and provenance ones, and Rust or Python behaviour tests still cover each of them:
The new validator's refused-case tests mutate valid data and would fail if their checks were removed. Install refusals at Non-blocking notes:
Not checked:
|
|
Independent adversarial review (Claude Opus via elastos-pr-review, 2026-10-03), head 98661f9. Blocking findings:
Non-blocking notes:
Not checked: hosted CI results, including the |
|
Independent adversarial review (Claude Opus via elastos-pr-review, 2026-10-03), head e8fc25a. Blocking findings: none.
Non-blocking notes:
Not checked: I ran nothing; this review is static. I did not confirm that CI37134868577 is green, the test counts or timings, or the result of the root-run netns smoke on the hosted runner. I spot-checked about 12k deleted lines of |
|
Independent adversarial review (Claude Opus via elastos-pr-review, 2026-10-03), head 35b636d. Blocking findings: none Non-blocking notes:
Other checks: Not checked: the results of CI37136105515, including the claimed 1,334 Node tests with zero failures and the namespace fixture as root on hosted Linux. I also did not check whether |
# Conflicts: # .github/workflows/ci.yml # scripts/home-entropy-check.mjs
|
Independent adversarial review (Claude Opus via elastos-pr-review, 2026-10-04), head 149c39a. Blocking findings: none. The did-provider change is formatting only. All new CI jobs run on GitHub-hosted runners with
Non-blocking notes:
Not checked: I ran no tests and did not check the CI result. I also did not check whether |
develop (#224) removed scripts/home-entropy-check.mjs, so nothing pins the phone media list to PHONE_MAX_WIDTH any more. Co-authored-by: Cursor <cursoragent@cursor.com>
CI runs the previously omitted capsule JavaScript unit tests and signed installer tests. Three source-text checkers are replaced by data validation and executable behavior checks; copy and symbol-presence assertions are removed. Runtime and UI behavior use one Node test command, with every refused case retained.
The local pre-push script and git hook enforce Anders's checks on the actual pushed ref: current develop, clean source, formatting, workspace all-target compile, touched-crate Clippy and changed-module unit tests with positive counts. The hook is enabled in this task's worktree.
Published candidate 149c39a normally integrates develop e8d9564. Its full local gate and actual-ref push hook pass. Current CI37192908134 is green. Current elastos-pr-review PASS follows matched API/fetched heads; required human approval precedes merge.
The draft starts from develop fe033fe. It removes 16,157 lines from check-wci-alignment.sh, home-entropy-check.mjs and browser-entropy-check.mjs. Standing command references use the data checker; historical audit records stay intact. The canary workflows on fix/89-canary-inputs remain release-owned.
The data suite has 92 tests, including malformed manifests, unsafe paths, missing entrypoints and icons, protected method approval metadata, and catalogue integrity refusals. The initial fast Node suite passed 1,247 tests in 4.34s; 28 ESP projection tests and two acceptance-refusal tests are now included. The repaired Browser focus fixture passes locally with explicit bundled Playwright/Chromium inputs in 1.43s; hosted pins remain the candidate proof. Four retained Browser suites receive pinned Playwright/Chromium inputs in the hosted behavior job. Fixture extraction and current startup inputs were repaired in existing tests.
The current signed installer suite discovers 55 tests: 51 pass locally, with four optional published-fixture tests skipped by their existing input gate. CI runs the key-free installer unit/refusal suite. Four optional published-byte cases keep their existing --publisher-fixtures input gate; the separate native CI journey and #89 operator acceptance provide installed proof. The same Node command and data validator are available through just test-behaviour and just product-data. Release retains the Mac heavy build slot.
Coverage retained after deleting the text checkers:
Historical verification of candidate 35b636d, tree 25c007557815816016f86ef24bd22167707ecece, has green CI37136105515, historical elastos-pr-review PASS and independent gpt-6.1-sol high development PASS. The API and fetched heads matched that historical candidate. Formatting, diff and CI policy checks passed on it. All repair commits and prior review evidence stay in history. Release retains the local Mac heavy build slot. Existing Browser objective/runbook smokes retain their doc-copy failures; installed product acceptance continues to use its artifact, media and manual proof gates.
Hosted before/after proof uses cargo test -- --list in the same jobs. Job time includes checkout, tools and other checks; the test step includes compilation and execution. These observed runs vary with runner/cache state and source base. Capsule jobs took longer than baseline, so this evidence establishes coverage and test inventory and keeps an overall speed claim open.
Historical Part1 behavior CI passed all 1,334 Node tests in 11.13s with zero skips, including the 95 previously omitted capsule tests. That signed installer CI discovered 55 tests: 51 passed in 41.64s and four retain their existing published-byte fixture gate. The actual native guard passes in 13s, bound to source cad4975/tree 7c2cb779fa6e711b25ac67d94be5c2ccb372c996. Supervisor SHA-256 8f6aab192bd7918920a08b0a56c14129e1ff8129ca5f0d1b42fffe231212b16b; proxy SHA-256 8a061b70cf4a316dc55f6910bc614210521f280d037bbedfcdd1ae6c223dedb0. It proves a distinct kernel namespace, loopback-only listeners, direct TCP/DNS refusals, relay success and stopped children.
The independently inspected Mac receipt 11279040958 passes frozen install, plain Carrier check/apply/repeat, all 12 refusals, config/data/frozen-support preservation, four empty successful stderr streams, 17 clean holder outputs and empty owned cleanup. Install/check/apply/repeat take 1.544s/2.193s/1.400s/0.026s; 53 observer and 3 build processes stop, with zero M2 HTTP fallback. This disposable regression proof is separate from #89 operator acceptance. Source cad4975/tree 7c2cb779fa6e711b25ac67d94be5c2ccb372c996 matches its tested PR merge against develop ad85c2e. Receipt JSON SHA-256 01ed20a65f143fc2c4130b1bd897f2d5f1453523ce8c5417307db1c08d732944; ZIP SHA-256 ccdc058e9f90d11de58ad22e77b2837c873ffabc5f40750dd8986b3ca909a13d. Runtime N 0.7.1-dev SHA-256 1184917a6ed9aa0151c907e675b76760391876b37ee3c33f5ce6fca146f75276; compiled N+1 0.7.2 SHA-256 1a8ce98f016f183342bf5e2bf72e8298f87fa0be476fd28a5ea6c26fcb6b8186.
Anders reports #89 M2 passed and lifts the #194 hold. The branch normally integrates current develop e8d9564. The new pre-push script and committed worktree hook require the actual pushed ref to match clean HEAD and current develop. They run formatting, separate workspace all-target compile, touched-crate Clippy and changed-module unit tests with positive executed counts. Runtime inputs select their consumers and reverse standalone dependencies; uncertain module mapping widens the unit scope. Hook fixtures clear Git's repository-local environment before mutating disposable repositories. Command ownership and the stable heavy-build lock keep interruption cleanup bounded.
The gate keeps shared Cargo intermediates and workspace-owned final outputs. An isolated pinned-Cargo A/B/A experiment proved older-source reuse across worktrees even with separate output directories. The repaired gate cleans the resolved repository path-package closure before compile and each provider release closure before its build. External package/dependency-library collisions refuse before cleaning; registry sources/downloads and distinct-name artifacts stay preserved. Tracked locks resolve with --locked, and ignored generated locks keep their recorded resolution policy. Equivalent did-provider formatting and Option mapping satisfy the mandated all-target checks.
Current published candidate 149c39a, tree 117dd3b7f63c296b9f841df3ff3ca85c946dd6fe, passes the full native pre-push gate in 914.517s: 59 gate fixtures, 92 product-data cases, 17 workspace checks, 22-package Clippy, 3 fresh provider builds and 24 unit targets with 3,816 parent-target passes, 27 ignored and zero failures, plus one separate custody subprocess. Final current-develop and clean-source checks pass. Independent high integration/proof review and bounded local Opus integration review pass; all 326 observed PID/groups ended and the lease released. The actual-ref hook also passes in 897.569s and the normal push publishes that exact head. Current elastos-pr-review PASS applies to this published head; current CI is green. The PR is ready and irzhywau has the required review request. His approval precedes the normal Part1 merge; Part2 follows through normal integration preserving source and refusal history.
Current CI passes 1,346 Node tests in 11.812s with zero failures/skips, 59 gate fixtures, and the installer suite (55 discovered, 51 passed, four published-byte fixture cases skipped by their existing input gate, 40.454s). All 10 active jobs and 127 executed steps pass; the dispatch-only Mac fixture and release publication skip as intended. The current Mac rehearsal receipt11300397800 binds checkout55ab661bd6561ab9e0fe07e2accb5c7bb2d9ec6d to candidate tree117dd3b7f63c296b9f841df3ff3ca85c946dd6fe. Its 6 install and 10 discovery/update checks pass, refusal cases preserve prior state, 53 observer and 3 build processes end, remaining PIDs are empty, and M2 HTTP fallback is zero. Result JSON SHA-2569378b317702b1a533ee80406e9f774850f7af18da55d0f21e9bcac6075c3132a; N binary0377370b3b10e3be90237d10c899564b024a6ab3be78000a90498dff612a9b75; N+1 binary9a17beff16707cc33aa29d886af50ae693119f383bec5633adb12db1bf85d7d4; fixture manifest27b6f390606887fdb562832d6b17409fd5d00377e77137c888fcc867a5102c10. This is disposable CI rehearsal; the operator Home/account/update acceptance keeps its own gate.
Refs #194.