Skip to content

[monitor, theia] ActivityTrackerFrontendContribution is not bound to self, therefore not customizable #427

Open

Description

@kittaakos

Describe the bug

It's impossible to customize the ActivityTrackerFrontendContribution as it is not bound to self but directly as a FE contribution:

bind(FrontendApplicationContribution).to(ActivityTrackerFrontendContribution);

Expected behavior

Downstream projects can customize the activity tracker Theia-extension

Cluster provider

No response

Version

No response

Additional information

No response

Activity

  1. self-assigned this
    on May 16, 2025
  2. kittaakos commented on May 19, 2025

    @kittaakos
    Author

    The services are created using the new keyword:

    const modules: MonitorBackendModule[] = [new MessagingBackendModuleImpl()];
    if (process.env[MONITOR_ENABLE_ACTIVITY_TRACKER] === 'true') {
    modules.push(new ActivityTrackerBackendModuleImpl());
    }
    return modules;

    At the same time, they are decorated with Injectable and have a binding in the module:

    // handle messaging backend module
    bind(MessagingBackendModuleImpl).toSelf().inSingletonScope();
    bind(MessagingBackendModule).toService(MessagingBackendModuleImpl);

    // handle activity tracker backend module
    bind(ActivityTrackerBackendModuleImpl).toSelf().inSingletonScope();
    bind(ActivityTrackerBackendModule).toService(ActivityTrackerBackendModuleImpl);


    bind(TheiaCloudBackendMonitorService).to(DefaultTheiaCloudBackendMonitorService).inSingletonScope();

    DefaultTheiaCloudBackendMonitorService is preferably bound to self.

  3. github-actions commented on Nov 16, 2025

    @github-actions

    This issue is stale because it has been open for 180 days with no activity.

  4. github-actions commented on May 17, 2026

    @github-actions

    This issue is stale because it has been open for 180 days with no activity.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions