You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 2bc1db8
Browse filesBrowse the repository at this point in the historyBrowse files
Require guidata 3.15, retire the obsolete backend backport, and retain
only the FloatArray schema hints still missing upstream. Distinguish
inferred and live audits before removing future shims.
Assisted-by: GPT-5.6 Sol
Copy file name to clipboardExpand all lines: .vscode/tasks.json
+12-1Lines changed: 12 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -322,7 +322,7 @@
322
322
},
323
323
{
324
324
"label": "🔍 Audit shims (versions)",
325
-
"detail": "Report which temporary backport shims are now removable by comparing each shim's removableFrom with the version resolved at runtime (PyPI / pyodide-lock). Report-only; needs network.",
325
+
"detail": "Fast pre-audit: infer package versions from PyPI / pyodide-lock and report removable backports. Report-only; needs network.",
326
326
"type": "shell",
327
327
"command": "npm",
328
328
"args": ["run", "audit:shims"],
@@ -331,6 +331,17 @@
331
331
},
332
332
"problemMatcher": []
333
333
},
334
+
{
335
+
"label": "🔬 Audit shims (live Pyodide)",
336
+
"detail": "Authoritative audit: boot the browser runtime and classify shims against the package versions actually installed in Pyodide.",
Copy file name to clipboardExpand all lines: CONTRIBUTING.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -79,7 +79,7 @@ DataLab-Web is fully internationalised: English is the source language and Frenc
79
79
80
80
## Temporary shims
81
81
82
-
DataLab-Web sometimes backports a feature or patches a bug that is fixed upstream (`guidata`, `sigima`, …) but not yet in a released wheel. These **temporary shims** are tracked centrally so they can be audited and removed once upstream catches up. Every backport shim is declared once in [src/runtime/shims/registry.ts](src/runtime/shims/registry.ts), carries `# TEMPORARY SHIM` / `@shim-registry: <id>` markers in its source, and is kept in sync by a network-free anti-drift test that runs in `npm test`. Run`npm run audit:shims`(or the **🔍 Audit shims (versions)** task) to see which shims are now removable. Full workflow — adding, registering and removing a shim — is in [doc/shim-registry.md](doc/shim-registry.md).
82
+
DataLab-Web sometimes backports a feature or patches a bug that is fixed upstream (`guidata`, `sigima`, …) but not yet in a released wheel. These **temporary shims** are tracked centrally so they can be audited and removed once upstream catches up. Every backport shim is declared once in [src/runtime/shims/registry.ts](src/runtime/shims/registry.ts), carries `# TEMPORARY SHIM` / `@shim-registry: <id>` markers in its source, and is kept in sync by a network-free anti-drift test that runs in `npm test`. Use`npm run audit:shims`for the fast PyPI/lockfile pre-audit and `npm run audit:shims:runtime` to verify the versions actually installed in Pyodide. A `ready-to-remove` version result is only a candidate: focused contract or E2E tests must also prove native behavioral parity before the shim is deleted. The full workflow is in [doc/shim-registry.md](doc/shim-registry.md).
0 commit comments