Skip to content

test: more caplog#38452

Merged
asukaminato0721 merged 2 commits into
langgenius:mainfrom
asukaminato0721:final_mock_log
Jul 8, 2026
Merged

test: more caplog#38452
asukaminato0721 merged 2 commits into
langgenius:mainfrom
asukaminato0721:final_mock_log

Conversation

@asukaminato0721

Copy link
Copy Markdown
Contributor

Important

  1. Make sure you have read our contribution guidelines
  2. Ensure there is an associated issue and you have been assigned to it
  3. Use the correct syntax to link this PR: Fixes #<issue number>.

Summary

#37757

Screenshots

Before After
... ...

Checklist

  • This change requires a documentation update, included: Dify Document
  • I understand that this PR may be closed in case there was no previous discussion or issues. (This doesn't apply to typos!)
  • I've added a test for each change that was introduced, and I tried as much as possible to make a single atomic change.
  • I've updated the documentation accordingly.
  • I ran make lint && make type-check (backend) and cd web && pnpm exec vp staged (frontend) to appease the lint gods

@dosubot dosubot Bot added the size:XS This PR changes 0-9 lines, ignoring generated files. label Jul 6, 2026
@asukaminato0721 asukaminato0721 enabled auto-merge July 6, 2026 05:00
@github-actions

github-actions Bot commented Jul 6, 2026

Copy link
Copy Markdown
Contributor

Pyrefly Type Coverage

Metric Base PR Delta
Type coverage 52.38% 52.38% +0.00%
Strict coverage 51.89% 51.90% +0.00%
Typed symbols 32,079 32,080 +1
Untyped symbols 29,438 29,437 -1
Modules 2973 2973 0

@github-actions

github-actions Bot commented Jul 6, 2026

Copy link
Copy Markdown
Contributor

Pyrefly Diff

base → PR
--- /tmp/pyrefly_base.txt	2026-07-06 05:06:05.830365293 +0000
+++ /tmp/pyrefly_pr.txt	2026-07-06 05:05:50.783342644 +0000
@@ -6711,7 +6711,7 @@
 ERROR Missing argument `payload` in function `enterprise.telemetry.contracts.TelemetryEnvelope.__init__` [missing-argument]
    --> tests/unit_tests/enterprise/telemetry/test_contracts.py:138:30
 ERROR Class member `Unserializable.__repr__` overrides a member in a parent class but is missing an `@override` decorator [missing-override-decorator]
-   --> tests/unit_tests/enterprise/telemetry/test_enterprise_trace.py:339:17
+   --> tests/unit_tests/enterprise/telemetry/test_enterprise_trace.py:340:17
 ERROR Argument `dict[str, str]` is not assignable to parameter `labels` with type `dict[str, AttributeValue]` in function `enterprise.telemetry.exporter.EnterpriseExporter.increment_counter` [bad-argument-type]
    --> tests/unit_tests/enterprise/telemetry/test_exporter.py:582:71
 ERROR Argument `dict[str, str]` is not assignable to parameter `labels` with type `dict[str, AttributeValue]` in function `enterprise.telemetry.exporter.EnterpriseExporter.record_histogram` [bad-argument-type]

@dosubot dosubot Bot added the lgtm This PR has been approved by a maintainer label Jul 8, 2026
@asukaminato0721 asukaminato0721 added this pull request to the merge queue Jul 8, 2026
Merged via the queue into langgenius:main with commit a278d21 Jul 8, 2026
31 checks passed
@asukaminato0721 asukaminato0721 deleted the final_mock_log branch July 8, 2026 08:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

lgtm This PR has been approved by a maintainer size:XS This PR changes 0-9 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants