Commit 2e6082f
fix(runtime): resolve share-link record/messages via the per-env kernel
handleShareLinks fetched the record via resolveService('objectql', env),
which can return a different (host/scoped) engine that lacks the per-env
rows — so resolve/messages 410'd even though the record existed. Read
objectql from this.kernel (the request's resolved per-env kernel), the
same engine SharingServicePlugin bound the shareLinks service to.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>1 parent 31e2f5a commit 2e6082f
1 file changed
Lines changed: 15 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2836 | 2836 | | |
2837 | 2837 | | |
2838 | 2838 | | |
2839 | | - | |
| 2839 | + | |
| 2840 | + | |
| 2841 | + | |
| 2842 | + | |
| 2843 | + | |
| 2844 | + | |
| 2845 | + | |
| 2846 | + | |
| 2847 | + | |
| 2848 | + | |
| 2849 | + | |
| 2850 | + | |
| 2851 | + | |
| 2852 | + | |
| 2853 | + | |
2840 | 2854 | | |
2841 | 2855 | | |
2842 | 2856 | | |
| |||
0 commit comments