Skip to content

fix: cherry-pick RAG upload timeout and Service API document fixes - #45019

Merged
hyoban merged 3 commits into
hotfix/1.18.0-fix.2from
pick/1.18.0-fix.2-service-api
Oct 29, 2026
Merged

hyoban merged 3 commits into
hotfix/1.18.0-fix.2from
pick/1.18.0-fix.2-service-api

Conversation

@hyoban

@hyoban hyoban commented Oct 29, 2026 •

Copy link
Copy Markdown
Member

Cherry-picks three changes from main into hotfix/1.18.0-fix.2, in the same order as on main, created with git cherry-pick -x:

  1. bf38ee5 (fix(web): stop aborting new RAG document uploads after 30s #44965) fix(web): stop aborting new RAG document uploads after 30s
  2. e40200d (fix(api): restore Service API file document writes #44972) fix(api): restore Service API file document writes: applied cleanly.
  3. 4bd3120 (feat(api): expose logical document deletion through Service API #44970) feat(api): expose logical document deletion through Service API

Conflict resolution:

  • fix(web): stop aborting new RAG document uploads after 30s #44965: oxlint-suppressions.json keeps the hotfix branch version. The hotfix branch has no better-tailwindcss/enforce-logical-properties suppressions, so there was no golden-question-dialog.tsx entry to remove.
  • feat(api): expose logical document deletion through Service API #44970: packages/contracts/generated/api/service/errors.gen.ts does not exist on the hotfix branch, so it was dropped. I then ran gen-api-contract on the hotfix branch and confirmed that the regenerated contracts exactly match the picked orpc.gen.ts / types.gen.ts / zod.gen.ts. Git matched the main test test_resources.py to the hotfix test file test_knowledge_fs_service_contracts.py as a rename, so the new test case was added there.

Please keep the three commits separate when merging (rebase or merge commit) so each one keeps its cherry-pick provenance.

Verification:

  • pnpm vitest run features/new-rag/documents/__tests__/page.spec.tsx: 262 passed
  • pytest tests/unit_tests/controllers/service_api/dataset/test_document.py tests/unit_tests/controllers/test_knowledge_fs_service_contracts.py: 147 passed
  • knowledge-fs-logical-document-delete-contract.smoke.test.ts: 2 passed
  • vp lint on changed web files, ruff check / ruff format --check on changed Python files: clean
  • .github/scripts/check-hotfix-cherry-picks.sh run locally: 3 commits, provenance verified

Supersedes #45010, #45016 and #45017.

@github-actions github-actions Bot added size:L This PR changes 100-499 lines, ignoring generated files. web This relates to changes on the web. labels Oct 29, 2026
@github-actions

github-actions Bot commented Oct 29, 2026 •

Copy link
Copy Markdown
Contributor

Pyrefly Type Coverage

Metric Base PR Delta
Type coverage 78.32% 78.32% -0.00%
Strict coverage 78.02% 78.02% -0.00%
Typed symbols 73,851 73,857 +6
Untyped symbols 20,524 20,527 +3
Modules 4212 4212 0

@hyoban
hyoban force-pushed the pick/1.18.0-fix.2-service-api branch from 369f0e9 to 4f0a8cf Compare October 29, 2026 02:36
@hyoban
hyoban requested a review from lyzno1 as a code owner October 29, 2026 02:36
@hyoban hyoban changed the title fix(api): restore Service API document writes and expose logical deletion fix: cherry-pick RAG upload timeout and Service API document fixes Oct 29, 2026
hyoban and others added 3 commits October 29, 2026 10:41
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
(cherry picked from commit 4bd3120)
@hyoban
hyoban force-pushed the pick/1.18.0-fix.2-service-api branch from 4f0a8cf to 612c8a6 Compare October 29, 2026 02:42
@hyoban
hyoban merged commit 2892d3e into hotfix/1.18.0-fix.2 Oct 29, 2026
7 checks passed
@hyoban
hyoban deleted the pick/1.18.0-fix.2-service-api branch October 29, 2026 02:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size:L This PR changes 100-499 lines, ignoring generated files. web This relates to changes on the web.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants