mirror of
https://github.com/we-promise/sure.git
synced 2026-05-07 04:44:08 +00:00
chore: record integration validation milestone
This commit is contained in:
@@ -286,6 +286,31 @@ Treat those as follow-up cleanup items, not environment bootstrap failures.
|
||||
|
||||
After this milestone, the next useful validation step is usually the controller or integration layer.
|
||||
|
||||
## Validation milestone, integration suite
|
||||
|
||||
On the reference host, after models and controllers were already green, this also passed successfully:
|
||||
|
||||
```bash
|
||||
export RBENV_ROOT=/root/.rbenv
|
||||
export PATH="$RBENV_ROOT/bin:$RBENV_ROOT/shims:$PATH"
|
||||
eval "$(rbenv init -)"
|
||||
POSTGRES_USER=root bundle exec rails test test/integration
|
||||
```
|
||||
|
||||
Observed result on the reference host:
|
||||
|
||||
- `21 runs`
|
||||
- `49 assertions`
|
||||
- `0 failures`
|
||||
- `0 errors`
|
||||
- `0 skips`
|
||||
|
||||
Non-blocking observations:
|
||||
|
||||
- Ruby 3.4 emitted future frozen-string warnings from the `marcel` gem
|
||||
|
||||
At this point, the next most useful surface is the JavaScript and lint layer.
|
||||
|
||||
## Resources
|
||||
|
||||
- `scripts/audit_sure_build_env.py` for a repeatable baseline audit, disk-space gate, and strategy recommendation.
|
||||
|
||||
@@ -183,6 +183,23 @@ Interpretation:
|
||||
- it is strong enough to execute the full Rails model layer successfully
|
||||
- the next likely breakpoints, if any, should be above the model layer
|
||||
|
||||
## Validation milestone, integration suite
|
||||
|
||||
After models and controllers were already passing on the reference host, the integration layer also passed:
|
||||
|
||||
- command: `POSTGRES_USER=root bundle exec rails test test/integration`
|
||||
- result: `21 runs, 49 assertions, 0 failures, 0 errors, 0 skips`
|
||||
|
||||
Non-blocking follow-up notes:
|
||||
|
||||
- Ruby 3.4 emitted future frozen-string warnings from `marcel`
|
||||
|
||||
Interpretation:
|
||||
|
||||
- the local bootstrap now covers Rails boot, DB prep, models, controllers, and integration tests
|
||||
- the next likely breakpoints, if any, are now outside the core Rails request/data path
|
||||
- the JavaScript and lint surface is the next logical validation target
|
||||
|
||||
## Suggested follow-up audit checks after installs
|
||||
|
||||
Preferred:
|
||||
|
||||
Reference in New Issue
Block a user