Refactor CI workflows for backend, mobile app, and locker-client

オープン
#99 コメント 3 件 リアクション 0 件 担当者 1 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

@Aibolit66 がすでに取り組んでいます。

2026年8月20日 から。

評価

この issue はまだ評価されていません。

説明

backend docs iot client mobile-app

Context

The GitHub Actions workflows have grown organically across backend builds, locker-client builds, mobile checks, and MQTT contract validation.

Recent MQTT contract work added schema-backed tests that are now part of the normal backend and locker-client test suites. This raises the question whether a dedicated MQTT contract workflow is still needed, or whether CI should be organized around components and test suites.

Goal

Refactor CI workflows so they are easier to understand, avoid duplicate checks, and run the right test suites when shared contract files change.

Scope

  • Review existing workflows under .github/workflows/
  • Decide the target workflow structure, for example:
    • backend tests
    • backend Docker build/publish
    • locker-client tests
    • locker-client Docker build/publish
    • mobile app checks
  • Ensure docs/asyncapi/** changes trigger both backend and locker-client tests
  • Decide whether to remove, rename, or fold in the current MQTT-specific workflow
  • Avoid running expensive Docker publish jobs for ordinary contract/test-only changes
  • Keep release/tag publishing behavior intact

Acceptance criteria

  • CI workflow names match their actual responsibility
  • Backend tests run on backend and docs/asyncapi/** changes
  • Locker-client tests run on locker-client and docs/asyncapi/** changes
  • Mobile app checks remain scoped to mobile changes
  • Docker build/publish workflows are separated from test workflows
  • No duplicated MQTT-only test workflow if full component tests already cover the contract
  • Existing release/tag behavior remains documented and intact

Notes

This is cleanup only. It should not change MQTT contract behavior.

主要言語
PHP
スター
26
フォーク
2
平均マージ
2日 19時間
マージ済み PR(30日)
10

環境構築

Codespaces で開く

このプロジェクトの開発コンテナを、あなたの GitHub アカウントでブラウザ上に起動します。

  • Dockerfile・Docker Compose ファイルなし
  • プルリクエストのテンプレートなし
  • コントリビューションガイドなし

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

Open-Locker/Open-Locker のほかの issue

Open-Locker/Open-Locker の issue をすべて見る

似ている issue

PHP の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。