Repository navigation
Commit 5865621
fix(server): idle shells stop reloading every project once a minute
A shell subscriber answered every project-enrichment change by
re-enriching all projects. That re-requested each root whose cache entry
had expired, each resolution published another change, and every
subscriber reloaded every project again. Once started (the PR sync sweep
restarts it each minute), the chain kept enrichment running continuously:
about two thirds of the server's trace output on a real install.
Build the refresh from the identities the changes already carry, for the
changed roots only, so a refresh no longer requests anything.
Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>1 parent cc1e634 commit 5865621
1 file changed
Lines changed: 28 additions & 9 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
948 | 948 | | |
949 | 949 | | |
950 | 950 | | |
| 951 | + | |
| 952 | + | |
| 953 | + | |
| 954 | + | |
951 | 955 | | |
952 | | - | |
953 | | - | |
954 | | - | |
955 | | - | |
956 | | - | |
957 | | - | |
958 | | - | |
959 | | - | |
960 | | - | |
| 956 | + | |
| 957 | + | |
| 958 | + | |
| 959 | + | |
| 960 | + | |
| 961 | + | |
| 962 | + | |
| 963 | + | |
| 964 | + | |
| 965 | + | |
| 966 | + | |
| 967 | + | |
| 968 | + | |
| 969 | + | |
| 970 | + | |
| 971 | + | |
| 972 | + | |
| 973 | + | |
| 974 | + | |
| 975 | + | |
| 976 | + | |
| 977 | + | |
| 978 | + | |
| 979 | + | |
961 | 980 | | |
962 | 981 | | |
963 | 982 | | |
| |||
0 commit comments