chore: drop stale git-settings.tsx include from tsconfig.lib.json#1240
chore: drop stale git-settings.tsx include from tsconfig.lib.json#1240hieptl wants to merge 1 commit into
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
✅ Mock-LLM E2E Tests42/42 passed Commit:
Posted by the Mock-LLM E2E workflow · results are deterministic (scripted LLM responses) |
📸 Snapshot Test ReportWarning Snapshot comparison step crashed (timeout, OOM, or runner error) — diff results below may be incomplete or absent. ✅ All snapshots match the main branch baselines.
✅ Unchanged snapshots (73)
Generated by the Snapshot Tests workflow. This comment was created by an AI agent (OpenHands) on behalf of the repo maintainers. |
🔶 Mock-LLM Docker E2E Test Results37/42 passed · 5 skipped Commit:
Posted by the Mock-LLM E2E workflow · results are deterministic (scripted LLM responses) |
Why
Description:
tsconfig.lib.jsonlists"src/routes/git-settings.tsx"in itsincludearray, but no such file exists in the repo (and the other five route includes all do). TypeScript silently skips include patterns that match nothing, which is exactly why this went unnoticed — but it misleads readers into thinking a git-settings route is part of the published library surface.Scope: one line removed from
tsconfig.lib.jsoninclude.Acceptance Criteria:
"src/routes/git-settings.tsx"entry is removed; the five real route includes (conversation,app-settings,llm-settings,mcp-settings,secrets-settings) remain.npm run build:libpasses — this is the load-bearing check:npm run linttype-checks viatsconfig.jsonand never reads the lib config, so only the lib build exercises this file.Out of scope / Notes:
Summary
Removes a stale
tsconfig.lib.jsoninclude entry pointing atsrc/routes/git-settings.tsx, a file that does not exist. The entry was inert (tsc skips non-matching include patterns silently) but misrepresented the library build surface.Changes
tsconfig.lib.json— drop"src/routes/git-settings.tsx"frominclude; the five existing route includes remainVerification
npm run build:lib✅ (exit 0) — the only check that exercisestsconfig.lib.json; regularlint/tscusestsconfig.jsonand cannot validate this changenpm run lint✅ ·npm test✅ (3016 passed | 12 skipped | 9 todo) ·npm run build✅ ·npm pack --dry-run✅ (all exit 0)Risk
None. The entry matched nothing; removing it cannot change any build output.
Rollback
Revert this single commit.
Issue Number
Resolves #1239
Type
🐳 Docker images for this PR
• GHCR package: https://github.com/OpenHands/agent-canvas/pkgs/container/agent-canvas
ghcr.io/openhands/agent-canvasghcr.io/openhands/agent-server:1.26.0-pythonopenhands-automation==1.0.0a691f98657843de07a7fa3405ca198d895686493dePull (multi-arch manifest)
# Multi-arch manifest — Docker automatically pulls the correct architecture docker pull ghcr.io/openhands/agent-canvas:sha-91f9865Run
All tags pushed for this build
About Multi-Architecture Support
sha-91f9865) is a multi-arch manifest supporting both amd64 and arm64sha-91f9865-amd64) are also available if needed