[meta] partners: /health logs a traceback on every probe before the migration ran

Open Beginner friendly
#2,729 0 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
1/5
Estimated time
Under an hour
Newbie friendliness
78/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Active
Tech stack
python

Research direction

Start in web/health.py at the handler that probes partner_sources; find where the missing-table exception is caught and passed to the logger. Reproduce by running the health endpoint before the migration has created the table, then change that log call so an absent table is logged once or at debug level without a traceback. Done means the probe still reports unhealthy but the log no longer emits a full traceback for the expected missing-table case.

Written by the indexing model from the issue text.

Description

metaskirando

From the M1 integration review of meta. Target branch: meta. Tracking: c2corg/metaskirando-archive#2

web/health.py logs a full traceback when partner_sources doesn't exist yet. Log once, or at debug level, for a missing table.


Generated by Claude Code

Dominant language
Python
Stars
25
Forks
30
Avg merge
8h 3m
Merged PRs (30d)
255

Getting set up

Open in Codespaces

Starts the project's dev container in your browser, under your own GitHub account.

  • Ships a Dockerfile or Docker Compose file
  • No pull request template
  • No contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from c2corg/v6_api

All issues in c2corg/v6_api

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.