Commit bb17129
committed
feat(runtime): seed-replayer reports
The `seed-replayer` service returned { inserted, updated, errors } but not
`skipped`, so a cloud host could not distinguish an all-skip replay (seed data
already present — a no-op) from the zero-summary early-returns that never ran
the loader (no org / no metadata / no datasets). Both read as
inserted=updated=0, so the host couldn't safely stamp its seed-once record for
the all-skip case → re-replayed every cold boot.
Return `skipped: result.summary.totalSkipped`; early-returns report skipped:0.
Lets cloud#853's decideSeedStamp stamp on progress (incl. all-skip) while still
declining a genuine no-loader zero summary. Additive, backward compatible.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01APnSDJneEDRh3Z51KGCLgaskipped for host stamp-on-progress (cloud#853)1 parent 80273c8 commit bb17129
2 files changed
Lines changed: 28 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
765 | 765 | | |
766 | 766 | | |
767 | 767 | | |
768 | | - | |
| 768 | + | |
769 | 769 | | |
770 | 770 | | |
771 | 771 | | |
772 | | - | |
| 772 | + | |
773 | 773 | | |
774 | 774 | | |
775 | 775 | | |
776 | 776 | | |
777 | 777 | | |
778 | | - | |
| 778 | + | |
779 | 779 | | |
780 | 780 | | |
781 | 781 | | |
| |||
796 | 796 | | |
797 | 797 | | |
798 | 798 | | |
| 799 | + | |
| 800 | + | |
| 801 | + | |
| 802 | + | |
| 803 | + | |
| 804 | + | |
799 | 805 | | |
800 | 806 | | |
801 | 807 | | |
| |||
0 commit comments