Skip to content

fix(knowledge): show paused and deleted golden question sources - #43082

Merged
JohnJyong merged 2 commits into
deploy/konwledgefrom
codex/golden-question-source-lifecycle
Sep 28, 2026
Merged

JohnJyong merged 2 commits into
deploy/konwledgefrom
codex/golden-question-source-lifecycle

Conversation

@JohnJyong

@JohnJyong JohnJyong commented Sep 28, 2026 •

Copy link
Copy Markdown
Contributor

Golden Questions backed by a disabled document now display “Paused”, with an explanation that evaluation resumes when the document is enabled. Questions retained after source deletion display a source-deleted explanation and can be rebound using the existing editor. These states follow KnowledgeFS source availability, so existing evaluation selection counts exclude paused questions.

Update the DTO, regenerate TypeScript/Zod contracts, API docs and translation types, and add localized status explanations in every supported locale. The information popup fits the existing fixed-height table rows and supports keyboard access. Refresh cached Golden Questions for the current space after single/bulk document availability changes and when background deletion finishes.

Validation: full repository static check passed (0 errors); 101 product DTO tests and 397 document/quality-page tests passed; Python type checking and lint passed; all locale keys validated. Companion backend: https://github.com/langgenius/knowledge-fs/pull/54. This PR targets the existing dev deployment branch; verify both revisions in dev after deployment.

@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. and removed size:L This PR changes 100-499 lines, ignoring generated files. labels Sep 28, 2026
@ghfind-review ghfind-review Bot added the review: high ghfind author score; see https://ghfind.com label Sep 28, 2026
@github-actions

github-actions Bot commented Sep 28, 2026 •

Copy link
Copy Markdown
Contributor

Pyrefly Type Coverage

Metric Base PR Delta
Type coverage 68.88% 68.88% +0.00%
Strict coverage 68.52% 68.53% +0.00%
Typed symbols 56,766 56,771 +5
Untyped symbols 25,781 25,780 -1
Modules 3804 3804 0

@github-actions github-actions Bot added the size:L This PR changes 100-499 lines, ignoring generated files. label Sep 28, 2026
@JohnJyong
JohnJyong merged commit e276e13 into deploy/konwledge Sep 28, 2026
8 checks passed
@JohnJyong
JohnJyong deleted the codex/golden-question-source-lifecycle branch September 28, 2026 16:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

review: high ghfind author score; see https://ghfind.com 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.

1 participant