Docker Debug Workflow: add dev/cvat-debug.sh, debug compose stack, and VS Code integration#10308
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## develop #10308 +/- ##
===========================================
+ Coverage 75.52% 75.94% +0.41%
===========================================
Files 482 431 -51
Lines 49726 46654 -3072
Branches 4220 4220
===========================================
- Hits 37558 35432 -2126
+ Misses 12168 11222 -946
🚀 New features to boost your workflow:
|
- preserve mainstream launch configs and add a dedicated Docker attach compound - add VS Code tasks to bootstrap worker containers for debug sessions - introduce dev/debug.sh helper for common debug stack commands - move debug compose overrides to dev/docker-compose.debug.yml - add a concise from-scratch guide at dev/docker-debugging.md
- rename dev/debug.sh to dev/cvat-debug.sh and update references - add lightweight debug overlay image based on prebuilt cvat/server:dev - move and use dev/docker-compose.debug.yml for debug-specific compose overrides - add cleanup command set (clean/distclean/clobber) and usage guide - wire VS Code tasks and docs to the updated script/commands
- send timing output to stderr with clear command-scoped labels - add portable high-resolution timing fallback chain and doctor checks - document updated debug workflow and cleanup guidance
- rename build commands to build-debug/build-all with backward-compatible aliases - add rebuild path for local base image refresh and simplify compose function - speed up server restart via supervisor fast path with full-restart fallback - add command timing output to stderr with clear labels and update docs - set supervisord loglevel to info to reduce debug log noise
- remove legacy command aliases and keep canonical command names only - keep fast supervisor-based server restart with full-restart fallback
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Introduce a complete Docker-first CVAT debug workflow with dedicated debug compose config, helper script, and VS Code integration.
What’s included
dev/cvat-debug.shas the main local debug workflow entrypointdev/docker-compose.debug.ymlfor debug-specific overridesdev/Dockerfile.server.debugfor debug image layering on top ofcvat/server:devdev/docker-debugging.mdwith from-scratch setup and troubleshooting.vscode/launch.jsonwith Docker attach compound for backend debugging.vscode/tasks.jsonto bootstrap Docker debug workflow from VS Codesupervisord/reusable/supervisord.conf(debug->info)Developer impact