Skip to content

Conversation

@pull
Copy link

@pull pull bot commented Nov 13, 2025

See Commits and Changes for more details.


Created by pull[bot] (v2.0.0-alpha.4)

Can you help keep this open source service alive? 💖 Please sponsor : )

mathpirate and others added 2 commits November 13, 2025 09:53
Add test fixture pair for the pattern described in CT-1036:
- Grouping items by a property into Record<K, V[]>
- Deriving keys from the grouped object
- Mapping over derived keys and accessing grouped[key]
- Nested mapping over the accessed array

This pattern runs successfully and transforms correctly with the
current transformer. The JSX transformer properly wraps the property
access (groupedByAisle[aisleName]) in a derive with both values as
parameters, enabling reactive property access with derived keys.

Related: CT-1036
…2071)

**Problem:**
Errors in DefaultPattern.create() were caught and logged but not re-thrown,
causing silent failures.

**Why this breaks mentions:**
1. linkDefaultPattern() fails (network glitch, race condition, etc.)
2. Error is swallowed → no indication to user
3. DefaultCharmList charm created successfully
4. But /defaultPattern link in space cell is missing
5. wish("#mentionable") resolves path: /defaultPattern/backlinksIndex/mentionable
6. Path resolution fails because /defaultPattern doesn't exist
7. Returns empty array instead of charm list
8. ct-code-editor receives empty mentionable list
9. [[ dropdown shows no completions

**Symptom:**
Type [[ in notes field → dropdown is empty (even though backlinksIndex has data)

**Timeline:**
- Oct 23 (947b471): linkDefaultPattern added
- Nov 6 (or earlier): Spaces created with transient link failures
- Today: Error swallowing discovered

**Fix:**
Re-throw errors to surface failures immediately. Future spaces will fail loudly
if linking doesn't work, preventing silent corruption.

**Workaround for affected spaces:**
Delete packages/toolshed/cache/memory/*.sqlite and recreate spaces.
@pull pull bot locked and limited conversation to collaborators Nov 13, 2025
@pull pull bot added the ⤵️ pull label Nov 13, 2025
@pull pull bot merged commit df1cf85 into ExaDev:main Nov 13, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants