docs: オンボーディング資料の論の筋を「黙って壊れるところ」に通し、コードと食い違う記述を直す - #593
Merged
Merged
Conversation
|
Warning Review limit reachedNext included review available in 52 minutes. View limit detailsLimit details: You’ve used the included review currently available. You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository. Review configuration: ⚙️ Run configurationConfiguration used: Repository: NUTFes/SeeFT/.coderabbit.yaml Review profile: CHILL Plan: Advanced Run ID: 📒 Files selected for processing (1)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
This was referenced Sep 30, 2026
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.
対応Issue
resolve #592
概要
docs/development/onboarding.mdの論の筋を1本にし、今のコードと食い違う記述を直しました。論の筋
http://localhost:45029で開いて SeeFT のローカルの api を呼ぶ形にしました(CORS の許可リストに入っているオリジンなので)。担当の種類(判断したこと)
元の本文は、冒頭で担当を api・mobile・GAS の3種類と書きながら、12節・13節は2種類を前提にしていました。担当は api と mobile の2種類にそろえ、GAS(8節)は GAS に関わる issue を持ったときに読む扱いにしました。3種類に戻す場合は、13節に GAS の担当向けの課題を足す必要があります。
コードと食い違っていた記述
c.Bindは知らないキーを捨て、ゼロ値のまま進む。型の食い違いなら 400(review_controller.goのCreateReview)。9節にcomment→commentsの例を足したapi/env/dev.envにダミーの値が入っているmake downなら DB は残るdocker-compose.ymlの db にボリュームの指定が無く、次の起動では空になる。残すならdocker compose stop--platform chromeが必須test/widget_test.dartの1件)waitLock(30000)で、30 秒を過ぎるとエラーになるclasp pushの説明clasp deploy -i <デプロイID>をしないと変わらない(gas/README.md)my_shift_page.dart)gas/を変えたときは CI が何も走らないdocs-refcheck.ymlが走るfeat/...の形だけfix・docsもある。スカッシュマージで、マージするのは PM(workflow.md)errors.Wrapは古いコードで使っているapi/lib/ではこちらが多数派*sql.Rowsを返す*sql.Row。GORM を使うshift_card_repository.goは struct を返すこのほか、15節に「セキュリティの問題は公開の issue に書かない」(workflow.md「2. issue」)を足しました。新入生向けには、0節の図の描き直し(矢印の向きの意味と、番号付きの流れ)、早見表への語の追加、5節と 10節のコード片へのコメントを足しています。
テスト項目
確かめたこと
cd mobile && fvm flutter testを手元で実行した(chrome の指定なしで通る)node --checkで、functionどうしの重複はエラーにならないことを確かめたpython3 scripts/refcheck/refcheck.py --worktree docs/development/onboarding.mdで、パスとシンボルの参照が通った確かめていないこと
make downのあと DB が空になることは、Docker を起動して試してはいない(compose の定義と Docker の仕様から判断した)xcode-select --installで git と make が入ることは、この環境では実行していない備考