Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

feat(cli): add --json option to celery report for structured JSON output#9718

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Open
yiyu0x wants to merge10 commits intocelery:main
base:main
Choose a base branch
Loading
fromyiyu0x:feature/celery-report-json-output

Conversation

@yiyu0x
Copy link
Contributor

@yiyu0xyiyu0x commentedMay 22, 2025
edited
Loading

Description

This pull request adds a new--json (-j) option to thecelery report command, allowing users to output bugreport information in structured JSON format.

With this enhancement:

  • Each line containing-> is treated as a new key in the JSON object.
  • The value after-> (and any subsequent indented lines) is grouped into a list if multi-line, or as a string if single-line.
  • Indented lines following a key are included as part of that key's value.
  • Any lines not matching the above are grouped under adetails key.
  • Blank lines are ignored.

This feature improves the automation and integration of bug reporting, making it easier to parse and analyze Celery environment information programmatically.

@codecov
Copy link

codecovbot commentedMay 22, 2025
edited
Loading

Codecov Report

Attention: Patch coverage is75.75758% with8 lines in your changes missing coverage. Please review.

Project coverage is 78.51%. Comparing base(b00c144) to head(08987f8).

Files with missing linesPatch %Lines
celery/bin/celery.py75.75%3 Missing and 5 partials⚠️
Additional details and impacted files
@@            Coverage Diff             @@##             main    #9718      +/-   ##==========================================+ Coverage   78.50%   78.51%   +0.01%==========================================  Files         153      153                Lines       19127    19158      +31       Branches     2533     2545      +12     ==========================================+ Hits        15015    15042      +27  Misses       3822     3822- Partials      290      294       +4
FlagCoverage Δ
unittests78.49% <75.75%> (+0.01%)⬆️

Flags with carried forward coverage won't be shown.Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report?Share it here.

@auvipyauvipy requested a review fromCopilotMay 27, 2025 08:10
Copy link
Contributor

CopilotAI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.

Copy link
Member

@auvipyauvipy left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

can you please check why the CI was failing?

@NusnusNusnusforce-pushed thefeature/celery-report-json-output branch fromcc0701f toacf18e5CompareMay 31, 2025 21:09
@auvipyauvipy added this to the5.7.0 milestoneOct 30, 2025
@auvipyauvipyforce-pushed thefeature/celery-report-json-output branch fromacf18e5 to8225691CompareOctober 30, 2025 10:14
Kyle Changand others added10 commitsNovember 2, 2025 00:02
@NusnusNusnusforce-pushed thefeature/celery-report-json-output branch from8225691 to34c9a39CompareNovember 1, 2025 22:02
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

Copilot code reviewCopilotCopilot left review comments

@auvipyauvipyauvipy requested changes

Requested changes must be addressed to merge this pull request.

Assignees

No one assigned

Projects

None yet

Milestone

5.7.0

Development

Successfully merging this pull request may close these issues.

2 participants

@yiyu0x@auvipy

[8]ページ先頭

©2009-2025 Movatter.jp