Repository navigation
Conversation
Add dependency-free local SDK, Python, PATH, project, CLI and ADC diagnostics for Windows, macOS and Linux. Bundle runtime and maintenance reference inside the installed skill, register the dashboard entry, and expose npm commands without changing server startup or dependencies. Add 25 fixture-based tests and a Windows/macOS/Linux matrix for Node 22.18.0 and 24.x. Local Linux result: 24 passed, 1 Windows-only test skipped. Live cloud authentication, package updates and original Windows registry repair are not claimed as verified.
Resolve both entry-point paths before comparing them so the symlink/junction layout used by GitMir installers actually runs the CLI. Add a regression test that fails with empty stdout before the fix and passes afterward. Local verification: syntax check plus 26 tests; 25 passed, 1 Windows-only test skipped, zero failures. Remote cross-platform matrix is rerun for this commit.
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.
Назначение
Связать GitMir с Google Cloud через необязательный
$gcloud-doctor, а не превращать Google Cloud в зависимость панели или распространять Windows-рецепт на все ОС.Реализовано
plugin/skills/gcloud-doctor: Windows/macOS/Linux, фактическая версия SDK, несколько SDK в PATH, Python, эффективный project/region/zone, активная конфигурация.cloudAccessвсегдаnot-tested.--json,--project,--min-version,--gcloud,--require-local-adc,--strict,--timeout-ms. Никакой жёсткой привязки к 584.0.0.skills.json; npm-команды диагностики и тестов. Runtime assets не зависят от наличия корня исходного репозитория.contents: read.Проверено на окончательном commit cead359
node --check plugin/skills/gcloud-doctor/scripts/doctor.mjsnpm run test:gcloud-doctorGitHub Actions: все 6 заданий завершились success — Windows, macOS и Ubuntu на Node 22.18.0 и 24.x. Проверены синтаксис, запуск help без SDK, реальные fixture-процессы, dashboard registration, отдельная копия установленного навыка и запуск через symlink/junction.
Проверенный run: https://github.com/Dimkox/gitmir-codex-control/actions/runs/34519894461
Дополнительный локальный Linux-прогон, Node 22.16.0: 25 passed, 0 failed, 1 Windows-only test skipped. Этот локальный runtime ниже заявленного floor; поддерживаемые версии отдельно проверены CI-матрицей выше. Платформенные skip в тестах намеренные; Windows-specific процесс и junction проверяются на Windows runner.
Отдельная проблема существующего CI
Общий workflow
NodeJS with Webpackна первом commit PR завершился ошибкой: запускаетnpx webpackи требует интерактивной установки отсутствующегоwebpack-cli. Этот workflow уже есть на исходном master и данным PR не изменяется. Причина, журнал и критерии исправления записаны в #4. Поэтому успех диагностической матрицы не выдаётся за исправление всего CI репозитория.Запуск
Из корня checkout этой ветки:
Для установленного/обновлённого плагина:
$gcloud-doctor.Полная документация: maintenance.md.
Границы
Диагностика не выполняет login, обновление SDK, правку реестра, деплой, IAM или операции биллинга. Ремонт требует явного разрешения на конкретную процедуру. Для неразрешённых изменений навык создаёт только диагностическую verify-задачу, а не автоматический ремонт.
Зелёные проверки не доказывают валидность токенов, доступность Google APIs или правильность IAM. Реальный Google SDK, авторизация, обновление компонентов и исходный Windows-ремонт не являются проверенными результатами этих fixture-тестов. Windows timeout не гарантирует уничтожения всех потомков cmd.
Всего 9 изменённых файлов: 6 новых и 3 существующих. Код сервера, runtime dependencies, startup behavior, release workflow и исторический 584.0.0 script не изменены. Публикация остаётся отдельным PR, слияния в master не выполнялось.