Research Assistant
dfdbc09f6d
ci: add contents:write permission to release workflow
2026-05-11 00:23:48 +08:00
Research Assistant
be54b81499
chore: add PR template + pre-commit config (ruff auto-format)
2026-05-10 12:04:12 +08:00
Research Assistant
009be6b4e7
ci: simplify pipeline (3 OS x 1 Python, no -x, relaxed gate) + auto-release on tag push
2026-05-10 11:58:35 +08:00
Research Assistant
c16e3e5198
fix(ci): two pre-existing CI config issues blocking pipeline
...
L2: removed -m cli marker filter (no test had the marker → exit code 5)
L3: committed package-lock.json (npm ci failed without it)
gitignore: added paperforge/plugin/node_modules/
These are CI config issues, not code regressions from v2.1.
2026-05-09 17:50:38 +08:00
Research Assistant
71e2fa695f
fix: CI failures — stub params, ld_deep syntax, PFResult tests, setup_wizard plugin copy
...
Fixes 4 CI issues:
- test_cli_worker_dispatch: add json_output param to stubs
- ld_deep.py: replace Python 3.12+ generic syntax with TypeVar
- test_e2e_cli, test_status: update assertions for PFResult envelope
- setup_wizard: skip node_modules/src dirs in plugin copy
- ci.yml: shell=bash for Windows, pin alls-green@v1.2.2
2026-05-09 17:22:11 +08:00
Research Assistant
bbd39a90d3
v1.4.17rc4
...
Milestone v2.1: Contract-Driven Architecture & Engineering Hardening
- Stop the Bleeding: version sync checker, PyYAML hardening, install docs unification
- Contract Layer: PFResult/PFError dataclasses, ErrorCode enum, --json wrapping
- Service Extraction: sync.py decomposed into 3 adapters + SyncService
- State Machine: PdfStatus/OcrStatus/Lifecycle enums, transitions, field registry
- Setup Modularization: setup_wizard.py decomposed into 6 classes
173 tests passing, 0 regressions.
2026-05-09 17:05:07 +08:00
Research Assistant
28a2d78432
feat(54-003): add ci-chaos.yml for weekly scheduled + manual chaos test execution
...
- Weekly schedule: Sunday 06:00 UTC (cron: '0 6 * * 0')
- Manual trigger via workflow_dispatch
- Runs pytest tests/chaos/ -m chaos on ubuntu-latest with Python 3.11
- Uploads JUnit XML results artifact on failure
- Completely independent from ci.yml (chaos excluded from PR/merge gate)
2026-05-09 00:53:05 +08:00
Research Assistant
2cb223ddbb
feat(53-001): extract src/ modules from main.js and add Vitest test infrastructure
...
- runtime.js: resolvePythonExecutable, getPluginVersion, checkRuntimeVersion
- errors.js: classifyError, buildRuntimeInstallCommand, parseRuntimeStatus
- commands.js: ACTIONS, buildCommandArgs, runSubprocess
- package.json with vitest + obsidian-test-mocks + jsdom
- vitest.config.ts with jsdom environment
- 42 Vitest tests across 3 test files
- Refactored main.js to import from src/ modules
2026-05-09 00:05:19 +08:00