Skip to content

Debug server#125

Draft
xepozz wants to merge 14 commits intomasterfrom
dev-server
Draft

Debug server#125
xepozz wants to merge 14 commits intomasterfrom
dev-server

Conversation

@xepozz
Copy link
Member

@xepozz xepozz commented Sep 7, 2023

Q A
Is bugfix?
New feature? ✔️
Breaks BC?

yiisoft/yii-dev-panel#70
yiisoft/yii-debug#225

@codecov
Copy link

codecov bot commented Sep 7, 2023

Codecov Report

Attention: Patch coverage is 0% with 38 lines in your changes missing coverage. Please review.

Project coverage is 10.04%. Comparing base (6b77c72) to head (3ab00db).
Report is 1 commits behind head on master.

Files with missing lines Patch % Lines
src/Inspector/Controller/DebugServerController.php 0.00% 26 Missing ⚠️
src/ServerSentEventsStream.php 0.00% 9 Missing ⚠️
src/Debug/Controller/DebugController.php 0.00% 3 Missing ⚠️
Additional details and impacted files
@@ Coverage Diff @@ ## master #125 +/- ## ============================================ - Coverage 10.21% 10.04% -0.18%  - Complexity 268 275 +7  ============================================ Files 26 27 +1 Lines 1351 1374 +23 ============================================ Hits 138 138 - Misses 1213 1236 +23 

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

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
@what-the-diff
Copy link

what-the-diff bot commented Sep 7, 2023

PR Summary

  • Introduction of a New Route
    There is a new route added, labeled as '/dev', specified in the file titled 'config/routes.php'. This new route leads to a destination referred to as the 'DevServerController' class.

  • Creation of a Stream Endpoint through New File
    A brand new file, 'DevServerController.php', has been placed in the 'src/Controller' folder. This file's purpose is to create a continuous stream of data, meant for server-sent events. This is done through incorporating a couple of resources: 'DataResponseFactoryInterface' and 'Aliases'. The new function, dubbed the stream method, establishes such a server-sent events stream, sets up necessary data exchange headers, and returns a response containing the created stream in the body part of the response message.

@xepozz xepozz changed the title Dev server Debug server Sep 16, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

3 participants