fix(tool): the checks fetch the packages first
After a merge or a switch of branch the workspace's resolution could still be the one from before, and the pre-push hook's analysis failed on packages it couldn't find (v0.13.0's push, and the stack's on 17 Oct). The checks now fetch what the checked-out pubspecs and lock name before anything else, with --enforce-lockfile, so a check never changes the lock. About 3 s when nothing is missing. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Signed-off-by: Tizian 「ティツィアーン」 <raisondetredev@pm.me>
This commit is contained in:
parent
496c844989
commit
971af90ba0
1 changed files with 8 additions and 1 deletions
|
|
@ -42,7 +42,7 @@ Checklist after doing changes, in this order:
|
|||
|
||||
- `dart format` (CLI) on the files you changed
|
||||
- `create_migration` and `apply_migrations` (MCP - only if necessary)
|
||||
- `tool/check.sh` (CLI): format check, `dart analyze --fatal-infos`, server and app tests. The pre-push hook runs the same script, so a push only goes through when it passes.
|
||||
- `tool/check.sh` (CLI): the packages the lock names (`flutter pub get --enforce-lockfile`, so a merge never leaves the resolution behind), format check, `dart analyze --fatal-infos`, server and app tests. The pre-push hook runs the same script, so a push only goes through when it passes.
|
||||
- Do `serverpod` MCP `hot_restart` if required (hot reload is done automatically). Will also hot restart Flutter app
|
||||
- Check `serverpod` MCP `tail_server_logs` and `tail_flutter_logs` for any issues.
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue