Skip to content
Closed
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
33 changes: 32 additions & 1 deletion docs/demo/20_core_install_mac_studio.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@

**Jump:** [English](#english) · [日本語](#japanese)

- Version / 版: 0.30 — 2026-11-17. **Learned:** two pins that serve one owner decision move together: retiring Quick Files touches the classic navigation (osf.io #46) and the ember screens (ember-osf-web #6), and one run on both new pins (`d95e0abfae4a`, `a0d25ef70168`) passed 18 with 9 skips, run `acc-20261117T011422Z-01ad30`. / 所有者の一つの決定に仕える二つの固定版は一緒に動かす。Quick Files の回収は旧来の画面のナビ(osf.io #46)と ember の画面(ember-osf-web #6)にまたがり、両方の新しい固定版(`d95e0abfae4a`、`a0d25ef70168`)での一回の実行は合格 18、スキップ 9 だった(実行 `acc-20261117T011422Z-01ad30`)。
- Version / 版: 0.31 — 2026-11-17. **Learned:** a test merge is best deployed on the pins it will join: osf.io #47's test merge `bf14a685` ran on guide PR #101's head (the Quick Files pins), so the run proves the merge commit `d4b2361c0b08` (same tree) together with the pins it lands beside: 18 passed, run `acc-20261117T015337Z-63ef29`. / 試しのマージは、加わる先の固定版の上で配備するのがよい。osf.io #47 の試しのマージ `bf14a685` はガイド PR #101 の head(Quick Files の固定版)の上で流したので、その実行はマージコミット `d4b2361c0b08`(同じ tree)を、並ぶ固定版と一緒に証明する。合格 18、実行 `acc-20261117T015337Z-63ef29`。
0.30 — 2026-11-17. **Learned:** two pins that serve one owner decision move together: retiring Quick Files touches the classic navigation (osf.io #46) and the ember screens (ember-osf-web #6), and one run on both new pins (`d95e0abfae4a`, `a0d25ef70168`) passed 18 with 9 skips, run `acc-20261117T011422Z-01ad30`. / 所有者の一つの決定に仕える二つの固定版は一緒に動かす。Quick Files の回収は旧来の画面のナビ(osf.io #46)と ember の画面(ember-osf-web #6)にまたがり、両方の新しい固定版(`d95e0abfae4a`、`a0d25ef70168`)での一回の実行は合格 18、スキップ 9 だった(実行 `acc-20261117T011422Z-01ad30`)。
0.29 — 2026-11-17. **Learned:** a tree that was proven under one SHA has no image under the SHA that is pinned: the run on osf.io #44's test merge `c09e4687cd2a` stands for the merge commit `01999360e094` (same tree), but `up` on a pin needs the image tagged with that pin, and switching back to develop's `567a03ee` failed with exit 40 until that tag was built (from cache). / ある SHA で証明した tree でも、固定した SHA のタグのイメージは別にある。osf.io #44 の試しのマージ `c09e4687cd2a` での実行はマージコミット `01999360e094`(同じ tree)の証拠になるが、固定版で `up` するにはその固定版のタグのイメージが要る。develop の `567a03ee` に戻すときは、そのタグを(キャッシュから)組むまで exit 40 で失敗した。
0.28 — 2026-11-16. **Learned:** a pin can be proven before the merge exists: GitHub's test merge of osf.io #41 (`022de5cf`) was deployed and accepted (16 passed), and the merge commit `567a03ee` carries the same tree, so the run stands for the pin. / 固定版は、マージができる前に証明できる。GitHub が作った osf.io #41 の試しのマージ(`022de5cf`)を配備して受入(合格 16)を通し、マージコミット `567a03ee` は同じ tree を持つので、その実行が固定版の証拠になる。
0.27 — 2026-11-16. **Learned:** an allow-list entry is only as necessary as the package behind it: MFR without pspp (RDM-modular-file-renderer-dev2027 PR #8 head `7a554e2`) has 87 Debian packages instead of 193, Trivy finds 0 CRITICAL / 47 HIGH instead of 3 / 127, 36 of the 47 MFR entries match nothing and were deleted, and acceptance still passed 16 with 8 skips (run `acc-20261116T070123Z-1e2c03`). / 許容リストの項目は、その後ろのパッケージが要る間だけ要る。pspp を外した MFR(RDM-modular-file-renderer-dev2027 PR #8 の先頭 `7a554e2`)は Debian のパッケージが 193 個から 87 個になり、Trivy の検出は CRITICAL/HIGH 3 / 127 から 0 / 47 になった。MFR の 47 項目のうち 36 項目は何にも当てはまらなくなったので削除し、受入はそれでも合格 16、スキップ 8 だった(実行 `acc-20261116T070123Z-1e2c03`)。
Expand Down Expand Up @@ -802,6 +803,21 @@ steps[6]{step,exit,result}:

Not shown here: no scenario opens the navigation of either UI or a former Quick Files URL; the removal rests on osf.io's `tests/test_nav_quickfiles.py` and ember's `quickfiles-retired-test.ts`.

### Pin update — 2026-11-17 (UTC), osf.io `d4b2361c0b08` (#47), 18 passed

RDM-osf.io-dev2027 #47 (the two visible parts of issue #42 that the owner decided on 2026-11-17 to fix: a cancel of a wiki import that no worker has picked up yet now stops it as soon as a worker picks it up, and an import cancelled during its last level is recorded as cancelled, not completed; `addons/wiki/views.py` and its tests, no settings, migration or dependency change) merged into `develop` as `d4b2361c0b0898926dd3b5a82d93b5a11ec3d557` (parents `d95e0abf` and `1239e7ba`). Before the merge, at the request of the osf.io owner session, GitHub's test merge `bf14a685ee565e7a46497e3bb961ceed26652914` was deployed on the Mac Studio stack on guide PR #101's head `4bea411` (osf.io `d95e0abf`, ember-osf-web `a0d25ef7`), with only the osf.io pin replaced. Its tree `8c60c04721db1082ed00b9e93f399b39f7fc94df` equals the tree of `d4b2361c` (checked through the API), so the run below stands for this pin. The PR's CI on the head passed 9 of 9; the push CI of `d4b2361c` was running when this was written.

```toon
steps[5]{step,exit,result}:
"build --component osf.io / wiki-frontend",0,"01:51:12Z to 01:52:21Z; osf.io 60 s, wiki-frontend 9 s"
"compose render --profile core --auth fakecas",0,"on guide PR #101's head, the osf.io pin replaced by bf14a685 for the run only"
"up",0,"74 s; osf_init, wiki_assets, web, api, admin, worker and ember_osf_web recreated"
"health --network",0,"23 services, loopback only"
"accept --seed",0,"run acc-20261117T015337Z-63ef29, 107 s: 18 passed (C1 to C7 and S1, C4 wiki included), 0 failed, 9 skipped"
```

Not shown here: the cancel paths of a real Celery worker (a queued import, the last level), which no scenario covers; they rest on the osf.io tests.

---

<a id="japanese"></a>
Expand Down Expand Up @@ -1566,6 +1582,21 @@ steps[6]{step,exit,result}:

ここで示さないこと: どちらの画面のナビも、以前の Quick Files の URL も、どのシナリオも開いていない。回収は osf.io の `tests/test_nav_quickfiles.py` と ember の `quickfiles-retired-test.ts` に拠る。

### 固定版の更新 — 2026-11-17(UTC)、osf.io `d4b2361c0b08`(#47)、合格 18

RDM-osf.io-dev2027 #47(issue #42 のうち、所有者が 2026-11-17 に直すと決めた目に見える 2 件。worker がまだ取り上げていない Wiki の取り込みを取り消すと、worker が取り上げた直後に止まる。最後の階層の途中で取り消した取り込みは「完了」ではなく「取消」として記録される。`addons/wiki/views.py` とその試験だけで、設定・migration・依存の変更はない)は、`develop` に `d4b2361c0b0898926dd3b5a82d93b5a11ec3d557` としてマージされた(親は `d95e0abf` と `1239e7ba`)。マージの前に、osf.io の担当のセッションの依頼で、GitHub の試しのマージ `bf14a685ee565e7a46497e3bb961ceed26652914` を Mac Studio のスタックに配備した。ガイド PR #101 の head `4bea411`(osf.io `d95e0abf`、ember-osf-web `a0d25ef7`)の上で、osf.io の固定版だけを替えた。その tree `8c60c04721db1082ed00b9e93f399b39f7fc94df` は `d4b2361c` の tree と同じ(API で確認)なので、下の実行がこの固定版の証拠になる。head での PR の CI は 9 件中 9 件が合格。執筆時点で `d4b2361c` の push の CI は実行中だった。

```toon
steps[5]{step,exit,result}:
"build --component osf.io / wiki-frontend",0,"01:51:12Z〜01:52:21Z。osf.io 60 秒、wiki-frontend 9 秒"
"compose render --profile core --auth fakecas",0,"ガイド PR #101 の head の上で、osf.io の固定版を実行の間だけ bf14a685 にした"
"up",0,"74 秒。osf_init・wiki_assets・web・api・admin・worker・ember_osf_web が作り直された"
"health --network",0,"23 サービス、ループバックのみ"
"accept --seed",0,"実行 acc-20261117T015337Z-63ef29、107 秒: 合格 18(C1〜C7 と S1。C4 の Wiki を含む)、失敗 0、スキップ 9"
```

ここで示さないこと: 本物の Celery の worker の取消経路(待ち行列にある取り込み、最後の階層)はどのシナリオも扱っておらず、osf.io の試験に拠る。

---

## Glossary / 用語
Expand Down
299 changes: 299 additions & 0 deletions docs/demo/runs/acc-20261117T015337Z-63ef29/collector.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,299 @@
[
{
"nodeid": "test_c1_login.py::test_c1_login_success[chromium]",
"id": "C1",
"name": "Login via fakecas",
"case": "success",
"status": "passed",
"duration_ms": 1690,
"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": 4198,
"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": 3913,
"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": 3009,
"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": 4098,
"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": 7369,
"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": 4198,
"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": 5239,
"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": 4170,
"http_status": 401,
"evidence": null,
"known_external_blocked": 9
},
{
"nodeid": "test_c5_file_preview.py::test_c5_api_render_link_success[chromium]",
"id": "C5",
"name": "File preview",
"case": "success",
"status": "passed",
"duration_ms": 3329,
"http_status": 200,
"evidence": null,
"known_external_blocked": 4
},
{
"nodeid": "test_c5_file_preview.py::test_c5_api_render_link_rejection[chromium]",
"id": "C5",
"name": "File preview",
"case": "rejection",
"status": "passed",
"duration_ms": 2845,
"http_status": 401,
"evidence": null,
"known_external_blocked": 4
},
{
"nodeid": "test_c6_admin.py::test_c6_admin_success[chromium]",
"id": "C6",
"name": "Institution admin screen",
"case": "success",
"status": "passed",
"duration_ms": 1819,
"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": 737,
"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": 8042,
"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": 6931,
"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": 8631,
"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": 3726,
"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": 2150,
"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": 3246,
"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": 2047,
"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": 2168,
"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": 55,
"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_s5_shibboleth.py::test_s5_cas_direct_forgery_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": 57,
"http_status": 401,
"evidence": null,
"known_external_blocked": 0
}
]
Loading
Loading