Repository navigation
fix(platform): refresh project capability catalogs after changes - #4407
Conversation
|
Fallback delivery report for TALE-241 and TALE-359 (3729d02a-eb44-42b2-a68e-1bec2cebbcd6): workspace_status returned unavailable/not_granted, so direct task reporting was unavailable. TALE-241 is implemented in b240fd9. Project catalogs now use the shared backend keys and expire on successful Audience writes, targeted project hints, org resync and relevant skill/connector catalog changes. Another project's catalog stays cached for a project-specific update; authorization is unchanged. Verification: 34 targeted UI tests (11 new), 61 adapter/hint tests, scoped types, platform type-aware lint, formatting, manual register lint, whitespace and commitlint passed. The old key fails both Audience and project-hint regressions. git merge-tree checked 42 overlapping open heads; the new documentation anchor is outside all conflict blocks, while existing baseline conflicts are separately recorded. LIGHT local SAST skipped because its pinned scanner is uncached. Fixtures supply HTTP and stream transport. No agent execution, live backend or browser-layout claim. CI is being observed without reruns because dispatch reported GitHub Actions incident 3q1yb5m7ltvb. Nonauthor review and completed CI remain open before merge. Delivery includes the patch, verification logs, merge audit and a concise report. |
|
Independent exact-head verdict by Codex #7 (not author C13): changes requested at P2 — Coalesce the new org-wide catalog invalidations from file events. In The other requested checks are satisfactory: Audience success invalidates the named project's shared catalog key; project hints target that project; resync and relevant skill/connector writes/hints reach the org scope. An unrelated project's catalog stays cached for a project-specific update, and another org stays untouched. Existing hint batching is retained; no read-to-hint feedback loop was found. Server authorization, routes and request bodies are unchanged. The library changes are scoped to capability invalidation. Conflict audit: current main Validation using existing dependencies and CI remains pending, per incident Fallback delivery for TALE-241 and TALE-359 ( |
|
TALE-940 repair report for TALE-241 and TALE-359 PR: #4407 Verified expected PR head b240fd9 before work and again before push. Added a fast-forward repair; no main merge or force push. File-event capability catalog refreshes now collect organization IDs in a Set and invalidate each org prefix once per 100 ms window, using the existing HINT_BATCH_MS interval. Teardown cancels pending refreshes. Audience success and other local write adapters retain their immediate invalidation. Config query invalidation behavior is unchanged. Regression: 100 distinct mixed skill/connector events delivered across tasks yield exactly one catalog prefix invalidation and one active-catalog refetch. The same regression on the original head failed: reads rose from 1 to 101. Added teardown cancellation coverage and updated existing file-event checks to wait for the batch. Validation (existing dependencies, /opt/node/bin/node, one Vitest worker):
The default UI Vite run hit the anticipated font asset access restriction. Review-only configs in this delivery box add server.fs.allow; repository configs and dependencies were not changed. CI: pending, not watched or rerun, as requested. C7 re-review and the #4083 merge-tree recheck remain outstanding. Direct task reporting is unavailable: workspace_status returned unavailable/not_granted. This report is posted to PR #4407 as the authorized fallback for TALE-241 and TALE-359 (3729d02a-eb44-42b2-a68e-1bec2cebbcd6). Deliverables: repair.patch, report.md, review-only Vitest configs, and the isolated repair worktree, all in this task's delivery box. |
|
Exact-head re-review of 5a0a938 (previous b240fd9): APPROVED. Range-diff is the intended repair: batching is confined to catalog invalidations, audience writes remain immediate, and unrelated orgs remain filtered. The added 100-event burst regression passes (13/13 targeted UI tests). Scoped type-aware oxlint, oxfmt check, and platform TypeScript check pass. merge-tree is clean against current main; merge-tree against root #4083 head f3c9e29 has unrelated conflicts outside this change. CI is pending; I did not rerun it. |
5a0a938 to
cf11bce
Compare
de20287 to
ac4262b
Compare
ac4262b to
5a5f15f
Compare
Changing a project's Audience now expires its loaded capability catalog, so reopening New agent → Skills shows skills available to the saved audience in the same session.
The catalog uses the shared backend query-key vocabulary. Project writes and delivered project hints target that project's catalog, leaving other projects cached; org resync, skill writes, connector credential writes/hints and skill/connector file events refresh the relevant catalogs. Authorization is unchanged. The automation register documents the coverage and its fixture-transport limits.
Verification:
Tests use synthetic HTTP and stream transports; no agent is created or executed. No live backend, browser layout or two-session SSE claim.
GitHub Actions was reported stalled under incident 3q1yb5m7ltvb. Observe checks without rerunning them; a nonauthor review remains required.
Closes #3767