Skip to content

Remove the unused workflowActionService injection from AiAnalystService #9109

Closed

Description

@aglinxinyuan

Task Summary

AiAnalystService (frontend/src/app/workspace/service/ai-analyst/ai-analyst.service.ts) injects workflowActionService: WorkflowActionService as a public constructor field, but nothing reads it: not the service itself, its one consumer (ReportGenerationService), any template or any spec.

Introduced by #2816 (2024-10-15, "Enhancing Report Generation by Adding Story-teller Ai based on Ai flag").

Usage removed by: never used.

Removing the injection, its import and the spec's empty stub is a pure deletion with no behaviour change.

Task Type

  • Refactor / Cleanup

Activity

  1. self-assigned this
    on Oct 23, 2026
  2. github-actions commented on Oct 23, 2026

    @github-actions
    Contributor

    👋 Thanks for opening this issue, @aglinxinyuan!

    It looks like the issue description doesn't quite follow our template yet:

    • This issue doesn't appear to use one of our templates (Bug, Feature, or Task). Please open it using a template so the required details are captured.

    Filling out the template helps reviewers understand and triage your contribution faster. Please edit the description to complete it. This message will disappear automatically once the template is followed.

    You can find the template prompts by editing the description, or see CONTRIBUTING.md for the full contribution flow.

  3. added a commit that references this issue on Oct 25, 2026
    b636a80
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions