Skip to content
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 our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: ensure serializability for whole logging data passed to the zmq #1759

Merged
merged 9 commits into from
Apr 8, 2024

Conversation

kyujin-cho
Copy link
Member

@kyujin-cho kyujin-cho commented Dec 4, 2023

This should resolve #1598. I understand that the ideal approach to break through this issue is to simply override formatException() method for all custom formatters. But since some of the upstream formatters just simply ignores their own formatException() and instead directly calls logging.Formatter.formatException(), monkey patching target method was the only choice.

Checklist: (if applicable)

  • Milestone metadata specifying the target backport version
  • Mention to the original issue
  • Documentation
  • API server-client counterparts (e.g., manager API -> client SDK)
  • Test case(s) to demonstrate the difference of before/after

@kyujin-cho kyujin-cho added type:refactor Refactor codes or add tests. impact:invisible This change is invisible to users (internal changes). labels Dec 4, 2023
@kyujin-cho kyujin-cho added this to the 24.03 milestone Dec 4, 2023
@kyujin-cho kyujin-cho self-assigned this Dec 4, 2023
@github-actions github-actions bot added comp:agent Related to Agent component comp:manager Related to Manager component comp:webui Related to WebUI component effort:hard Need to understand many components / a large extent of contextual or historical information. impact:visible This change is visible to users. platform:general General platform issues. Most issues are general. type:bug Reports about that are not working urgency:3 Must be finished within a certain time frame. size:L 100~500 LoC labels Dec 4, 2023
@kyujin-cho kyujin-cho requested a review from achimnol December 4, 2023 10:19
@kyujin-cho kyujin-cho removed the impact:invisible This change is invisible to users (internal changes). label Jan 23, 2024
@github-actions github-actions bot modified the milestones: 24.03, 23.09 Mar 27, 2024
@achimnol achimnol enabled auto-merge April 8, 2024 08:38
@achimnol achimnol added this pull request to the merge queue Apr 8, 2024
Merged via the queue into main with commit 029fec7 Apr 8, 2024
26 checks passed
@achimnol achimnol deleted the feature/serializable-log-object branch April 8, 2024 08:46
achimnol added a commit that referenced this pull request Apr 8, 2024
…#1759)

Backported-from: main (24.09)
Backported-to: 24.03
Co-authored-by: Joongi Kim <[email protected]>
achimnol added a commit that referenced this pull request Apr 8, 2024
…#1759)

Backported-from: main (24.09)
Backported-to: 23.09
Co-authored-by: Joongi Kim <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
comp:agent Related to Agent component comp:manager Related to Manager component comp:webui Related to WebUI component effort:hard Need to understand many components / a large extent of contextual or historical information. impact:visible This change is visible to users. platform:general General platform issues. Most issues are general. size:L 100~500 LoC type:bug Reports about that are not working type:refactor Refactor codes or add tests. urgency:3 Must be finished within a certain time frame.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Wrong etcd connection blocks storage proxy with weird log output
2 participants