[task] Finish discovery recovery, access and full-scan acceptance
I maintainer di solito rispondono entro 1 giorno
@qiuethan ci sta già lavorando.
Dal 21/10/2026.
Valutazione
- Difficoltà
- 5/5
- Tempo stimato
- Più di una settimana
- Idoneità per principianti
- 25/100
Direzione di ricerca
Read the existing catalog ingest/index pipeline and connector/provider boundary, then review #76, #175, #176, and #292 for the access, indexing, and refresh contracts. The issue names no implementation files or tests, so first map the discovery entry points and existing fake provider tests. Done means bounded initial and recurring Drive discovery imports supported direct shares and nested folder contents, with ACL-safe access, resumable failures, documented limitations, and staging evidence.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Current delivery and acceptance status
Discovery implementation #293, monitoring #316, and bounded-run/warning handling #326 are merged. The corrected monitor runner was deployed during #319; #327 records the later production warning fix. This task is In progress for remaining acceptance and operational follow-up.
Accepted evidence
- Live staging direct-share discovery: scheduled scans automatically catalogued/indexed two newly shared supported Docs without per-file or per-folder registration. Stored content, chunks, fresh source ACLs, authorized-person search and unrelated-channel exclusion were verified. Explicit refetch updated content; loss of connector access followed by refetch removed content/chunks and excluded the fixtures from search. Evidence.
- Live staging folder-only, nested and later-descendant discovery: real scheduled scans indexed three synthetic Docs shared through the root folder only. Person-scoped search returned all three; an unrelated channel returned none. Observed discovery latency was about 4m25s/4m29s initially and 16m08s for the later addition. Fixtures and diagnostic access were cleaned up. Evidence.
- Live staging monitoring and clean recovery: explicit failure, stuck invocation, missed heartbeat and recovery reached Discord; after approved stale-fixture retirement, full clean scans succeeded, both real success signals arrived, and the recovery notification was read back. Alert tests, clean-scan evidence.
- Production activation and bounded continuation: the 15-minute runner, persistent checkpoint volume and separate monitors were activated in #319. The scheduled production run in #327 resumed the same persisted traversal, processed another bounded batch and exited 0 without resetting full-scan completion. Production audit.
- Offline coverage: supported topology, ACL isolation, deduplication, pagination/retry, process crash/resume and checkpoint behavior are covered with fake providers. Accepted review scope.
Latest recorded production gap: #330, on October 26 UTC, reports the discovery invocation heartbeat up and its latest Railway execution successful, while the separate clean-completion monitor is down after more than a day without a clean full scan. Preserve the earlier staging passes; investigate the current production full-traversal/content gaps without treating a successful bounded run as a clean complete scan.
Still required: explicit unauthorized-person live search; application-level interrupted checkpoint continuation across redeployment; complete newly shared document → cited DM/channel answer and scheduled content/access-change acceptance with #278/#338. The accepted bounded continuation and explicit refetch tests do not establish those broader cases.
Blocked by
No response
What
Automatically discover, catalog and index supported Google Drive documents shared with Misty's configured connector identity, whether a file is shared directly or is accessible through a shared folder and its descendants. Once the environment's discovery service is enabled, sharing a supported document or folder is sufficient: no per-document /doc add and no required per-folder import-root registration.
Run an initial discovery pass and recurring bounded scans so existing shares and later additions become searchable through the existing ingest/index pipeline. Use the connector's supported extractors and enabled catalog sources; document unsupported formats and source limitations explicitly.
Why
The release goal is “share supported documents with Misty and they become searchable.” Sharing currently grants connector access but does not populate the catalog. #159 only repairs content on registered records, and #292 refreshes registered documents; neither discovers new shares. The earlier configured-folder-only scope was too narrow for this goal.
Area
docs-system, integration, service
Done looks like
- Dedicated discovery failure/stuck/missed-completion monitoring is configured and live alert delivery verified in staging. Primary: Ethan Qiu; backup explicitly unassigned. Staging clean full-scan acceptance and both success signals are verified above. PR #316's review fix is merged and deployed; the later production clean-completion gap is tracked separately above.
- An authorized operator can enable, inspect and disable automatic discovery for the configured connector identity. Required scopes, enabled source/format coverage, scan cadence, bounds and exclusions are documented. The normal member flow requires only sharing the document or folder with Misty.
- Initial and recurring discovery cover supported files shared directly and supported descendants of shared folders, including nested folders, newly shared files/folders, and files added to an already shared folder. Handle pagination and demonstrate the supported Drive topology explicitly; do not silently claim untested coverage.
- Discovered files are registered and indexed through the existing authenticated catalog ingest/index pipeline. Reuse supported extractors; unsupported or disabled-source files are reported as skipped rather than counted as indexed.
- Deduplicate by Google file identity across retries, direct shares, overlapping folders and existing manually registered documents. Unchanged content is not needlessly re-embedded; discovery coordinates with #292's existing-document refresh without creating a competing indexer.
- Each document's actual source ACL determines person/team access through existing reconciliation. Connector access alone never grants all members access. Unresolved principals and incomplete ACL reads fail closed; discovery does not broaden sharing or member permissions.
- Implementation/offline acceptance: scans and interrupted imports are observable and resumable, with bounded work and provider requests. One inaccessible or unsupported file does not stop other files. Document the recovery path when registration succeeds but fetching/indexing fails. Do not log document content, credentials or raw upstream bodies.
- Source deletion, lost connector access, movement between folders, shortcuts and incomplete listings have explicit behavior. Incomplete scans never trigger bulk retirement or permission widening. Reuse the existing refresh/expiry and confirmed-disappearance contract; a file moved out of a folder can remain eligible if it is still otherwise shared with Misty.
- Offline tests with fake Drive/catalog providers cover direct shares, nested folders, new shares, new descendants, pagination, repeat scans, overlapping shares, unsupported formats, partial failures and retries. Automated tests make no real provider calls.
- Controlled staging acceptance shares a new supported file directly and a folder containing supported files, then observes automatic catalog registration, indexing and authorized
/doc searchwithout per-file or per-folder registration. Add a new file later and verify recurring discovery; verify an unauthorized member cannot retrieve it. Record discovery latency and the configured cadence. Direct/folder/nested/later discovery, authorized-person search and unrelated-channel isolation are verified above; an explicit unauthorized-person test remains pending. - Verify ongoing content/access changes through #292 and coordinate share → discovery → authorized answer acceptance with #278. Update the affected API, configuration, deployment, operator and member-facing instructions. Production activation is complete in #319; remaining production corpus and member-journey acceptance is recorded there.
Remaining acceptance and original release target
Automatic indexing of supported shared documents was part of the October 23 release scope. Production rollout and activation occurred in #319, preserving the remaining acceptance above. The original date is historical; no replacement deadline is assigned by this cleanup.
Keep completed direct/folder/nested/later-descendant discovery and alert-delivery evidence visible. Finish explicit unauthorized-person and interrupted-redeployment acceptance, investigate the latest production full-scan gap, and coordinate scheduled refresh plus share-to-cited-answer acceptance with #338/#278. A manually seeded catalog or successful bounded invocation alone does not establish the full member journey.
Design notes
Part of #82; consumes the existing catalog, source-access reconciliation (#76), indexing (#175) and retrieval (#176), which are merged. #292 owns recurring refresh of already registered content and access; this issue owns finding and importing newly shared content.
Keep Google API calls behind the connector/provider boundary and catalog operations behind authenticated HTTP. Define the smallest discovery contract and split implementation PRs by CODEOWNERS zone where practical. Preserve the service-account connector model and read-only API scopes. The current connector requires sufficient source sharing to inspect complete ACLs; the verified setup uses Editor sharing. Make that prerequisite clear without changing source permissions automatically.
“All shared documents” means supported, enumerable content available to the configured Misty connector identity. It does not mean every file in the organization or arbitrary files that members themselves can access. Document any unsupported Drive topology or format and make skipped/inaccessible items observable.
Out of scope
New file-format extractors, meeting-document creation (#222), rebuilding search (#210), conversational tools (#71), Google Group provisioning, changing source sharing, embedding-model migration (#209), and switching the connector to user OAuth.
- Lingua principale
- Python
- Stelle
- 0
- Fork
- 2
- Merge medio
- 3g 3h
- PR unite (30g)
- 31
Preparare l'ambiente
- Nessun Dockerfile né file Docker Compose
- Ha un modello di pull request
- Nessuna guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di UTMIST/Misty
-
area/tooling automation/health
Difficoltà 2/5 1-3 ore Idoneità per principianti 65/100
I maintainer di solito rispondono entro 1 giorno
-
Epic: Protect live meeting Q&A and deliver recording outputs to the intended audienceForse già presa @kr1shap l’ha presa 1 giorno fa. Apertaarea/bot area/docs-system area/integration area/service epic on hold
UTMIST/Misty#489 · 1 assegnatario ·
I maintainer di solito rispondono entro 1 giorno
-
area/bot on hold type/bug
Difficoltà 4/5 3-5 giorni Idoneità per principianti 48/100
I maintainer di solito rispondono entro 1 giorno
-
area/bot on hold type/bug
Difficoltà 3/5 1-2 giorni Idoneità per principianti 55/100
I maintainer di solito rispondono entro 1 giorno
-
Use a verified ingress boundary for gateway client IPsForse già presa @qiuethan l’ha presa 2 giorni fa. Apertaarea/deployment area/observability area/service type/bug
Difficoltà 4/5 3-5 giorni Idoneità per principianti 48/100
I maintainer di solito rispondono entro 1 giorno
Tutte le issue di UTMIST/Misty
Issue simili
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
fossasia/eventyay-exhibition#465 · 3 commenti · 1 reazione ·
I maintainer di solito rispondono entro 3 giorni
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
I maintainer di solito rispondono entro 1 giorno
-
area/webapp comp/desktop P2 type/bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
NousResearch/hermes-agent#163341 · 2 commenti ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
cpp-best-practices/project_validator#609 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 84/100
smart-village-solutions/smart-speech-flow#765 ·
I maintainer di solito rispondono entro 1 giorno