Skip to content
This repository was archived by the owner on Sep 30, 2024. It is now read-only.
This repository was archived by the owner on Sep 30, 2024. It is now read-only.

Investigate richer output from auto-indexing jobs #60920

Open
@keynmol

Description

@keynmol

This is a placeholder issue, the idea is not fully developed as we are not prioritising it

Currently the auto-indexing backend machinery and the SCIP indexers communicate via a very limited channel - error code from indexer command invocation.
That error code is used for marking the job as failed, and then backend machinery uses that limited information to mark the job as successful/failed.

But the SCIP indexer is capable of much more, as it introspects the build of the project being indexed - and can make early decisions as to the indexing status. This can help reduce failure rates, by marking non-indexable projects immediately.

If the indexer supports partial indexing (like the Typescript one, which is resilient to missing dependencies), this should also be indicated clearly in the state of the job - currently it will just appear successful, even if dependencies could not be resolved.

We should investigate the following:

  1. What sort of information can the indexer return to be helpful for both backend scheduler and the users
  2. How that information can be communicated between backend and the executors
  3. What data model we will require to represent the necessary information in the database and the UI

Metadata

Metadata

Assignees

No one assigned

    Labels

    auto-indexgraph/backendRelated to Go code in the backendteam/graphGraph Team (previously Code Intel/Language Tools/Language Platform)

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions