Skip to content

Resolve miscellaneous TODO items in BFF API services #233

@spaarke-dev

Description

@spaarke-dev

Context

Several individual TODO comments across BFF API services track specific deferred work items.

Items

  1. AnalysisAuthorizationFilter.cs:203 - Look up sprk_analysisoutput to find associated document ID
  2. EmailEndpoints.cs:524 - Queue AI processing job for documentId and attachment documents
  3. ChatEndpoints.cs:832 - PH-112-A: Full context-aware refinement (editor surrounding context)
  4. DocumentCheckoutService.cs:893 - Implement when we have the full web URL from Graph
  5. AnalysisOrchestrationService.cs:433 - Extract CreatedBy from context when Dataverse integration complete
  6. PlaybookOrchestrationService.cs:695 - Check sprk_continueonerror field per node (Phase 4)
  7. OutputOrchestratorService.cs:321 - Determine where outputMapping is stored in playbook entity
  8. DataverseIndexSyncService.cs:388 - Expand lookups to get organization/people names
  9. AiAnalysisNodeExecutor.cs:652 - Document and RagIndex types resolved in PlaybookOrchestrationService
  10. VisualizationService.cs:1014 - Add parent entity lookup when available
  11. VisualizationService.cs:1108 - Track cache hits when implemented
  12. IndexingWorkerHostedService.cs:30 - Integrate with actual IndexingWorker.ProcessAsync()
  13. ProfileSummaryWorker.cs:26 - Implement AI summary generation
  14. DataverseServiceClientImpl.cs:1195,1277 - Re-enable document lookup after fix
  15. OfficeService.cs:1939 - Make base URL configurable via appsettings

Source: Code quality audit task 031.

Metadata

Metadata

Assignees

No one assigned

    Labels

    tech-debtTechnical debt items identified during code quality audits

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions