Skip to content

Telemetry: Capture and Log Tracebacks for Background Job Errors #1092

Closed

Description

@Shashankss1205

Capture Tracebacks on Background Job Failures

  • Gap: The async queue executor (jobs.py) swallows raw tracebacks when background tasks fail, making diagnostic trace extraction difficult.
  • Relevant Files:
    • src/codegraphcontext/core/jobs.py
  • Task:
    • Catch job execution errors and save the traceback stack output in the job results dictionary, logging the detailed stack trace to the server logs.
  • Acceptance Criteria:
    • Fetching job status for failed actions returns the error context and traceback.

Activity

  1. github-actions commented on Jun 6, 2026

    @github-actions
    Contributor

    Hi! 👋 Join our CodeGraphContext Discord channel to collaborate: https://discord.gg/dR4QY32uYQ

  2. moved this from PythonDevs to Testers in CodeGraphContext Roadmapon Jun 6, 2026
  3. DiyaRathod-16 commented on Jun 7, 2026

    @DiyaRathod-16

    /assign

  4. Shashankss1205 commented on Jun 7, 2026

    @Shashankss1205
    CollaboratorAuthor
  5. AnakinSkywalker-0 commented on Jun 19, 2026

    @AnakinSkywalker-0

    /assign

  6. chesta02 commented on Jul 13, 2026

    @chesta02

    Hi! I’d like to work on this issue. While investigating, I noticed the exception handling now appears to be in src/codegraphcontext/tools/indexing/scip_pipeline.py rather than src/codegraphcontext/core/jobs.py. Should the traceback handling be implemented there, or is there another background job executor you intended?

  7. kaur-jass commented on Jul 29, 2026

    @kaur-jass

    Hello @Shashankss1205
    Could you please assign this issue to me if it is still open, under GSSoC 2026.

  8. mgowdarakshitha15-lgtm commented on Aug 26, 2026

    @mgowdarakshitha15-lgtm

    Hii I would like to work in this issue please assign me

  9. Shashankss1205 commented on Oct 9, 2026

    @Shashankss1205
    CollaboratorAuthor

    #1759 adds bounded traceback and exception-type diagnostics to both background indexing failure paths, retaining concise errors[0] and exposing diagnostics through existing job-status/list responses. It has serialization, truncation and indexing failure-path coverage. Please track remaining non-indexing telemetry scope here; this issue is not closed before acceptance.

  10. moved this from Backlog tasks to In progress in CGC Progress Boardon Oct 15, 2026
  11. Shashankss1205 commented on Oct 15, 2026

    @Shashankss1205
    CollaboratorAuthor

    Maintenance review — 15 October 2026

    #1766 integrates #1759's bounded traceback/error-type diagnostics and backward-compatible errors[0]. It includes serialization and indexing failure-path coverage; merge/CI status is tracked in that PR.

  12. moved this from In progress to Done in CGC Progress Boardon Oct 15, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions