From 368793d0b4677ad2c31eac4f342c69611b03c59c Mon Sep 17 00:00:00 2001 From: Yusuke-KOMIYAMA Date: Mon, 16 Nov 2026 09:43:30 +0900 Subject: [PATCH] =?UTF-8?q?feat(installer):=20osf.io=20=E3=81=AE=E5=9B=BA?= =?UTF-8?q?=E5=AE=9A=E7=89=88=E3=82=92=20c5a05de=20=E3=81=AB=E4=B8=8A?= =?UTF-8?q?=E3=81=92=E3=82=8B=EF=BC=88#39=20READ=20=E3=81=AE=E6=9B=B4?= =?UTF-8?q?=E6=96=B0=E3=81=AE=E7=A9=B4=E3=83=BB#40=E3=80=81=E5=8F=97?= =?UTF-8?q?=E5=85=A5=20=E5=90=88=E6=A0=BC=2016=EF=BC=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit RDM-osf.io-dev2027 develop の先頭 c5a05de0 を固定する。#39(issue #37、所有者の決定「更新の穴だけ 直す」)は、READ の共同研究者によるタイムスタンプの付与と、ほかの人の処理の取消・置換、IQB-RIMS の ?edit= の書き込みを WRITE 以上(取消は依頼者本人も可)に限るセキュリティ修正。#40 は試験だけ。 #41 を待たずに先に入れる(#41 はマージ後に別に上げる)。 根拠: - 07cc56d4 から 5 コミット先、遅れなし、migration なし。c5a05de0 の push の CI(Unit Tests、 CodeQL)は成功。 - Mac Studio の本体のスタック(develop 79ba329 に manifest を写す): build osf.io 279 秒・ wiki-frontend 178 秒、compose render --profile core、up 75 秒、health --network 終了 0。 - accept --seed: 合格 16(C1〜C7 と S1)、失敗 0、スキップ 8、実行 acc-20261116T003758Z-d077f9。 - 後で develop の固定版で描画し直し、health --network 終了 0。 - installer の unittest、manifest_check、docs_check は合格。 DEMO-20 0.26 とボード 0.37 に記録した。#39 の拒否そのものはスタック上では試しておらず、osf.io の CI に拠る。 Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_01BW1YQk71jLXY2FaSzMnnYJ --- docs/demo/20_core_install_mac_studio.md | 39 ++- .../collector.json | 266 +++++++++++++++ .../acc-20261116T003758Z-d077f9/junit.xml | 1 + .../acc-20261116T003758Z-d077f9/pytest.log | 76 +++++ .../acc-20261116T003758Z-d077f9/results.json | 306 ++++++++++++++++++ .../acc-20261116T003758Z-d077f9/results.toon | 61 ++++ docs/status/README.md | 7 +- manifest/upstreams.json | 2 +- 8 files changed, 753 insertions(+), 5 deletions(-) create mode 100644 docs/demo/runs/acc-20261116T003758Z-d077f9/collector.json create mode 100644 docs/demo/runs/acc-20261116T003758Z-d077f9/junit.xml create mode 100644 docs/demo/runs/acc-20261116T003758Z-d077f9/pytest.log create mode 100644 docs/demo/runs/acc-20261116T003758Z-d077f9/results.json create mode 100644 docs/demo/runs/acc-20261116T003758Z-d077f9/results.toon diff --git a/docs/demo/20_core_install_mac_studio.md b/docs/demo/20_core_install_mac_studio.md index b00a6025..5de0fc1a 100644 --- a/docs/demo/20_core_install_mac_studio.md +++ b/docs/demo/20_core_install_mac_studio.md @@ -5,7 +5,8 @@ **Jump:** [English](#english) · [日本語](#japanese) -- Version / 版: 0.25 — 2026-11-15. **Learned:** with `compose render` placed between `build` and `up`, a pin bump is one pass: the first `up` recreated web, api, admin, worker, osf_init and wiki_assets on osf.io `07cc56d47b39` (RDM-osf.io-dev2027 `develop` after #34, #35, #36, #38), and acceptance passed 16 with 8 skips (S2 to S5), run `acc-20261115T133503Z-a3fa08`. / `build` と `up` の間に `compose render` を置けば、固定版の更新は一回で済む。最初の `up` で web・api・admin・worker・osf_init・wiki_assets が osf.io `07cc56d47b39`(#34・#35・#36・#38 のマージ後の RDM-osf.io-dev2027 `develop`)で作り直され、受入は合格 16、スキップ 8(S2〜S5)だった(実行 `acc-20261115T133503Z-a3fa08`)。 +- Version / 版: 0.26 — 2026-11-16. **Learned:** a security fix upstream is worth a pin of its own before the next one lands: osf.io `c5a05de0e3d0` (#39, READ users can no longer timestamp or cancel others' tasks; #40, tests) passed 16 with 8 skips in the core profile, run `acc-20261116T003758Z-d077f9`, without waiting for #41. / 上流のセキュリティ修正は、次の修正を待たずに専用の固定版に値する。osf.io `c5a05de0e3d0`(#39 は READ の利用者がタイムスタンプの付与やほかの人の処理の取消をできないように、#40 は試験)は、#41 を待たずに core で合格 16、スキップ 8 だった(実行 `acc-20261116T003758Z-d077f9`)。 + 0.25 — 2026-11-15. **Learned:** with `compose render` placed between `build` and `up`, a pin bump is one pass: the first `up` recreated web, api, admin, worker, osf_init and wiki_assets on osf.io `07cc56d47b39` (RDM-osf.io-dev2027 `develop` after #34, #35, #36, #38), and acceptance passed 16 with 8 skips (S2 to S5), run `acc-20261115T133503Z-a3fa08`. / `build` と `up` の間に `compose render` を置けば、固定版の更新は一回で済む。最初の `up` で web・api・admin・worker・osf_init・wiki_assets が osf.io `07cc56d47b39`(#34・#35・#36・#38 のマージ後の RDM-osf.io-dev2027 `develop`)で作り直され、受入は合格 16、スキップ 8(S2〜S5)だった(実行 `acc-20261115T133503Z-a3fa08`)。 0.24 — 2026-11-15. **Learned:** `build` builds the image of a new pin but does not rewrite `runtime/docker-compose.yml`, so an `up` straight after it keeps the services on the old tag; only after `compose render` did the second `up` recreate web, api, admin, worker and osf_init on osf.io `94e681747ba1` (RDM-osf.io-dev2027 `develop` after #24, #25, #26, #28, #31), and acceptance on it passed 14 of 14 with the default waits (run `acc-20261115T030524Z-aac662`). / `build` は新しい固定版のイメージを組むが `runtime/docker-compose.yml` は書き換えないので、その直後の `up` はサービスを古いタグのまま残す。`compose render` の後の二度目の `up` で初めて、web・api・admin・worker・osf_init が osf.io `94e681747ba1`(#24・#25・#26・#28・#31 のマージ後の RDM-osf.io-dev2027 `develop`)で作り直され、既定の待ちで受入は 14 件中 14 件合格した(実行 `acc-20261115T030524Z-aac662`)。 0.23 — 2026-11-14. **Learned:** a one-command claim is about a new checkout, and on a host that already runs a stack the installer's own volume check (PR #64) turns that stack's volumes into an obstacle: with the owner's approval the registrations were removed (data kept and backed up), `install-macos.sh --yes --profile core` from a new clone of develop 0df4640 returned 0 in a single run of 12 min 50 s with a warm Docker cache (build 59 s, `up` on empty volumes 8 min 59 s), acceptance with the default waits passed 14 of 14, and the main stack was restored with the same 14 volume bindings and data, though not the same image IDs. / 一つのコマンドの主張は新しいチェックアウトについてのもので、既にスタックが動いているホストでは、インストーラー自身のボリュームの検査(PR #64)がそのスタックのボリュームを障害にする。所有者の承認のもとで登録を外し(データは残してバックアップ)、develop 0df4640 の新しい clone から `install-macos.sh --yes --profile core` は Docker のキャッシュが温まった状態で一回の実行で 12 分 50 秒で終了 0 を返し(build 59 秒、空のボリュームでの `up` 8 分 59 秒)、既定の待ちでの受入は 14 件中 14 件合格し、本体のスタックは同じ 14 個のボリュームの結びつけとデータで復元した。ただしイメージ ID は同じではない。 0.22 — 2026-11-13. **Learned:** code that was only unit-tested is not yet a fact about the stack: the stricter ZAP sign-in exception ran once on the live Mac Studio stack, where the probe inside the ZAP image worked and `web` was recorded as skipped behind sign-in while `admin` and `ember_osf_web` were scanned, and that run is the evidence the unit tests could not give (PR #56 review r2 asked for it). / 単体試験だけで確かめた処理は、まだスタックについての事実ではない。厳しくした ZAP のサインイン除外を、稼働中の Mac Studio のスタックで一度実行した。ZAP のイメージ内の探りは動き、`web` はサインインの壁の向こうとして飛ばされ、`admin` と `ember_osf_web` が検査された。単体試験が与えられなかった証拠はこの実行である(PR #56 レビュー r2 が求めた)。 @@ -700,6 +701,24 @@ Run [`acc-20261115T133503Z-a3fa08`](runs/acc-20261115T133503Z-a3fa08/results.too What this run does not show: the Mapcore read-inheritance changes (#35, #36) were not exercised on the stack; they rest on the osf.io tests in its CI. No `scan` was run on this pin, and no cold build. + +### Pin update — 2026-11-16 (UTC), osf.io `c5a05de0e3d0`, 16 passed + +Stack: the main checkout on the Mac Studio at `develop` `79ba329`, with the manifest of branch `feat/osf-pin-c5a05de` copied in for the run and restored afterwards. The osf.io `integration_sha` is now `c5a05de0e3d007558566e3262b26b2da38e76d49`, the RDM-osf.io-dev2027 `develop` tip after #39 (issue #37, owner decision 2026-11-16 to close only the update hole: a READ collaborator's timestamp request and the cancel or replace of someone else's task now need WRITE, or being the requester for a cancel; the IQB-RIMS `?edit=` write needs WRITE) and #40 (tests only). The comparison is 5 commits ahead, 0 behind, no migration file; the push CI of `c5a05de0` passed (Unit Tests, CodeQL). + +```toon +steps[5]{step,exit,result}: + "build --component osf.io / wiki-frontend",0,"279 s and 178 s (00:29:04Z to 00:36:41Z); new images osf.io:c5a05de0e3d0 and wiki-frontend:c5a05de0e3d0-5985d18b75da" + "compose render --profile core --auth fakecas",0,"00:36:41Z" + "up",0,"75 s; the osf.io services recreated on the new tag" + "health --network",0,"23 services, loopback only" + "accept --seed",0,"run acc-20261116T003758Z-d077f9, 109 s: 16 passed (C1 to C7 and S1), 0 failed, 8 skipped (S2 to S5, not in core)" +``` + +Run [`acc-20261116T003758Z-d077f9`](runs/acc-20261116T003758Z-d077f9/results.toon): all core scenarios pass with the usual statuses (WebSocket rejections 4401; C2, C3, C6 rejections 403; C1, C5 rejections 401); the netguard blocked 189 known external requests. Afterwards the stack was rendered back on the develop pins and `health --network` returned 0. + +What this run does not show: the READ-user refusals of #39 themselves were not exercised on the stack (no scenario uses a READ collaborator for timestamps); they rest on the osf.io tests in its CI. osf.io #41 (wiki import double cancel) is not in this pin. + --- @@ -1367,6 +1386,24 @@ steps[5]{step,exit,result}: この実行が示さないこと: Mapcore の読み取りの継承の変更(#35・#36)はスタック上で試していない。それらは osf.io の CI の試験に拠る。この固定版では `scan` を実行しておらず、コールドビルドでもない。 + +### 固定版の更新 — 2026-11-16(UTC)、osf.io `c5a05de0e3d0`、合格 16 + +スタック: Mac Studio の本体のチェックアウト(`develop` `79ba329`)に、ブランチ `feat/osf-pin-c5a05de` の manifest を実行の間だけ写し、後で戻した。osf.io の `integration_sha` は `c5a05de0e3d007558566e3262b26b2da38e76d49` で、RDM-osf.io-dev2027 の `develop` の先頭。#39(issue #37、所有者の決定 2026-11-16「更新の穴だけ直す」: READ の共同研究者によるタイムスタンプの付与と、ほかの人の処理の取消・置換は WRITE 以上(取消は依頼者本人も可)が要る。IQB-RIMS の `?edit=` の書き込みも WRITE 以上)と #40(試験だけ)のマージ後である。比較は 5 コミット先、遅れなし、migration のファイルなし。`c5a05de0` の push の CI は合格(Unit Tests、CodeQL)。 + +```toon +steps[5]{step,exit,result}: + "build --component osf.io / wiki-frontend",0,"279 秒と 178 秒(00:29:04Z〜00:36:41Z)。新しいイメージは osf.io:c5a05de0e3d0 と wiki-frontend:c5a05de0e3d0-5985d18b75da" + "compose render --profile core --auth fakecas",0,"00:36:41Z" + "up",0,"75 秒。osf.io のサービスが新しいタグで作り直された" + "health --network",0,"23 サービス、ループバックのみ" + "accept --seed",0,"実行 acc-20261116T003758Z-d077f9、109 秒: 合格 16(C1〜C7 と S1)、失敗 0、スキップ 8(S2〜S5、core には無い)" +``` + +実行 [`acc-20261116T003758Z-d077f9`](runs/acc-20261116T003758Z-d077f9/results.toon): core のシナリオはすべて、いつもの状態で合格(WebSocket の拒否は 4401、C2・C3・C6 の拒否は 403、C1・C5 の拒否は 401)。netguard は既知の外部要求 189 件を遮断した。その後スタックを develop の固定版で描画し直し、`health --network` は 0 を返した。 + +この実行が示さないこと: #39 の READ の利用者の拒否そのものはスタック上で試していない(タイムスタンプで READ の共同研究者を使うシナリオは無い)。それらは osf.io の CI の試験に拠る。osf.io #41(Wiki の取り込みの二重取消)はこの固定版に含まれない。 + --- ## Glossary / 用語 diff --git a/docs/demo/runs/acc-20261116T003758Z-d077f9/collector.json b/docs/demo/runs/acc-20261116T003758Z-d077f9/collector.json new file mode 100644 index 00000000..5971b57f --- /dev/null +++ b/docs/demo/runs/acc-20261116T003758Z-d077f9/collector.json @@ -0,0 +1,266 @@ +[ + { + "nodeid": "test_c1_login.py::test_c1_login_success[chromium]", + "id": "C1", + "name": "Login via fakecas", + "case": "success", + "status": "passed", + "duration_ms": 2628, + "http_status": 200, + "evidence": null, + "known_external_blocked": 7 + }, + { + "nodeid": "test_c2_create_project.py::test_c2_create_project_success[chromium]", + "id": "C2", + "name": "Create project", + "case": "success", + "status": "passed", + "duration_ms": 5200, + "http_status": 200, + "evidence": null, + "known_external_blocked": 14 + }, + { + "nodeid": "test_c2_create_project.py::test_c2_create_project_rejection[chromium]", + "id": "C2", + "name": "Create project", + "case": "rejection", + "status": "passed", + "duration_ms": 4277, + "http_status": 403, + "evidence": null, + "known_external_blocked": 8 + }, + { + "nodeid": "test_c3_file_upload.py::test_c3_file_upload_success[chromium]", + "id": "C3", + "name": "Upload and download file", + "case": "success", + "status": "passed", + "duration_ms": 3247, + "http_status": 200, + "evidence": null, + "known_external_blocked": 4 + }, + { + "nodeid": "test_c3_file_upload.py::test_c3_file_upload_rejection[chromium]", + "id": "C3", + "name": "Upload and download file", + "case": "rejection", + "status": "passed", + "duration_ms": 4305, + "http_status": 403, + "evidence": null, + "known_external_blocked": 8 + }, + { + "nodeid": "test_c4_wiki_collab.py::test_c4_wiki_collab_success[chromium]", + "id": "C4", + "name": "Wiki collaborative edit", + "case": "success", + "status": "passed", + "duration_ms": 7898, + "http_status": 200, + "evidence": null, + "known_external_blocked": 18 + }, + { + "nodeid": "test_c4_wiki_collab.py::test_c4_wiki_collab_rejection[chromium]", + "id": "C4", + "name": "Wiki collaborative edit", + "case": "rejection", + "status": "passed", + "duration_ms": 4539, + "http_status": 4401, + "evidence": null, + "known_external_blocked": 13 + }, + { + "nodeid": "test_c5_file_preview.py::test_c5_file_preview_success[chromium]", + "id": "C5", + "name": "File preview", + "case": "success", + "status": "passed", + "duration_ms": 5719, + "http_status": 200, + "evidence": null, + "known_external_blocked": 9 + }, + { + "nodeid": "test_c5_file_preview.py::test_c5_file_preview_rejection[chromium]", + "id": "C5", + "name": "File preview", + "case": "rejection", + "status": "passed", + "duration_ms": 4405, + "http_status": 401, + "evidence": null, + "known_external_blocked": 9 + }, + { + "nodeid": "test_c6_admin.py::test_c6_admin_success[chromium]", + "id": "C6", + "name": "Institution admin screen", + "case": "success", + "status": "passed", + "duration_ms": 1730, + "http_status": 200, + "evidence": null, + "known_external_blocked": 6 + }, + { + "nodeid": "test_c6_admin.py::test_c6_admin_rejection[chromium]", + "id": "C6", + "name": "Institution admin screen", + "case": "rejection", + "status": "passed", + "duration_ms": 753, + "http_status": 403, + "evidence": null, + "known_external_blocked": 3 + }, + { + "nodeid": "test_c7_file_editor.py::test_c7_file_editor_success[chromium]", + "id": "C7", + "name": "File page collaborative edit", + "case": "success", + "status": "passed", + "duration_ms": 9186, + "http_status": 200, + "evidence": null, + "known_external_blocked": 22 + }, + { + "nodeid": "test_c7_file_editor.py::test_c7_file_editor_rejection[chromium]", + "id": "C7", + "name": "File page collaborative edit", + "case": "rejection", + "status": "passed", + "duration_ms": 7161, + "http_status": 4401, + "evidence": null, + "known_external_blocked": 17 + }, + { + "nodeid": "test_s1_y_websocket.py::test_s1_y_websocket_success[chromium]", + "id": "S1", + "name": "y-websocket", + "case": "success", + "status": "passed", + "duration_ms": 9195, + "http_status": 200, + "evidence": null, + "known_external_blocked": 22 + }, + { + "nodeid": "test_s1_y_websocket.py::test_s1_y_websocket_rejection[chromium]", + "id": "S1", + "name": "y-websocket", + "case": "rejection", + "status": "passed", + "duration_ms": 4306, + "http_status": 4401, + "evidence": null, + "known_external_blocked": 9 + }, + { + "nodeid": "test_s2_rdmcp.py::test_s2_rdmcp_success[chromium]", + "id": "S2", + "name": "rdmcp (MCP endpoint)", + "case": "success", + "status": "skipped", + "duration_ms": 2336, + "http_status": null, + "evidence": null, + "known_external_blocked": 4 + }, + { + "nodeid": "test_s2_rdmcp.py::test_s2_rdmcp_rejection[chromium]", + "id": "S2", + "name": "rdmcp (MCP endpoint)", + "case": "rejection", + "status": "skipped", + "duration_ms": 3552, + "http_status": null, + "evidence": null, + "known_external_blocked": 8 + }, + { + "nodeid": "test_s3_aipf.py::test_s3_aipf_success[chromium]", + "id": "S3", + "name": "aipf_mcp_data_grdm", + "case": "success", + "status": "skipped", + "duration_ms": 0, + "http_status": null, + "evidence": null, + "known_external_blocked": 0 + }, + { + "nodeid": "test_s3_aipf.py::test_s3_aipf_rejection[chromium]", + "id": "S3", + "name": "aipf_mcp_data_grdm", + "case": "rejection", + "status": "skipped", + "duration_ms": 0, + "http_status": null, + "evidence": null, + "known_external_blocked": 0 + }, + { + "nodeid": "test_s4_oasys.py::test_s4_oasys_success[chromium]", + "id": "S4", + "name": "OASys", + "case": "success", + "status": "skipped", + "duration_ms": 2290, + "http_status": null, + "evidence": null, + "known_external_blocked": 4 + }, + { + "nodeid": "test_s4_oasys.py::test_s4_oasys_rejection[chromium]", + "id": "S4", + "name": "OASys", + "case": "rejection", + "status": "skipped", + "duration_ms": 2295, + "http_status": null, + "evidence": null, + "known_external_blocked": 4 + }, + { + "nodeid": "test_s5_shibboleth.py::test_s5_shibboleth_success[chromium]", + "id": "S5", + "name": "Shibboleth-SP via test IdP", + "case": "success", + "status": "skipped", + "duration_ms": 69, + "http_status": null, + "evidence": null, + "known_external_blocked": 0 + }, + { + "nodeid": "test_s5_shibboleth.py::test_s5_shibboleth_rejection[chromium]", + "id": "S5", + "name": "Shibboleth-SP via test IdP", + "case": "rejection", + "status": "skipped", + "duration_ms": 0, + "http_status": null, + "evidence": null, + "known_external_blocked": 0 + }, + { + "nodeid": "test_c1_login.py::test_c1_login_rejection", + "id": "C1", + "name": "Login via fakecas", + "case": "rejection", + "status": "passed", + "duration_ms": 72, + "http_status": 401, + "evidence": null, + "known_external_blocked": 0 + } +] diff --git a/docs/demo/runs/acc-20261116T003758Z-d077f9/junit.xml b/docs/demo/runs/acc-20261116T003758Z-d077f9/junit.xml new file mode 100644 index 00000000..5f376dc4 --- /dev/null +++ b/docs/demo/runs/acc-20261116T003758Z-d077f9/junit.xml @@ -0,0 +1 @@ +installer/acceptance/test_s2_rdmcp.py:58: GRDM_PROFILE is 'core': rdmcp runs only in the full profile (compose render --profile full)installer/acceptance/test_s2_rdmcp.py:58: GRDM_PROFILE is 'core': rdmcp runs only in the full profile (compose render --profile full)installer/acceptance/test_s3_aipf.py:209: GRDM_PROFILE is 'core': aipf_mcp_data_grdm runs only in the full profile (compose render --profile full)installer/acceptance/test_s3_aipf.py:258: GRDM_PROFILE is 'core': aipf_mcp_data_grdm runs only in the full profile (compose render --profile full)installer/acceptance/test_s4_oasys.py:41: GRDM_PROFILE is 'core': OASys runs only in the full profile (compose render --profile full)installer/acceptance/test_s4_oasys.py:41: GRDM_PROFILE is 'core': OASys runs only in the full profile (compose render --profile full)installer/acceptance/test_s5_shibboleth.py:67: GRDM_PROFILE is 'core' and GRDM_AUTH is fakecas: S5 runs only after `compose render --profile full --auth shibboleth` (SPEC-04 §8, a run separate from fakecas)installer/acceptance/test_s5_shibboleth.py:67: GRDM_PROFILE is 'core' and GRDM_AUTH is fakecas: S5 runs only after `compose render --profile full --auth shibboleth` (SPEC-04 §8, a run separate from fakecas) \ No newline at end of file diff --git a/docs/demo/runs/acc-20261116T003758Z-d077f9/pytest.log b/docs/demo/runs/acc-20261116T003758Z-d077f9/pytest.log new file mode 100644 index 00000000..fd105552 --- /dev/null +++ b/docs/demo/runs/acc-20261116T003758Z-d077f9/pytest.log @@ -0,0 +1,76 @@ +...............ssssssss. [100%] +=============================== warnings summary =============================== +test_c1_login.py::test_c1_login_success[chromium] + test_c1_login.py:11: PytestWarning: record_property is incompatible with junit_family 'xunit2' (use 'legacy' or 'xunit1') + +test_c2_create_project.py::test_c2_create_project_success[chromium] + test_c2_create_project.py:11: PytestWarning: record_property is incompatible with junit_family 'xunit2' (use 'legacy' or 'xunit1') + +test_c2_create_project.py::test_c2_create_project_rejection[chromium] + test_c2_create_project.py:39: PytestWarning: record_property is incompatible with junit_family 'xunit2' (use 'legacy' or 'xunit1') + +test_c3_file_upload.py::test_c3_file_upload_success[chromium] + test_c3_file_upload.py:29: PytestWarning: record_property is incompatible with junit_family 'xunit2' (use 'legacy' or 'xunit1') + +test_c3_file_upload.py::test_c3_file_upload_rejection[chromium] + test_c3_file_upload.py:43: PytestWarning: record_property is incompatible with junit_family 'xunit2' (use 'legacy' or 'xunit1') + +test_c4_wiki_collab.py::test_c4_wiki_collab_success[chromium] + test_c4_wiki_collab.py:55: PytestWarning: record_property is incompatible with junit_family 'xunit2' (use 'legacy' or 'xunit1') + +test_c4_wiki_collab.py::test_c4_wiki_collab_rejection[chromium] + test_c4_wiki_collab.py:85: PytestWarning: record_property is incompatible with junit_family 'xunit2' (use 'legacy' or 'xunit1') + +test_c5_file_preview.py::test_c5_file_preview_success[chromium] + test_c5_file_preview.py:17: PytestWarning: record_property is incompatible with junit_family 'xunit2' (use 'legacy' or 'xunit1') + +test_c5_file_preview.py::test_c5_file_preview_rejection[chromium] + test_c5_file_preview.py:30: PytestWarning: record_property is incompatible with junit_family 'xunit2' (use 'legacy' or 'xunit1') + +test_c6_admin.py::test_c6_admin_success[chromium] + test_c6_admin.py:40: PytestWarning: record_property is incompatible with junit_family 'xunit2' (use 'legacy' or 'xunit1') + +test_c6_admin.py::test_c6_admin_rejection[chromium] + test_c6_admin.py:60: PytestWarning: record_property is incompatible with junit_family 'xunit2' (use 'legacy' or 'xunit1') + +test_c7_file_editor.py::test_c7_file_editor_success[chromium] + test_c7_file_editor.py:45: PytestWarning: record_property is incompatible with junit_family 'xunit2' (use 'legacy' or 'xunit1') + +test_c7_file_editor.py::test_c7_file_editor_rejection[chromium] + test_c7_file_editor.py:75: PytestWarning: record_property is incompatible with junit_family 'xunit2' (use 'legacy' or 'xunit1') + +test_s1_y_websocket.py::test_s1_y_websocket_success[chromium] + test_s1_y_websocket.py:102: PytestWarning: record_property is incompatible with junit_family 'xunit2' (use 'legacy' or 'xunit1') + +test_s1_y_websocket.py::test_s1_y_websocket_rejection[chromium] + test_s1_y_websocket.py:124: PytestWarning: record_property is incompatible with junit_family 'xunit2' (use 'legacy' or 'xunit1') + +test_s2_rdmcp.py::test_s2_rdmcp_success[chromium] + test_s2_rdmcp.py:243: PytestWarning: record_property is incompatible with junit_family 'xunit2' (use 'legacy' or 'xunit1') + +test_s2_rdmcp.py::test_s2_rdmcp_rejection[chromium] + test_s2_rdmcp.py:266: PytestWarning: record_property is incompatible with junit_family 'xunit2' (use 'legacy' or 'xunit1') + +test_s4_oasys.py::test_s4_oasys_success[chromium] + test_s4_oasys.py:47: PytestWarning: record_property is incompatible with junit_family 'xunit2' (use 'legacy' or 'xunit1') + +test_s4_oasys.py::test_s4_oasys_rejection[chromium] + test_s4_oasys.py:77: PytestWarning: record_property is incompatible with junit_family 'xunit2' (use 'legacy' or 'xunit1') + +test_s5_shibboleth.py::test_s5_shibboleth_success[chromium] + test_s5_shibboleth.py:100: PytestWarning: record_property is incompatible with junit_family 'xunit2' (use 'legacy' or 'xunit1') + +test_s5_shibboleth.py::test_s5_shibboleth_rejection[chromium] + test_s5_shibboleth.py:131: PytestWarning: record_property is incompatible with junit_family 'xunit2' (use 'legacy' or 'xunit1') + +test_c1_login.py::test_c1_login_rejection + test_c1_login.py:21: PytestWarning: record_property is incompatible with junit_family 'xunit2' (use 'legacy' or 'xunit1') + +-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html +=========================== short test summary info ============================ +SKIPPED [2] installer/acceptance/test_s2_rdmcp.py:58: GRDM_PROFILE is 'core': rdmcp runs only in the full profile (compose render --profile full) +SKIPPED [1] installer/acceptance/test_s3_aipf.py:209: GRDM_PROFILE is 'core': aipf_mcp_data_grdm runs only in the full profile (compose render --profile full) +SKIPPED [1] installer/acceptance/test_s3_aipf.py:258: GRDM_PROFILE is 'core': aipf_mcp_data_grdm runs only in the full profile (compose render --profile full) +SKIPPED [2] installer/acceptance/test_s4_oasys.py:41: GRDM_PROFILE is 'core': OASys runs only in the full profile (compose render --profile full) +SKIPPED [2] installer/acceptance/test_s5_shibboleth.py:67: GRDM_PROFILE is 'core' and GRDM_AUTH is fakecas: S5 runs only after `compose render --profile full --auth shibboleth` (SPEC-04 §8, a run separate from fakecas) +16 passed, 8 skipped, 22 warnings in 85.26s (0:01:25) diff --git a/docs/demo/runs/acc-20261116T003758Z-d077f9/results.json b/docs/demo/runs/acc-20261116T003758Z-d077f9/results.json new file mode 100644 index 00000000..9471bf61 --- /dev/null +++ b/docs/demo/runs/acc-20261116T003758Z-d077f9/results.json @@ -0,0 +1,306 @@ +{ + "run_id": "acc-20261116T003758Z-d077f9", + "base_url": "http://127.0.0.1:5000", + "started": "2026-11-16T00:37:58Z", + "duration_ms": 108751, + "only": null, + "seeded": true, + "precheck": { + "healthy": true, + "services": 23 + }, + "pytest_returncode": 0, + "evidence_dir": "docs/demo/runs/acc-20261116T003758Z-d077f9", + "tracing": "off", + "wait_scale": 1.0, + "trace_quarantine": null, + "expected_scenarios": [ + "C1", + "C2", + "C3", + "C4", + "C5", + "C6", + "C7", + "S1", + "S2", + "S3", + "S4", + "S5" + ], + "incomplete_scenarios": [], + "summary": { + "passed": 16, + "failed": 0, + "error": 0, + "skipped": 8, + "total": 24, + "known_external_blocked": 189 + }, + "tests": [ + { + "id": "C1", + "name": "Login via fakecas", + "case": "success", + "test": "test_c1_login_success[chromium]", + "status": "passed", + "duration_ms": 2628, + "http_status": 200, + "evidence": null, + "known_external_blocked": 7 + }, + { + "id": "C2", + "name": "Create project", + "case": "success", + "test": "test_c2_create_project_success[chromium]", + "status": "passed", + "duration_ms": 5200, + "http_status": 200, + "evidence": null, + "known_external_blocked": 14 + }, + { + "id": "C2", + "name": "Create project", + "case": "rejection", + "test": "test_c2_create_project_rejection[chromium]", + "status": "passed", + "duration_ms": 4277, + "http_status": 403, + "evidence": null, + "known_external_blocked": 8 + }, + { + "id": "C3", + "name": "Upload and download file", + "case": "success", + "test": "test_c3_file_upload_success[chromium]", + "status": "passed", + "duration_ms": 3247, + "http_status": 200, + "evidence": null, + "known_external_blocked": 4 + }, + { + "id": "C3", + "name": "Upload and download file", + "case": "rejection", + "test": "test_c3_file_upload_rejection[chromium]", + "status": "passed", + "duration_ms": 4305, + "http_status": 403, + "evidence": null, + "known_external_blocked": 8 + }, + { + "id": "C4", + "name": "Wiki collaborative edit", + "case": "success", + "test": "test_c4_wiki_collab_success[chromium]", + "status": "passed", + "duration_ms": 7898, + "http_status": 200, + "evidence": null, + "known_external_blocked": 18 + }, + { + "id": "C4", + "name": "Wiki collaborative edit", + "case": "rejection", + "test": "test_c4_wiki_collab_rejection[chromium]", + "status": "passed", + "duration_ms": 4539, + "http_status": 4401, + "evidence": null, + "known_external_blocked": 13 + }, + { + "id": "C5", + "name": "File preview", + "case": "success", + "test": "test_c5_file_preview_success[chromium]", + "status": "passed", + "duration_ms": 5719, + "http_status": 200, + "evidence": null, + "known_external_blocked": 9 + }, + { + "id": "C5", + "name": "File preview", + "case": "rejection", + "test": "test_c5_file_preview_rejection[chromium]", + "status": "passed", + "duration_ms": 4405, + "http_status": 401, + "evidence": null, + "known_external_blocked": 9 + }, + { + "id": "C6", + "name": "Institution admin screen", + "case": "success", + "test": "test_c6_admin_success[chromium]", + "status": "passed", + "duration_ms": 1730, + "http_status": 200, + "evidence": null, + "known_external_blocked": 6 + }, + { + "id": "C6", + "name": "Institution admin screen", + "case": "rejection", + "test": "test_c6_admin_rejection[chromium]", + "status": "passed", + "duration_ms": 753, + "http_status": 403, + "evidence": null, + "known_external_blocked": 3 + }, + { + "id": "C7", + "name": "File page collaborative edit", + "case": "success", + "test": "test_c7_file_editor_success[chromium]", + "status": "passed", + "duration_ms": 9186, + "http_status": 200, + "evidence": null, + "known_external_blocked": 22 + }, + { + "id": "C7", + "name": "File page collaborative edit", + "case": "rejection", + "test": "test_c7_file_editor_rejection[chromium]", + "status": "passed", + "duration_ms": 7161, + "http_status": 4401, + "evidence": null, + "known_external_blocked": 17 + }, + { + "id": "S1", + "name": "y-websocket", + "case": "success", + "test": "test_s1_y_websocket_success[chromium]", + "status": "passed", + "duration_ms": 9195, + "http_status": 200, + "evidence": null, + "known_external_blocked": 22 + }, + { + "id": "S1", + "name": "y-websocket", + "case": "rejection", + "test": "test_s1_y_websocket_rejection[chromium]", + "status": "passed", + "duration_ms": 4306, + "http_status": 4401, + "evidence": null, + "known_external_blocked": 9 + }, + { + "id": "S2", + "name": "rdmcp (MCP endpoint)", + "case": "success", + "test": "test_s2_rdmcp_success[chromium]", + "status": "skipped", + "duration_ms": 2336, + "http_status": null, + "evidence": null, + "known_external_blocked": 4 + }, + { + "id": "S2", + "name": "rdmcp (MCP endpoint)", + "case": "rejection", + "test": "test_s2_rdmcp_rejection[chromium]", + "status": "skipped", + "duration_ms": 3552, + "http_status": null, + "evidence": null, + "known_external_blocked": 8 + }, + { + "id": "S3", + "name": "aipf_mcp_data_grdm", + "case": "success", + "test": "test_s3_aipf_success[chromium]", + "status": "skipped", + "duration_ms": 0, + "http_status": null, + "evidence": null, + "known_external_blocked": 0 + }, + { + "id": "S3", + "name": "aipf_mcp_data_grdm", + "case": "rejection", + "test": "test_s3_aipf_rejection[chromium]", + "status": "skipped", + "duration_ms": 0, + "http_status": null, + "evidence": null, + "known_external_blocked": 0 + }, + { + "id": "S4", + "name": "OASys", + "case": "success", + "test": "test_s4_oasys_success[chromium]", + "status": "skipped", + "duration_ms": 2290, + "http_status": null, + "evidence": null, + "known_external_blocked": 4 + }, + { + "id": "S4", + "name": "OASys", + "case": "rejection", + "test": "test_s4_oasys_rejection[chromium]", + "status": "skipped", + "duration_ms": 2295, + "http_status": null, + "evidence": null, + "known_external_blocked": 4 + }, + { + "id": "S5", + "name": "Shibboleth-SP via test IdP", + "case": "success", + "test": "test_s5_shibboleth_success[chromium]", + "status": "skipped", + "duration_ms": 69, + "http_status": null, + "evidence": null, + "known_external_blocked": 0 + }, + { + "id": "S5", + "name": "Shibboleth-SP via test IdP", + "case": "rejection", + "test": "test_s5_shibboleth_rejection[chromium]", + "status": "skipped", + "duration_ms": 0, + "http_status": null, + "evidence": null, + "known_external_blocked": 0 + }, + { + "id": "C1", + "name": "Login via fakecas", + "case": "rejection", + "test": "test_c1_login_rejection", + "status": "passed", + "duration_ms": 72, + "http_status": 401, + "evidence": null, + "known_external_blocked": 0 + } + ] +} diff --git a/docs/demo/runs/acc-20261116T003758Z-d077f9/results.toon b/docs/demo/runs/acc-20261116T003758Z-d077f9/results.toon new file mode 100644 index 00000000..ccbe43df --- /dev/null +++ b/docs/demo/runs/acc-20261116T003758Z-d077f9/results.toon @@ -0,0 +1,61 @@ +accept: + run_id: acc-20261116T003758Z-d077f9 + base_url: "http://127.0.0.1:5000" + started: "2026-11-16T00:37:58Z" + duration_ms: 108751 + only: null + seeded: true + precheck: + healthy: true + services: 23 + pytest_returncode: 0 + evidence_dir: docs/demo/runs/acc-20261116T003758Z-d077f9 + tracing: off + wait_scale: 1.0 + trace_quarantine: null + expected_scenarios[12]: + - C1 + - C2 + - C3 + - C4 + - C5 + - C6 + - C7 + - S1 + - S2 + - S3 + - S4 + - S5 + incomplete_scenarios[0]: + summary: + passed: 16 + failed: 0 + error: 0 + skipped: 8 + total: 24 + known_external_blocked: 189 + tests[24]{id,name,case,test,status,duration_ms,http_status,evidence,known_external_blocked}: + C1,Login via fakecas,success,"test_c1_login_success[chromium]",passed,2628,200,null,7 + C2,Create project,success,"test_c2_create_project_success[chromium]",passed,5200,200,null,14 + C2,Create project,rejection,"test_c2_create_project_rejection[chromium]",passed,4277,403,null,8 + C3,Upload and download file,success,"test_c3_file_upload_success[chromium]",passed,3247,200,null,4 + C3,Upload and download file,rejection,"test_c3_file_upload_rejection[chromium]",passed,4305,403,null,8 + C4,Wiki collaborative edit,success,"test_c4_wiki_collab_success[chromium]",passed,7898,200,null,18 + C4,Wiki collaborative edit,rejection,"test_c4_wiki_collab_rejection[chromium]",passed,4539,4401,null,13 + C5,File preview,success,"test_c5_file_preview_success[chromium]",passed,5719,200,null,9 + C5,File preview,rejection,"test_c5_file_preview_rejection[chromium]",passed,4405,401,null,9 + C6,Institution admin screen,success,"test_c6_admin_success[chromium]",passed,1730,200,null,6 + C6,Institution admin screen,rejection,"test_c6_admin_rejection[chromium]",passed,753,403,null,3 + C7,File page collaborative edit,success,"test_c7_file_editor_success[chromium]",passed,9186,200,null,22 + C7,File page collaborative edit,rejection,"test_c7_file_editor_rejection[chromium]",passed,7161,4401,null,17 + S1,y-websocket,success,"test_s1_y_websocket_success[chromium]",passed,9195,200,null,22 + S1,y-websocket,rejection,"test_s1_y_websocket_rejection[chromium]",passed,4306,4401,null,9 + S2,rdmcp (MCP endpoint),success,"test_s2_rdmcp_success[chromium]",skipped,2336,null,null,4 + S2,rdmcp (MCP endpoint),rejection,"test_s2_rdmcp_rejection[chromium]",skipped,3552,null,null,8 + S3,aipf_mcp_data_grdm,success,"test_s3_aipf_success[chromium]",skipped,0,null,null,0 + S3,aipf_mcp_data_grdm,rejection,"test_s3_aipf_rejection[chromium]",skipped,0,null,null,0 + S4,OASys,success,"test_s4_oasys_success[chromium]",skipped,2290,null,null,4 + S4,OASys,rejection,"test_s4_oasys_rejection[chromium]",skipped,2295,null,null,4 + S5,Shibboleth-SP via test IdP,success,"test_s5_shibboleth_success[chromium]",skipped,69,null,null,0 + S5,Shibboleth-SP via test IdP,rejection,"test_s5_shibboleth_rejection[chromium]",skipped,0,null,null,0 + C1,Login via fakecas,rejection,test_c1_login_rejection,passed,72,401,null,0 diff --git a/docs/status/README.md b/docs/status/README.md index 46b7ecb3..9b7eabd6 100644 --- a/docs/status/README.md +++ b/docs/status/README.md @@ -5,7 +5,8 @@ **Jump:** [English](#english) · [日本語](#japanese) -- Version / 版: 0.36 — 2026-11-16. **Learned:** an auth variant needs its own run, and a run in it of the whole suite shows which scenarios belong to it: on cas-overlay `d69fb528` (PRs #4 and #5 merged), the shibboleth render passed S5 (200 and 403) while C1–S4 failed for want of fakecas, as designed, and the fakecas full render passed 22 with S5 skipped. / 認証の別形には専用の実行が要り、その中でスイート全体を流すと、どのシナリオがその形に属すかが分かる。cas-overlay `d69fb528`(PR #4・#5 マージ済み)で、shibboleth の描画は S5 に合格(200 と 403)し、C1〜S4 は作りどおり fakecas が無いため失敗した。fakecas の full の描画は S5 をスキップして合格 22 だった。 +- Version / 版: 0.37 — 2026-11-16. **Learned:** a security fix upstream gets its own pin: osf.io `c5a05de0e3d0` (#39 READ-user update hole, #40 tests) passed 16 with 8 skips in core (DEMO-20 0.26), ahead of #41. / 上流のセキュリティ修正には専用の固定版を与える。osf.io `c5a05de0e3d0`(#39 READ の利用者の更新の穴、#40 試験)は #41 より先に core で合格 16、スキップ 8 だった(DEMO-20 0.26)。 + 0.36 — 2026-11-16. **Learned:** an auth variant needs its own run, and a run in it of the whole suite shows which scenarios belong to it: on cas-overlay `d69fb528` (PRs #4 and #5 merged), the shibboleth render passed S5 (200 and 403) while C1–S4 failed for want of fakecas, as designed, and the fakecas full render passed 22 with S5 skipped. / 認証の別形には専用の実行が要り、その中でスイート全体を流すと、どのシナリオがその形に属すかが分かる。cas-overlay `d69fb528`(PR #4・#5 マージ済み)で、shibboleth の描画は S5 に合格(200 と 403)し、C1〜S4 は作りどおり fakecas が無いため失敗した。fakecas の full の描画は S5 をスキップして合格 22 だった。 0.35 — 2026-11-16. **Learned:** a static check of the CAS views cannot prove that no page ever loads from another host; it is a build-time regression guard against an asset added by accident, and the authoritative control is the runtime loopback guard of the acceptance suite, which saw 0 external requests from the CAS pages. The served CAS assets did not change at RDM-cas-overlay-dev2027 PR #5's head `34a5ed6` (only the guard and its fixtures did), so the runs on `878099b` stand. / CAS の画面の静的な検査は、どの画面も他のホストから決して読まないことを証明できない。うっかり足された資産を止めるビルド時の回帰の防止であり、権威ある統制は受入試験の実行時のループバック監視で、CAS の画面からの外部要求 0 件を確かめた。RDM-cas-overlay-dev2027 PR #5 の先頭 `34a5ed6` で CAS が配る資産は変わっていない(変えたのは検査と fixture だけ)ので、`878099b` での実行がそのまま当てはまる。 0.34 — 2026-11-16. **Learned:** a guard is only as good as its bypass tests: the CAS build check became a JDK scanner that 17 bypass fixtures must fail and a clean one pass (RDM-cas-overlay-dev2027 PR #5 head `878099b`), and the image built from it passed S5 (run `acc-20261115T221110Z-722988`, 0 blocked assets on the CAS, SP and IdP pages) and the fakecas suite, 22 passed with 2 skips (run `acc-20261115T221346Z-bf1f2e`). / 監視は、それを回避する試験と同じだけしか強くない。CAS のビルドの検査は、17 個の回避の例が失敗し、正しい例が合格しなければならない JDK の走査器になり(RDM-cas-overlay-dev2027 PR #5 の先頭 `878099b`)、そこから組んだイメージで S5(実行 `acc-20261115T221110Z-722988`。CAS・SP・IdP の画面で遮断した資産 0 件)と fakecas のスイート(合格 22、スキップ 2、実行 `acc-20261115T221346Z-bf1f2e`)が合格した。 0.33 — 2026-11-16. **Learned:** a page is only self-contained when the build says so: CAS at RDM-cas-overlay-dev2027 PR #5's head serves no external asset (its build now unpacks the WAR and fails on any), so head.js left the acceptance exception list; S5 passed with 0 assets blocked on the CAS, SP and IdP pages (run `acc-20261115T211807Z-6bcf0e`) and the fakecas suite passed 22 with 2 skips (run `acc-20261115T212428Z-d13514`). / 画面が自己完結だと言えるのは、ビルドがそう言うときだけである。RDM-cas-overlay-dev2027 PR #5 の先頭の CAS は外部の資産を一切配らず(ビルドが WAR を展開して検査し、あれば失敗する)、head.js は受入の例外一覧から外れた。S5 は CAS・SP・IdP の画面で遮断した資産 0 件で合格し(実行 `acc-20261115T211807Z-6bcf0e`)、fakecas のスイートは合格 22、スキップ 2(実行 `acc-20261115T212428Z-d13514`)。 @@ -87,7 +88,7 @@ | Cold start (empty volumes, new `runtime/`) on Mac Studio | ✅ Run 21 (2026-11-06, PR #34, ADR-07): exit 0 in 31 minutes; run 19 had shown the emulated Elasticsearch 2 needing 38 minutes to start, replaced by a native image | | One command from a new checkout on the final pins on Mac Studio (`install-macos.sh`) | ✅ 2026-11-14, develop 0df4640: exit 0 in one run of 12 min 50 s (build 59 s from Docker's warm cache, `up` on empty volumes 8 min 59 s); acceptance 14 of 14 with the default waits (`acc-20261114T103547Z-8c60ae`); the main stack was set aside and restored with its data (DEMO-20 0.23). Not shown: an empty Docker or a new Mac | | edit.mako wiring in the integration repository — `RDM-osf.io-dev2027` `addons/wiki/templates/edit.mako` must load `/static/public/js/wiki/wiki-edit-page.js` (the bundle that `wiki_assets` copies into the volume `wiki_static`, [ADR-06 §4](../decisions/ADR-06_Wiki_Frontend_Overlay.md#english)) instead of `/static/js/pages/wiki-edit-page.js`; browser check of the editor and C4 once a real install reaches `up` | ✅ Done: `RDM-osf.io-dev2027` PR #4 merged on 2026-11-09 (`7acc9abf9e`); C4 passes 2 of 2 in run `acc-20261110T015520Z-ab4cc7` (PR #40 review r1 R1-03) | -| Playwright acceptance C1–C7 | ✅ **All of C1–C7 pass** (16 passed with S1, 8 skipped for S2–S5) on 2026-11-15 on osf.io `07cc56d47b39` (RDM-osf.io-dev2027 `develop` after #34, #35 and #36 Mapcore read access, #38 test isolation; its push CI passed), run `acc-20261115T133503Z-a3fa08` (UTC), default waits, on the Mac Studio stack updated in place ([DEMO-20](../demo/20_core_install_mac_studio.md#english) 0.25). Before that, **14 of 14 pass** on 2026-11-15 on osf.io `94e681747ba1` (RDM-osf.io-dev2027 `develop` after #24 CORS whitelist, #25 admin test isolation, #26 wiki import validation, #28 conference mail posts in private mode, #31 Mapcore children in private mode; its push CI passed), run `acc-20261115T030524Z-aac662` (UTC), default waits, on the Mac Studio stack updated in place ([DEMO-20](../demo/20_core_install_mac_studio.md#english) 0.24). Before that, **14 of 14 pass** again on the merged final pins on 2026-11-12 (run `acc-20261112T223428Z-fda84a`, UTC; osf.io `90b10661c8dc` after #8, #10, #11 merged; scan exit 0, 6,264 open findings, [DEMO-20](../demo/20_core_install_mac_studio.md#english)). Before that, **14 of 14 pass** on 2026-11-12 (run `acc-20261111T230217Z-d8363c`, UTC) on the local osf.io candidate (develop `73ff43b3c2` + PR #8, #10, #11) with Elasticsearch 8, y-websocket only, mandatory sign-in and the admin second factor; C7 (file-page co-editing) is new ([DEMO-20](../demo/20_core_install_mac_studio.md#english)). Before that: **12 of 12 pass** on 2026-11-10 (run `acc-20261110T015520Z-ab4cc7`) with every merged security fix: HMAC unification, wiki WebSocket JWT (anonymous socket closed with 4401), MFR redirect credentials, admin assets served locally, Google Analytics removed ([DEMO-20](../demo/20_core_install_mac_studio.md#english)). Merges under the [ADR-04](../decisions/ADR-04_AI_Autonomy_and_Roles.md#english) delegation with review records in `docs/reviews/`. After the Python 3.13 pins (PR #45), C5 broke and was fixed in MFR PR #7 (`9771b8cf`); 12 of 12 again in run `acc-20261111T132104Z-530071` | +| Playwright acceptance C1–C7 | ✅ **All of C1–C7 pass** (16 passed with S1, 8 skipped for S2–S5) on 2026-11-16 on osf.io `c5a05de0e3d0` (RDM-osf.io-dev2027 `develop` after #39 READ-user update hole closed, #40 tests; its push CI passed), run `acc-20261116T003758Z-d077f9` (UTC), core profile ([DEMO-20](../demo/20_core_install_mac_studio.md#english) 0.26). Before that, **All of C1–C7 pass** (16 passed with S1, 8 skipped for S2–S5) on 2026-11-15 on osf.io `07cc56d47b39` (RDM-osf.io-dev2027 `develop` after #34, #35 and #36 Mapcore read access, #38 test isolation; its push CI passed), run `acc-20261115T133503Z-a3fa08` (UTC), default waits, on the Mac Studio stack updated in place ([DEMO-20](../demo/20_core_install_mac_studio.md#english) 0.25). Before that, **14 of 14 pass** on 2026-11-15 on osf.io `94e681747ba1` (RDM-osf.io-dev2027 `develop` after #24 CORS whitelist, #25 admin test isolation, #26 wiki import validation, #28 conference mail posts in private mode, #31 Mapcore children in private mode; its push CI passed), run `acc-20261115T030524Z-aac662` (UTC), default waits, on the Mac Studio stack updated in place ([DEMO-20](../demo/20_core_install_mac_studio.md#english) 0.24). Before that, **14 of 14 pass** again on the merged final pins on 2026-11-12 (run `acc-20261112T223428Z-fda84a`, UTC; osf.io `90b10661c8dc` after #8, #10, #11 merged; scan exit 0, 6,264 open findings, [DEMO-20](../demo/20_core_install_mac_studio.md#english)). Before that, **14 of 14 pass** on 2026-11-12 (run `acc-20261111T230217Z-d8363c`, UTC) on the local osf.io candidate (develop `73ff43b3c2` + PR #8, #10, #11) with Elasticsearch 8, y-websocket only, mandatory sign-in and the admin second factor; C7 (file-page co-editing) is new ([DEMO-20](../demo/20_core_install_mac_studio.md#english)). Before that: **12 of 12 pass** on 2026-11-10 (run `acc-20261110T015520Z-ab4cc7`) with every merged security fix: HMAC unification, wiki WebSocket JWT (anonymous socket closed with 4401), MFR redirect credentials, admin assets served locally, Google Analytics removed ([DEMO-20](../demo/20_core_install_mac_studio.md#english)). Merges under the [ADR-04](../decisions/ADR-04_AI_Autonomy_and_Roles.md#english) delegation with review records in `docs/reviews/`. After the Python 3.13 pins (PR #45), C5 broke and was fixed in MFR PR #7 (`9771b8cf`); 12 of 12 again in run `acc-20261111T132104Z-530071` | | Trivy image scan and allow-list count (fewer than M1) | ⚠️ **Not met; M2 closed by the owner's decision of 2026-11-13** (「一括で承認、M2 完了」). Image scanning works, but the count condition is **not met**. History: run 18 (Trivy alone) measured 1835 CRITICAL / 8290 HIGH / 9763 MEDIUM / 3886 LOW over 22 targets. Run 21, with the native Elasticsearch 2, measured 1769 / 8030 / 9550 / 3676, and the allow-list then had 0 entries (M1: 0). Now: PR #45 adds **58 entries** for Debian 13 packages without a fixed version in the Python 3.13 WaterButler and MFR images. Since PR #45 review r1 (R1-01), each entry names its exact packages and stops matching once a fix exists. They cover 177 findings in `scan_20261111T132607Z` (open Trivy CRITICAL/HIGH 726 / 3,769), while `manifest/allowlist.baseline.json` said 0 and the scan passed only because `manifest/milestone.json` was M1 (report-only); under M2's count-not-growing rule 58 > 0 fails. At milestone exit (SPEC-03 §5.1 rule 5) the owner declared M2 complete without the criterion being met, and that decision is recorded as the M2 exit count: `counts` is `{M1: 0, M2: 58}` and `manifest/milestone.json` is M3, so the ceiling is 58 and a 59th entry exits 50 (unit test `test_m3_ceiling_is_the_m2_exit_count`). The review of the 58 entries (expiry 2026-12-31) is carried to §2d | | Preview from the new ember UI (API v2) cannot reach the internal WaterButler — separate from C5, which uses the classic file page | ⏳ **Carried to M3** (§2d). History: the cause found by code reading (not reproduced in a browser) was that `api/files/serializers.py` built `links.render` as MFR `/render?url=/download//?direct&mode=render`, a browser-facing URL the MFR container cannot reach, whose route also ignored `mode=render`. RDM-osf.io-dev2027 PR #14 (server side) and RDM-ember-osf-web-dev2027 PR #3 are both merged. Open: a check on the real ember screen after deployment; no acceptance scenario covers the ember preview yet, so success there is not shown. MFR's credential pair (`http://web:5000` → `http://wb:7777`, MFR PR #7) stays as it is | | Default branch switched to `develop` (owner) | ⏳ **Carried to M3** (§2d): M2 is closed by owner decision, the switch itself is the owner's. PR #51 (`develop` → `master`) was merged on 2026-11-14 (merge commit `9ebb9e9`) by the owner's decision of 2026-11-13 | @@ -177,7 +178,7 @@ This board is the **single source of truth** for milestone progress: | Mac Studio でのコールドスタート(空のボリューム、新しい `runtime/`) | ✅ 第 21 回(2026-11-06、PR #34、ADR-07): 31 分で終了コード 0。第 19 回でエミュレーションの Elasticsearch 2 が起動に 38 分かかることが分かり、ネイティブイメージに置き換えた | | Mac Studio で最終の固定版を新しいチェックアウトから一つのコマンドで導入(`install-macos.sh`) | ✅ 2026-11-14、develop 0df4640: 一回の実行で 12 分 50 秒で終了 0(build は Docker の温まったキャッシュで 59 秒、空のボリュームでの `up` は 8 分 59 秒)。既定の待ちで受入 14 件中 14 件(`acc-20261114T103547Z-8c60ae`)。本体のスタックは脇へ外し、データごと復元した(DEMO-20 0.23)。示していないこと: 空の Docker、新品の Mac | | 統合リポジトリ側の edit.mako 配線(M2 第 5 回で確認) — `RDM-osf.io-dev2027` の `addons/wiki/templates/edit.mako` が `/static/js/pages/wiki-edit-page.js` でなく `/static/public/js/wiki/wiki-edit-page.js`(`wiki_assets` がボリューム `wiki_static` へ写す束。[ADR-06 §4](../decisions/ADR-06_Wiki_Frontend_Overlay.md#japanese))を読み込むこと。実機導入が `up` に達したらエディタと C4 をブラウザ確認 | ✅ 完了: `RDM-osf.io-dev2027` PR #4 を 2026-11-09 にマージ(`7acc9abf9e`)。実行 `acc-20261110T015520Z-ab4cc7` で C4 は 2 件中 2 件合格(PR #40 レビュー r1 R1-03) | -| Playwright 受入 C1〜C7 | ✅ 2026-11-15 に osf.io `07cc56d47b39`(RDM-osf.io-dev2027 の `develop`。#34、#35・#36 の Mapcore の読み取り、#38 の試験の分離のマージ後。push の CI は合格)で **C1〜C7 がすべて合格**(S1 を含めて合格 16、S2〜S5 のスキップ 8)。実行 `acc-20261115T133503Z-a3fa08`(UTC)、既定の待ち、Mac Studio のスタックを上書きで更新([DEMO-20](../demo/20_core_install_mac_studio.md#japanese) 0.25)。それ以前に 2026-11-15 に osf.io `94e681747ba1`(RDM-osf.io-dev2027 の `develop`。#24 CORS の許可リスト、#25 管理画面の試験の分離、#26 wiki の取り込みの検証、#28 非公開モードの学会のメール投稿、#31 非公開モードの Mapcore の子ノードのマージ後。push の CI は合格)で **14 件中 14 件合格**。実行 `acc-20261115T030524Z-aac662`(UTC)、既定の待ち、Mac Studio のスタックを上書きで更新([DEMO-20](../demo/20_core_install_mac_studio.md#japanese) 0.24)。それ以前に 2026-11-12 に、マージ後の最終の固定版で再び **14 件中 14 件合格**(実行 `acc-20261112T223428Z-fda84a`、UTC。osf.io `90b10661c8dc`=#8・#10・#11 のマージ後。検査は終了 0、未解決 6,264 件。[DEMO-20](../demo/20_core_install_mac_studio.md#japanese))。それ以前に 2026-11-12 に **14 件中 14 件合格**(実行 `acc-20261111T230217Z-d8363c`、UTC)。ローカルの osf.io 候補(develop `73ff43b3c2` + PR #8・#10・#11)で、Elasticsearch 8、y-websocket のみ、必須サインイン、管理者の第二要素を使った。C7(ファイルページの共同編集)は新規([DEMO-20](../demo/20_core_install_mac_studio.md#japanese))。それ以前: 2026-11-10 に **12 件中 12 件合格**(実行 `acc-20261110T015520Z-ab4cc7`)。マージ済みのセキュリティ修正をすべて含む: HMAC の統一、wiki の WebSocket の JWT(匿名ソケットは 4401 で切断)、MFR の転送時の資格情報、管理画面の資産のローカル配信、Google Analytics の削除([DEMO-20](../demo/20_core_install_mac_studio.md#japanese))。マージは [ADR-04](../decisions/ADR-04_AI_Autonomy_and_Roles.md#japanese) の委任により、レビュー記録は `docs/reviews/`。Python 3.13 の固定版(PR #45)の後に C5 が壊れ、MFR PR #7(`9771b8cf`)で直した。実行 `acc-20261111T132104Z-530071` で再び 12 件中 12 件 | +| Playwright 受入 C1〜C7 | ✅ 2026-11-16 に osf.io `c5a05de0e3d0`(RDM-osf.io-dev2027 の `develop`。#39 READ の利用者の更新の穴を塞ぐ、#40 試験のマージ後。push の CI は合格)で **C1〜C7 がすべて合格**(S1 を含めて合格 16、S2〜S5 のスキップ 8)。実行 `acc-20261116T003758Z-d077f9`(UTC)、core([DEMO-20](../demo/20_core_install_mac_studio.md#japanese) 0.26)。それ以前に 2026-11-15 に osf.io `07cc56d47b39`(RDM-osf.io-dev2027 の `develop`。#34、#35・#36 の Mapcore の読み取り、#38 の試験の分離のマージ後。push の CI は合格)で **C1〜C7 がすべて合格**(S1 を含めて合格 16、S2〜S5 のスキップ 8)。実行 `acc-20261115T133503Z-a3fa08`(UTC)、既定の待ち、Mac Studio のスタックを上書きで更新([DEMO-20](../demo/20_core_install_mac_studio.md#japanese) 0.25)。それ以前に 2026-11-15 に osf.io `94e681747ba1`(RDM-osf.io-dev2027 の `develop`。#24 CORS の許可リスト、#25 管理画面の試験の分離、#26 wiki の取り込みの検証、#28 非公開モードの学会のメール投稿、#31 非公開モードの Mapcore の子ノードのマージ後。push の CI は合格)で **14 件中 14 件合格**。実行 `acc-20261115T030524Z-aac662`(UTC)、既定の待ち、Mac Studio のスタックを上書きで更新([DEMO-20](../demo/20_core_install_mac_studio.md#japanese) 0.24)。それ以前に 2026-11-12 に、マージ後の最終の固定版で再び **14 件中 14 件合格**(実行 `acc-20261112T223428Z-fda84a`、UTC。osf.io `90b10661c8dc`=#8・#10・#11 のマージ後。検査は終了 0、未解決 6,264 件。[DEMO-20](../demo/20_core_install_mac_studio.md#japanese))。それ以前に 2026-11-12 に **14 件中 14 件合格**(実行 `acc-20261111T230217Z-d8363c`、UTC)。ローカルの osf.io 候補(develop `73ff43b3c2` + PR #8・#10・#11)で、Elasticsearch 8、y-websocket のみ、必須サインイン、管理者の第二要素を使った。C7(ファイルページの共同編集)は新規([DEMO-20](../demo/20_core_install_mac_studio.md#japanese))。それ以前: 2026-11-10 に **12 件中 12 件合格**(実行 `acc-20261110T015520Z-ab4cc7`)。マージ済みのセキュリティ修正をすべて含む: HMAC の統一、wiki の WebSocket の JWT(匿名ソケットは 4401 で切断)、MFR の転送時の資格情報、管理画面の資産のローカル配信、Google Analytics の削除([DEMO-20](../demo/20_core_install_mac_studio.md#japanese))。マージは [ADR-04](../decisions/ADR-04_AI_Autonomy_and_Roles.md#japanese) の委任により、レビュー記録は `docs/reviews/`。Python 3.13 の固定版(PR #45)の後に C5 が壊れ、MFR PR #7(`9771b8cf`)で直した。実行 `acc-20261111T132104Z-530071` で再び 12 件中 12 件 | | Trivy のイメージ検査と許容リスト件数(M1 より少なく) | ⚠️ **未達。M2 は 2026-11-13 の所有者の判断で閉じた**(「一括で承認、M2 完了」)。イメージの検査は動くが、件数の条件は**満たしていない**。履歴: 第 18 回(Trivy 単独)は 22 対象で CRITICAL 1835 / HIGH 8290 / MEDIUM 9763 / LOW 3886。ネイティブ Elasticsearch 2 の第 21 回は 1769 / 8030 / 9550 / 3676 で、許容リストはその時点で 0 件(M1: 0)だった。現在: PR #45 は、Python 3.13 の WaterButler と MFR のイメージで修正版の無い Debian 13 のパッケージについて **58 項目**を加える。PR #45 レビュー r1(R1-01)以降、各項目は正確なパッケージを名指しし、修正版が出れば当てはまらなくなる。これらは `scan_20261111T132607Z` で 177 件を許容する(未許容の Trivy の CRITICAL/HIGH は 726 / 3,769)。一方 `manifest/allowlist.baseline.json` は 0 で、検査が合格したのは `manifest/milestone.json` が M1(報告のみ)だったからにすぎない。M2 の「件数を増やさない」規則では 58 > 0 で失敗する。節目の終了時(SPEC-03 §5.1 規則 5)に、所有者は条件を満たさないまま M2 の完了を宣言し、その判断を M2 の終了時の件数として記録した。`counts` は `{M1: 0, M2: 58}`、`manifest/milestone.json` は M3 なので、上限は 58 で、59 項目目は終了 50 になる(単体試験 `test_m3_ceiling_is_the_m2_exit_count`)。58 項目(期限 2026-12-31)の見直しは §2d へ持ち越す | | 新しい ember の画面(API v2)からのプレビューが内部の WaterButler に届かない(旧来のファイルのページを使う C5 とは別) | ⏳ **M3 へ持ち越し**(§2d)。経緯: コードを読んで分かった(ブラウザでは再現していない)原因は、`api/files/serializers.py` が `links.render` を MFR の `/render?url=/download//?direct&mode=render` として作り、それが MFR のコンテナから届かないブラウザ向けの URL で、その経路も `mode=render` を見なかったことである。RDM-osf.io-dev2027 PR #14(サーバー側)と RDM-ember-osf-web-dev2027 PR #3 はどちらもマージ済み。残り: 配備後の ember の実画面での確認。ember のプレビューを試す受入シナリオはまだ無く、そこでの成功は示していない。MFR の資格情報の組(`http://web:5000` → `http://wb:7777`、MFR PR #7)は変えない | | 既定ブランチを `develop` へ切替(所有者) | ⏳ **M3 へ持ち越し**(§2d)。M2 は所有者の判断で閉じたが、切替そのものは所有者が行う。PR #51(`develop` → `master`)は 2026-11-13 の所有者の判断により 2026-11-14 にマージした(マージコミット `9ebb9e9`) | diff --git a/manifest/upstreams.json b/manifest/upstreams.json index ea66b367..47f6264a 100644 --- a/manifest/upstreams.json +++ b/manifest/upstreams.json @@ -128,7 +128,7 @@ ], "id": "osf.io", "integration_branch": "develop", - "integration_sha": "07cc56d47b3922e12dedc7fc55b86b1014ffc5e6", + "integration_sha": "c5a05de0e3d007558566e3262b26b2da38e76d49", "integration_repo": "RDM-osf.io-dev2027", "note": null, "platforms": [