🐛 BUG: Neovim broken lsp on dynamic routes

Describe the Bug
Currently when using dynamic [anything].astro routes I am having issues in neovim.  No issues on other .astro files.
I get minimal  lsp support but html, css and most ts not working.
Some but not all diagnostics work.
Formatting is either non existent or sometimes breaks on save. If I delete a line and save, it adds the line back.
vscode has no issues.
Thank you!!
Steps to Reproduce
I have a minimal neovim config at https://github.com/aaronjconway/astro_config
Steps to reproduce

Init basic Astro with typescript

npm create astro@latest

Empty: yes
Typescript: yes - strict

Add prettier and prettier-plugin-astro

npm i -D prettier prettier-plugin-astro

Add the recommend .prettierrc.mjs found here:
https://github.com/withastro/prettier-plugin-astro

// .prettierrc.mjs
/** @type {import("prettier").Config} */
export default {
  plugins: ['prettier-plugin-astro'],
  overrides: [
    {
      files: '*.astro',
      options: {
        parser: 'astro',
      },
    },
  ],
}

make a [page].astro file
test lsp in new astro file and no lsp

Sorry, but I'm not sure what you are expecting us to do. We only publish the language server in this context, and as you can tell it works in VS Code (the only editor we publish support for ourselves)
If something doesn't work in Neovim specifically, it's quite likely a configuration issue on your end, or a bug in Neovim.

@aaronjconway
I have the same problem, but not really sure if it's a problem with astro or with neovim. Please post an update if you find the culprit or a solution to this.

I have had the exact same issue and the solution with downgrading fixed the problem as @frametreon said.
I will try to see what I can find, when time allows for it on my end.

If there's any logs or something that Neovim outputs, I'd be happy to take a look

If there's any logs or something that Neovim outputs, I'd be happy to take a look

I think I have the time during the weekend, so I will give some update then!

I am having the same problem here.

Same issue happend with me today
Working on normal routes:  /blog.astro, /index.astro etc
Not working on dynamic: /blog/[slug]/index.astro ...etc

All those "It happens to me too" comments are unfortunately no helpful. If there's any logs from either Neovim or the language server, please share them.

[DEBUG][2024-02-29 18:53:51] .../vim/lsp/rpc.lua:387	"rpc.receive"	{  id = 35,  jsonrpc = "2.0",  method = "workspace/configuration",  params = {    items = { {        scopeUri = "file:///mnt/data/Projects/bluemeow/website/src/pages/events/%5bid%5d.astro?virtualCodeId=root",        section = "prettier"      } }  }}
[DEBUG][2024-02-29 18:53:51] .../vim/lsp/rpc.lua:403	"server_request: callback result"	{  result = { vim.NIL },  status = true}
[DEBUG][2024-02-29 18:53:51] .../vim/lsp/rpc.lua:284	"rpc.send"	{  id = 35,  jsonrpc = "2.0",  result = { vim.NIL }}
[DEBUG][2024-02-29 18:53:52] .../vim/lsp/rpc.lua:387	"rpc.receive"	{  id = 58,  jsonrpc = "2.0",  result = { {      newText = "---\nimport { getEvent } from '../../utils/directusClient'\nimport EventsBody from '../../components/Events/EventsBody.astro'\nconst { id } = Astro.params\n\nif (!id) throw new Error('Missing ID parameter')\n\nconst event = await getEvent(id)\n\nexport const prerender = false\n---\n\n

\n
\n  <EventsBody content={event.event_info} />\n
\n",      range = {        ["end"] = {          character = 0,          line = 15        },        start = {          character = 0,          line = 0        }      }    } }}
[DEBUG][2024-02-29 18:53:52] .../vim/lsp/rpc.lua:284	"rpc.send"	{  jsonrpc = "2.0",  method = "textDocument/didChange",  params = {    contentChanges = { {        text = "---\nimport { getEvent } from '../../utils/directusClient'\nimport EventsBody from '../../components/Events/EventsBody.astro'\nconst { id } = Astro.params\n\nif (!id) throw new Error('Missing ID parameter')\n\nconst event = await getEvent(id)\n\nexport const prerender = false\n---\n\n

\n
\n  <EventsBody content={event.event_info} />\n
\n
\n"      } },    textDocument = {      uri = "file:///mnt/data/Projects/bluemeow/website/src/pages/events/%5bid%5d.astro",      version = 38    }  }}
[DEBUG][2024-02-29 18:53:52] .../vim/lsp/rpc.lua:284	"rpc.send"	{  jsonrpc = "2.0",  method = "textDocument/didChange",  params = {    contentChanges = { {        range = {          ["end"] = {            character = 6,            line = 15          },          start = {            character = 3,            line = 0          }        },        rangeLength = 416,        text = "\nimport { getEvent } from '../../utils/directusClient'\nimport EventsBody from '../../components/Events/EventsBody.astro'\nconst { id } = Astro.params\n\nif (!id) throw new Error('Missing ID parameter')\n\nconst event = await getEvent(id)\n\nexport const prerender = false\n---\n\n

\n
\n  <EventsBody content={event.event_info} />\n
\n
"      } },    textDocument = {      uri = "file:///mnt/data/Projects/bluemeow/website/src/pages/events/%5bid%5d.astro",      version = 38    }  }}
[DEBUG][2024-02-29 18:53:52] .../vim/lsp/rpc.lua:284	"rpc.send"	{  jsonrpc = "2.0",  method = "textDocument/didSave",  params = {    textDocument = {      uri = "file:///mnt/data/Projects/bluemeow/website/src/pages/events/%5bid%5d.astro"    }  }}
[DEBUG][2024-02-29 18:53:52] .../vim/lsp/rpc.lua:284	"rpc.send"	{  jsonrpc = "2.0",  method = "textDocument/didSave",  params = {    textDocument = {      uri = "file:///mnt/data/Projects/bluemeow/website/src/pages/events/%5bid%5d.astro"    }  }}
[DEBUG][2024-02-29 18:53:52] .../lua/vim/lsp.lua:1391	"LSP[astro]"	"client.request"	5	"textDocument/documentHighlight"	{  position = {    character = 25,    line = 1  },  textDocument = {    uri = "file:///mnt/data/Projects/bluemeow/website/src/pages/events/%5bid%5d.astro"  }}	<function 1>	19
[DEBUG][2024-02-29 18:53:52] .../vim/lsp/rpc.lua:284	"rpc.send"	{  id = 59,  jsonrpc = "2.0",  method = "textDocument/documentHighlight",  params = {    position = {      character = 25,      line = 1    },    textDocument = {      uri = "file:///mnt/data/Projects/bluemeow/website/src/pages/events/%5bid%5d.astro"    }  }}
[DEBUG][2024-02-29 18:53:52] .../vim/lsp/rpc.lua:284	"rpc.send"	{  jsonrpc = "2.0",  method = "$/cancelRequest",  params = {    id = 59  }}
[DEBUG][2024-02-29 18:53:52] .../lua/vim/lsp.lua:1391	"LSP[astro]"	"client.request"	5	"textDocument/documentHighlight"	{  position = {    character = 25,    line = 1  },  textDocument = {    uri = "file:///mnt/data/Projects/bluemeow/website/src/pages/events/%5bid%5d.astro"  }}	<function 1>	19
[DEBUG][2024-02-29 18:53:52] .../vim/lsp/rpc.lua:284	"rpc.send"	{  id = 60,  jsonrpc = "2.0",  method = "textDocument/documentHighlight",  params = {    position = {      character = 25,      line = 1    },    textDocument = {      uri = "file:///mnt/data/Projects/bluemeow/website/src/pages/events/%5bid%5d.astro"    }  }}
[DEBUG][2024-02-29 18:53:52] .../vim/lsp/rpc.lua:387	"rpc.receive"	{  id = 59,  jsonrpc = "2.0",  result = { {      kind = 2,      range = {        ["end"] = {          character = 52,          line = 1        },        start = {          character = 26,          line = 1        }      }    } }}
[DEBUG][2024-02-29 18:53:52] .../vim/lsp/rpc.lua:387	"rpc.receive"	{  id = 60,  jsonrpc = "2.0",  result = { {      kind = 2,      range = {        ["end"] = {          character = 52,          line = 1        },        start = {          character = 26,          line = 1        }      }    } }}
[DEBUG][2024-02-29 18:53:52] .../vim/lsp/rpc.lua:387	"rpc.receive"	{  id = 36,  jsonrpc = "2.0",  method = "workspace/configuration",  params = {    items = { {        section = "typescript.validate.enable"      } }  }}
[DEBUG][2024-02-29 18:53:52] .../vim/lsp/rpc.lua:403	"server_request: callback result"	{  result = { vim.NIL },  status = true}
[DEBUG][2024-02-29 18:53:52] .../vim/lsp/rpc.lua:284	"rpc.send"	{  id = 36,  jsonrpc = "2.0",  result = { vim.NIL }}
[DEBUG][2024-02-29 18:53:52] .../vim/lsp/rpc.lua:387	"rpc.receive"	{  jsonrpc = "2.0",  method = "textDocument/publishDiagnostics",  params = {    diagnostics = {},    uri = "file:///mnt/data/Projects/bluemeow/website/src/pages/events/%5bid%5d.astro",    version = 38  }}
[DEBUG][2024-02-29 18:53:52] .../vim/lsp/rpc.lua:387	"rpc.receive"	{  jsonrpc = "2.0",  method = "textDocument/publishDiagnostics",  params = {    diagnostics = {},    uri = "file:///mnt/data/Projects/bluemeow/website/src/pages/events/%5bid%5d.astro"  }}

After turning on logging in neovim.
Probably a little hard to read, but I can't make it much more readable than this😅

https://github.com/withastro/language-tools/assets/9026132/ddb21205-dc5a-47e3-9fe1-6970e919e9aa
Here is a small video of the issue in action, this is purely for reference.

Thank you, the logs are helpful. I assume that perhaps VS Code decodes the paths and Neovim doesn't, not sure who's right. We'll investigate!

Thank you, the logs are helpful. I assume that perhaps VS Code decodes the paths and Neovim doesn't, not sure who's right. We'll investigate!

Let me know if you need any more logs, I can always send a lot more😆

Thank you, the logs are helpful. I assume that perhaps VS Code decodes the paths and Neovim doesn't, not sure who's right. We'll investigate!

Let me know if you need any more logs, I can always send a lot more😆

Something that would be useful is logs from 2.6.3 if you have them, just to see the difference in encoding

[DEBUG][2024-02-29 19:47:36] .../vim/lsp/rpc.lua:387	"rpc.receive"	{  jsonrpc = "2.0",  method = "textDocument/publishDiagnostics",  params = {    diagnostics = {},    uri = "file:///mnt/data/Projects/bluemeow/website/src/pages/events/%5bid%5d.astro"  }}
[DEBUG][2024-02-29 19:47:37] .../lua/vim/lsp.lua:1391	"LSP[astro]"	"client.request"	2	"textDocument/documentHighlight"	{  position = {    character = 2,    line = 10  },  textDocument = {    uri = "file:///mnt/data/Projects/bluemeow/website/src/pages/events/%5bid%5d.astro"  }}	<function 1>	19
[DEBUG][2024-02-29 19:47:37] .../vim/lsp/rpc.lua:284	"rpc.send"	{  id = 2,  jsonrpc = "2.0",  method = "textDocument/documentHighlight",  params = {    position = {      character = 2,      line = 10    },    textDocument = {      uri = "file:///mnt/data/Projects/bluemeow/website/src/pages/events/%5bid%5d.astro"    }  }}
[DEBUG][2024-02-29 19:47:37] .../vim/lsp/rpc.lua:387	"rpc.receive"	{  id = 2,  jsonrpc = "2.0",  method = "workspace/configuration",  params = {    items = { {        section = "typescript.preferences"      } }  }}
[DEBUG][2024-02-29 19:47:37] .../vim/lsp/rpc.lua:403	"server_request: callback result"	{  result = { vim.NIL },  status = true}
[DEBUG][2024-02-29 19:47:37] .../vim/lsp/rpc.lua:284	"rpc.send"	{  id = 2,  jsonrpc = "2.0",  result = { vim.NIL }}
[DEBUG][2024-02-29 19:47:38] .../vim/lsp/rpc.lua:387	"rpc.receive"	{  id = 3,  jsonrpc = "2.0",  method = "workspace/configuration",  params = {    items = { {        section = "html.customData"      } }  }}
[DEBUG][2024-02-29 19:47:38] .../vim/lsp/rpc.lua:403	"server_request: callback result"	{  result = { vim.NIL },  status = true}
[DEBUG][2024-02-29 19:47:38] .../vim/lsp/rpc.lua:284	"rpc.send"	{  id = 3,  jsonrpc = "2.0",  result = { vim.NIL }}
[DEBUG][2024-02-29 19:47:38] .../vim/lsp/rpc.lua:387	"rpc.receive"	{  jsonrpc = "2.0",  method = "textDocument/publishDiagnostics",  params = {    diagnostics = {},    uri = "file:///mnt/data/Projects/bluemeow/website/src/pages/events/%5bid%5d.astro",    version = 0  }}
[DEBUG][2024-02-29 19:47:38] .../vim/lsp/rpc.lua:387	"rpc.receive"	{  jsonrpc = "2.0",  method = "textDocument/publishDiagnostics",  params = {    diagnostics = {},    uri = "file:///mnt/data/Projects/bluemeow/website/src/pages/events/%5bid%5d.astro",    version = 0  }}
[DEBUG][2024-02-29 19:47:38] .../vim/lsp/rpc.lua:387	"rpc.receive"	{  id = 2,  jsonrpc = "2.0",  result = {}}
[DEBUG][2024-02-29 19:47:38] .../lua/vim/lsp.lua:1391	"LSP[astro]"	"client.request"	2	"textDocument/documentHighlight"	{  position = {    character = 2,    line = 10  },  textDocument = {    uri = "file:///mnt/data/Projects/bluemeow/website/src/pages/events/%5bid%5d.astro"  }}	<function 1>	19
[DEBUG][2024-02-29 19:47:38] .../vim/lsp/rpc.lua:284	"rpc.send"	{  id = 3,  jsonrpc = "2.0",  method = "textDocument/documentHighlight",  params = {    position = {      character = 2,      line = 10    },    textDocument = {      uri = "file:///mnt/data/Projects/bluemeow/website/src/pages/events/%5bid%5d.astro"    }  }}
[DEBUG][2024-02-29 19:47:38] .../vim/lsp/rpc.lua:387	"rpc.receive"	{  id = 3,  jsonrpc = "2.0",  result = {}}
[DEBUG][2024-02-29 19:47:38] .../lua/vim/lsp.lua:1391	"LSP[astro]"	"client.request"	2	"textDocument/documentHighlight"	{  position = {    character = 3,    line = 10  },  textDocument = {    uri = "file:///mnt/data/Projects/bluemeow/website/src/pages/events/%5bid%5d.astro"  }}	<function 1>	19
[DEBUG][2024-02-29 19:47:38] .../vim/lsp/rpc.lua:284	"rpc.send"	{  id = 4,  jsonrpc = "2.0",  method = "textDocument/documentHighlight",  params = {    position = {      character = 3,      line = 10    },    textDocument = {      uri = "file:///mnt/data/Projects/bluemeow/website/src/pages/events/%5bid%5d.astro"    }  }}
[DEBUG][2024-02-29 19:47:38] .../vim/lsp/rpc.lua:387	"rpc.receive"	{  id = 4,  jsonrpc = "2.0",  result = {}}
[DEBUG][2024-02-29 19:47:38] .../vim/lsp/rpc.lua:284	"rpc.send"	{  jsonrpc = "2.0",  method = "textDocument/didChange",  params = {    contentChanges = { {        range = {          ["end"] = {            character = 3,            line = 10          },          start = {            character = 3,            line = 10          }        },        rangeLength = 0,        text = "\n"      } },    textDocument = {      uri = "file:///mnt/data/Projects/bluemeow/website/src/pages/events/%5bid%5d.astro",      version = 3    }  }}
[DEBUG][2024-02-29 19:47:38] .../lua/vim/lsp.lua:1391	"LSP[astro]"	"client.request"	2	"textDocument/documentHighlight"	{  position = {    character = 0,    line = 11  },  textDocument = {    uri = "file:///mnt/data/Projects/bluemeow/website/src/pages/events/%5bid%5d.astro"  }}	<function 1>	19
[DEBUG][2024-02-29 19:47:38] .../vim/lsp/rpc.lua:284	"rpc.send"	{  id = 5,  jsonrpc = "2.0",  method = "textDocument/documentHighlight",  params = {    position = {      character = 0,      line = 11    },    textDocument = {      uri = "file:///mnt/data/Projects/bluemeow/website/src/pages/events/%5bid%5d.astro"    }  }}
[DEBUG][2024-02-29 19:47:38] .../vim/lsp/rpc.lua:387	"rpc.receive"	{  id = 5,  jsonrpc = "2.0",  result = {}}
[DEBUG][2024-02-29 19:47:39] .../vim/lsp/rpc.lua:284	"rpc.send"	{  jsonrpc = "2.0",  method = "textDocument/didChange",  params = {    contentChanges = { {        range = {          ["end"] = {            character = 0,            line = 11          },          start = {            character = 0,            line = 11          }        },        rangeLength = 0,        text = "\n"      } },    textDocument = {      uri = "file:///mnt/data/Projects/bluemeow/website/src/pages/events/%5bid%5d.astro",      version = 4    }  }}
[DEBUG][2024-02-29 19:47:39] .../lua/vim/lsp.lua:1391	"LSP[astro]"	"client.request"	2	"textDocument/documentHighlight"	{  position = {    character = 0,    line = 12  },  textDocument = {    uri = "file:///mnt/data/Projects/bluemeow/website/src/pages/events/%5bid%5d.astro"  }}	<function 1>	19
[DEBUG][2024-02-29 19:47:39] .../vim/lsp/rpc.lua:284	"rpc.send"	{  id = 6,  jsonrpc = "2.0",  method = "textDocument/documentHighlight",  params = {    position = {      character = 0,      line = 12    },    textDocument = {      uri = "file:///mnt/data/Projects/bluemeow/website/src/pages/events/%5bid%5d.astro"    }  }}
[DEBUG][2024-02-29 19:47:39] .../vim/lsp/rpc.lua:387	"rpc.receive"	{  id = 6,  jsonrpc = "2.0",  result = {}}
[DEBUG][2024-02-29 19:47:39] .../vim/lsp/rpc.lua:284	"rpc.send"	{  jsonrpc = "2.0",  method = "textDocument/didChange",  params = {    contentChanges = { {        text = "---\nimport { getEvent } from '../../utils/directusClient'\nimport EventsBody from '../../components/Events/EventsBody.astro'\nconst { id } = Astro.params\n\nif (!id) throw new Error('Missing ID parameter')\n\nconst event = await getEvent(id)\n\nexport const prerender = false\n---\n\n\n
\n  <EventsBody content={event.event_info} />\n
\n"      } },    textDocument = {      uri = "file:///mnt/data/Projects/bluemeow/website/src/pages/events/%5bid%5d.astro",      version = 4    }  }}
[DEBUG][2024-02-29 19:47:39] .../vim/lsp/rpc.lua:284	"rpc.send"	{  jsonrpc = "2.0",  method = "textDocument/didChange",  params = {    contentChanges = { {        range = {          ["end"] = {            character = 0,            line = 12          },          start = {            character = 0,            line = 12          }        },        rangeLength = 0,        text = "p"      } },    textDocument = {      uri = "file:///mnt/data/Projects/bluemeow/website/src/pages/events/%5bid%5d.astro",      version = 5    }  }}
[DEBUG][2024-02-29 19:47:39] .../lua/vim/lsp.lua:1391	"LSP[astro]"	"client.request"	2	"textDocument/documentHighlight"	{  position = {    character = 1,    line = 12  },  textDocument = {    uri = "file:///mnt/data/Projects/bluemeow/website/src/pages/events/%5bid%5d.astro"  }}	<function 1>	19
[DEBUG][2024-02-29 19:47:39] .../vim/lsp/rpc.lua:284	"rpc.send"	{  id = 7,  jsonrpc = "2.0",  method = "textDocument/documentHighlight",  params = {    position = {      character = 1,      line = 12    },    textDocument = {      uri = "file:///mnt/data/Projects/bluemeow/website/src/pages/events/%5bid%5d.astro"    }  }}
[DEBUG][2024-02-29 19:47:39] .../vim/lsp/rpc.lua:284	"rpc.send"	{  jsonrpc = "2.0",  method = "textDocument/didChange",  params = {    contentChanges = { {        text = "---\nimport { getEvent } from '../../utils/directusClient'\nimport EventsBody from '../../components/Events/EventsBody.astro'\nconst { id } = Astro.params\n\nif (!id) throw new Error('Missing ID parameter')\n\nconst event = await getEvent(id)\n\nexport const prerender = false\n---\n\np\n
\n  <EventsBody content={event.event_info} />\n
\n"      } },    textDocument = {      uri = "file:///mnt/data/Projects/bluemeow/website/src/pages/events/%5bid%5d.astro",      version = 5    }  }}
[DEBUG][2024-02-29 19:47:39] .../lua/vim/lsp.lua:1391	"LSP[tailwindcss]"	"client.request"	1	"textDocument/completion"	{  context = {    triggerKind = 1  },  position = {    character = 1,    line = 12  },  textDocument = {    uri = "file:///mnt/data/Projects/bluemeow/website/src/pages/events/%5bid%5d.astro"  }}	<function 1>	19
[DEBUG][2024-02-29 19:47:39] .../vim/lsp/rpc.lua:284	"rpc.send"	{  id = 2,  jsonrpc = "2.0",  method = "textDocument/completion",  params = {    context = {      triggerKind = 1    },    position = {      character = 1,      line = 12    },    textDocument = {      uri = "file:///mnt/data/Projects/bluemeow/website/src/pages/events/%5bid%5d.astro"    }  }}
[DEBUG][2024-02-29 19:47:39] .../lua/vim/lsp.lua:1391	"LSP[astro]"	"client.request"	2	"textDocument/completion"	{  context = {    triggerKind = 1  },  position = {    character = 1,    line = 12  },  textDocument = {    uri = "file:///mnt/data/Projects/bluemeow/website/src/pages/events/%5bid%5d.astro"  }}	<function 1>	19
[DEBUG][2024-02-29 19:47:39] .../vim/lsp/rpc.lua:284	"rpc.send"	{  id = 8,  jsonrpc = "2.0",  method = "textDocument/completion",  params = {    context = {      triggerKind = 1    },    position = {      character = 1,      line = 12    },    textDocument = {      uri = "file:///mnt/data/Projects/bluemeow/website/src/pages/events/%5bid%5d.astro"    }  }}
[DEBUG][2024-02-29 19:47:39] .../vim/lsp/rpc.lua:387	"rpc.receive"	{  id = 2,  jsonrpc = "2.0"}
[DEBUG][2024-02-29 19:47:39] .../vim/lsp/rpc.lua:387	"rpc.receive"	{  id = 7,  jsonrpc = "2.0",  result = {}}
[DEBUG][2024-02-29 19:47:39] .../vim/lsp/rpc.lua:387	"rpc.receive"	{  jsonrpc = "2.0",  method = "textDocument/publishDiagnostics",  params = {    diagnostics = {},    uri = "file:///mnt/data/Projects/bluemeow/website/src/pages/events/%5bid%5d.astro",    version = 4  }}
[DEBUG][2024-02-29 19:47:39] .../vim/lsp/rpc.lua:387	"rpc.receive"	{  jsonrpc = "2.0",  method = "textDocument/publishDiagnostics",  params = {    diagnostics = {},    uri = "file:///mnt/data/Projects/bluemeow/website/src/pages/events/%5bid%5d.astro",    version = 4  }}
[DEBUG][2024-02-29 19:47:39] .../vim/lsp/rpc.lua:387	"rpc.receive"	{  id = 4,  jsonrpc = "2.0",  method = "workspace/configuration",  params = {    items = { {        section = "html.completion"      } }  }}
[DEBUG][2024-02-29 19:47:39] .../vim/lsp/rpc.lua:403	"server_request: callback result"	{  result = { vim.NIL },  status = true}
[DEBUG][2024-02-29 19:47:39] .../vim/lsp/rpc.lua:284	"rpc.send"	{  id = 4,  jsonrpc = "2.0",  result = { vim.NIL }}
[DEBUG][2024-02-29 19:47:39] .../vim/lsp/rpc.lua:387	"rpc.receive"	{  id = 5,  jsonrpc = "2.0",  method = "workspace/configuration",  params = {    items = { {        section = "emmet"      } }  }}
[DEBUG][2024-02-29 19:47:39] .../vim/lsp/rpc.lua:403	"server_request: callback result"	{  result = { vim.NIL },  status = true}
[DEBUG][2024-02-29 19:47:39] .../vim/lsp/rpc.lua:284	"rpc.send"	{  id = 5,  jsonrpc = "2.0",  result = { vim.NIL }}
[DEBUG][2024-02-29 19:47:39] .../vim/lsp/rpc.lua:387	"rpc.receive"	{  id = 8,  jsonrpc = "2.0",  result = {    isIncomplete = true,    items = { {        data = {          original = {            textEdit = {              newText = "
${0}
",              range = {                ["end"] = {                  character = 1,                  line = 2                },                start = {                  character = 0,                  line = 2                }              }            }          },          serviceId = "emmet",          uri = "file:///mnt/data/Projects/bluemeow/website/src/pages/events/%5bid%5d.astro",          virtualDocumentUri = "file:///mnt/data/Projects/bluemeow/website/src/pages/events/%5Bid%5D.astro.html"        },        detail = "Emmet Abbreviation",        documentation = "
|
",        insertTextFormat = 2,        label = "p",        textEdit = {          newText = "
${0}
",          range = {            ["end"] = {              character = 1,              line = 12            },            start = {              character = 0,              line = 12            }          }        }      }, {        data = {          original = {            textEdit = {              newText = "
${0}
",              range = {                ["end"] = {                  character = 1,                  line = 2                },                start = {                  character = 0,                  line = 2                }              }            }          },          serviceId = "emmet",          uri = "file:///mnt/data/Projects/bluemeow/website/src/pages/events/%5bid%5d.astro",          virtualDocumentUri = "file:///mnt/data/Projects/bluemeow/website/src/pages/events/%5Bid%5D.astro.html"        },        detail = "Emmet Abbreviation",        documentation = "
|
",        insertTextFormat = 2,        label = "pre",        textEdit = {          newText = "
${0}
",          range = {            ["end"] = {              character = 1,              line = 12            },            start = {              character = 0,              line = 12            }          }        }      }, {        data = {          original = {            textEdit = {              newText = '<param name="${1}" value="${0}">',              range = {                ["end"] = {                  character = 1,                  line = 2                },                start = {                  character = 0,                  line = 2                }              }            }          },          serviceId = "emmet",          uri = "file:///mnt/data/Projects/bluemeow/website/src/pages/events/%5bid%5d.astro",          virtualDocumentUri = "file:///mnt/data/Projects/bluemeow/website/src/pages/events/%5Bid%5D.astro.html"        },        detail = "Emmet Abbreviation",        documentation = '<param name="|" value="|">',        insertTextFormat = 2,        label = "param",        textEdit = {          newText = '<param name="${1}" value="${0}">',          range = {            ["end"] = {              character = 1,              line = 12            },            start = {              character = 0,              line = 12            }          }        }      }, {        data = {          original = {            textEdit = {              newText = "<plaintext>${0}</plaintext>",              range = {                ["end"] = {                  character = 1,                  line = 2                },                start = {                  character = 0,                  line = 2                }              }            }          },          serviceId = "emmet",          uri = "file:///mnt/data/Projects/bluemeow/website/src/pages/events/%5bid%5d.astro",          virtualDocumentUri = "file:///mnt/data/Projects/bluemeow/website/src/pages/events/%5Bid%5D.astro.html"        },        detail = "Emmet Abbreviation",        documentation = "<plaintext>|</plaintext>",        insertTextFormat = 2,        label = "plaintext",        textEdit = {          newText = "<plaintext>${0}</plaintext>",          range = {            ["end"] = {              character = 1,              line = 12            },            start = {              character = 0,              line = 12            }          }        }      } }  }}
[DEBUG][2024-02-29 19:47:39] .../lua/vim/lsp.lua:1391	"LSP[astro]"	"client.request"	2	"completionItem/resolve"	{  data = {    original = {      textEdit = {        newText = "
${0}
",        range = {          ["end"] = {            character = 1,            line = 2          },          start = {            character = 0,            line = 2          }        }      }    },    serviceId = "emmet",    uri = "file:///mnt/data/Projects/bluemeow/website/src/pages/events/%5bid%5d.astro",    virtualDocumentUri = "file:///mnt/data/Projects/bluemeow/website/src/pages/events/%5Bid%5D.astro.html"  },  detail = "Emmet Abbreviation",  documentation = "
|
",  insertTextFormat = 2,  label = "p",  textEdit = {    newText = "
${0}
",    range = {      ["end"] = {        character = 1,        line = 12      },      start = {        character = 0,        line = 12      }    }  }}	<function 1>	19
[DEBUG][2024-02-29 19:47:39] .../vim/lsp/rpc.lua:284	"rpc.send"	{  id = 9,  jsonrpc = "2.0",  method = "completionItem/resolve",  params = {    data = {      original = {        textEdit = {          newText = "
${0}
",          range = {            ["end"] = {              character = 1,              line = 2            },            start = {              character = 0,              line = 2            }          }        }      },      serviceId = "emmet",      uri = "file:///mnt/data/Projects/bluemeow/website/src/pages/events/%5bid%5d.astro",      virtualDocumentUri = "file:///mnt/data/Projects/bluemeow/website/src/pages/events/%5Bid%5D.astro.html"    },    detail = "Emmet Abbreviation",    documentation = "
|
",    insertTextFormat = 2,    label = "p",    textEdit = {      newText = "
${0}
",      range = {        ["end"] = {          character = 1,          line = 12        },        start = {          character = 0,          line = 12        }      }    }  }}
[DEBUG][2024-02-29 19:47:39] .../vim/lsp/rpc.lua:387	"rpc.receive"	{  id = 9,  jsonrpc = "2.0",  result = {    data = {      original = {        textEdit = {          newText = "
${0}
",          range = {            ["end"] = {              character = 1,              line = 2            },            start = {              character = 0,              line = 2            }          }        }      },      serviceId = "emmet",      uri = "file:///mnt/data/Projects/bluemeow/website/src/pages/events/%5bid%5d.astro",      virtualDocumentUri = "file:///mnt/data/Projects/bluemeow/website/src/pages/events/%5Bid%5D.astro.html"    },    detail = "Emmet Abbreviation",    documentation = "
|
",    insertTextFormat = 2,    label = "p",    textEdit = {      newText = "
${0}
",      range = {        ["end"] = {          character = 1,          line = 12        },        start = {          character = 0,          line = 12        }      }    }  }}
[DEBUG][2024-02-29 19:47:39] .../vim/lsp/rpc.lua:387	"rpc.receive"	{  jsonrpc = "2.0",  method = "textDocument/publishDiagnostics",  params = {    diagnostics = {},    uri = "file:///mnt/data/Projects/bluemeow/website/src/pages/events/%5bid%5d.astro"  }}
[DEBUG][2024-02-29 19:47:40] .../vim/lsp/rpc.lua:387	"rpc.receive"	{  jsonrpc = "2.0",  method = "textDocument/publishDiagnostics",  params = {    diagnostics = {},    uri = "file:///mnt/data/Projects/bluemeow/website/src/pages/events/%5bid%5d.astro",    version = 5  }}
[DEBUG][2024-02-29 19:47:40] .../vim/lsp/rpc.lua:387	"rpc.receive"	{  jsonrpc = "2.0",  method = "textDocument/publishDiagnostics",  params = {    diagnostics = {},    uri = "file:///mnt/data/Projects/bluemeow/website/src/pages/events/%5bid%5d.astro",    version = 5  }}
[DEBUG][2024-02-29 19:47:40] .../vim/lsp/rpc.lua:284	"rpc.send"	{  jsonrpc = "2.0",  method = "textDocument/didChange",  params = {    contentChanges = { {        text = "---\nimport { getEvent } from '../../utils/directusClient'\nimport EventsBody from '../../components/Events/EventsBody.astro'\nconst { id } = Astro.params\n\nif (!id) throw new Error('Missing ID parameter')\n\nconst event = await getEvent(id)\n\nexport const prerender = false\n---\n\n\n
\n  <EventsBody content={event.event_info} />\n
\n"      } },    textDocument = {      uri = "file:///mnt/data/Projects/bluemeow/website/src/pages/events/%5bid%5d.astro",      version = 6    }  }}
[DEBUG][2024-02-29 19:47:40] .../vim/lsp/rpc.lua:284	"rpc.send"	{  jsonrpc = "2.0",  method = "textDocument/didChange",  params = {    contentChanges = { {        range = {          ["end"] = {            character = 1,            line = 12          },          start = {            character = 0,            line = 12          }        },        rangeLength = 1,        text = ""      } },    textDocument = {      uri = "file:///mnt/data/Projects/bluemeow/website/src/pages/events/%5bid%5d.astro",      version = 6    }  }}
[DEBUG][2024-02-29 19:47:40] .../vim/lsp/rpc.lua:284	"rpc.send"	{  jsonrpc = "2.0",  method = "textDocument/didChange",  params = {    contentChanges = { {        range = {          ["end"] = {            character = 0,            line = 12          },          start = {            character = 0,            line = 12          }        },        rangeLength = 0,        text = "<"      }, {        range = {          ["end"] = {            character = 1,            line = 12          },          start = {            character = 1,            line = 12          }        },        rangeLength = 0,        text = "p"      }, {        range = {          ["end"] = {            character = 2,            line = 12          },          start = {            character = 2,            line = 12          }        },        rangeLength = 0,        text = ">"      }, {        range = {          ["end"] = {            character = 3,            line = 12          },          start = {            character = 0,            line = 12          }        },        rangeLength = 3,        text = "p"      }, {        range = {          ["end"] = {            character = 1,            line = 12          },          start = {            character = 0,            line = 12          }        },        rangeLength = 1,        text = ""      }, {        range = {          ["end"] = {            character = 0,            line = 12          },          start = {            character = 0,            line = 12          }        },        rangeLength = 0,        text = "
"      }, {        range = {          ["end"] = {            character = 3,            line = 12          },          start = {            character = 3,            line = 12          }        },        rangeLength = 0,        text = ""      }, {        range = {          ["end"] = {            character = 3,            line = 12          },          start = {            character = 3,            line = 12          }        },        rangeLength = 0,        text = "
"      } },    textDocument = {      uri = "file:///mnt/data/Projects/bluemeow/website/src/pages/events/%5bid%5d.astro",      version = 14    }  }}
[DEBUG][2024-02-29 19:47:40] .../lua/vim/lsp.lua:1391	"LSP[astro]"	"client.request"	2	"textDocument/documentHighlight"	{  position = {    character = 3,    line = 12  },  textDocument = {    uri = "file:///mnt/data/Projects/bluemeow/website/src/pages/events/%5bid%5d.astro"  }}	<function 1>	19
[DEBUG][2024-02-29 19:47:40] .../vim/lsp/rpc.lua:284	"rpc.send"	{  id = 10,  jsonrpc = "2.0",  method = "textDocument/documentHighlight",  params = {    position = {      character = 3,      line = 12    },    textDocument = {      uri = "file:///mnt/data/Projects/bluemeow/website/src/pages/events/%5bid%5d.astro"    }  }}
[DEBUG][2024-02-29 19:47:40] .../lua/vim/lsp.lua:1391	"LSP[astro]"	"client.request"	2	"textDocument/completion"	{  context = {    triggerCharacter = ">",    triggerKind = 2  },  position = {    character = 3,    line = 12  },  textDocument = {    uri = "file:///mnt/data/Projects/bluemeow/website/src/pages/events/%5bid%5d.astro"  }}	<function 1>	19
[DEBUG][2024-02-29 19:47:40] .../vim/lsp/rpc.lua:284	"rpc.send"	{  id = 11,  jsonrpc = "2.0",  method = "textDocument/completion",  params = {    context = {      triggerCharacter = ">",      triggerKind = 2    },    position = {      character = 3,      line = 12    },    textDocument = {      uri = "file:///mnt/data/Projects/bluemeow/website/src/pages/events/%5bid%5d.astro"    }  }}
[DEBUG][2024-02-29 19:47:40] .../vim/lsp/rpc.lua:387	"rpc.receive"	{  id = 10,  jsonrpc = "2.0",  result = { {      kind = 2,      range = {        ["end"] = {          character = 2,          line = 12        },        start = {          character = 1,          line = 12        }      }    }, {      kind = 2,      range = {        ["end"] = {          character = 6,          line = 12        },        start = {          character = 5,          line = 12        }      }    } }}
[DEBUG][2024-02-29 19:47:40] .../vim/lsp/rpc.lua:387	"rpc.receive"	{  id = 6,  jsonrpc = "2.0",  method = "workspace/configuration",  params = {    items = { {        section = "emmet"      } }  }}
[DEBUG][2024-02-29 19:47:40] .../vim/lsp/rpc.lua:403	"server_request: callback result"	{  result = { vim.NIL },  status = true}
[DEBUG][2024-02-29 19:47:40] .../vim/lsp/rpc.lua:284	"rpc.send"	{  id = 6,  jsonrpc = "2.0",  result = { vim.NIL }}
[DEBUG][2024-02-29 19:47:40] .../vim/lsp/rpc.lua:387	"rpc.receive"	{  id = 11,  jsonrpc = "2.0",  result = {    isIncomplete = false,    items = {}  }}
[DEBUG][2024-02-29 19:47:40] .../vim/lsp/rpc.lua:284	"rpc.send"	{  jsonrpc = "2.0",  method = "textDocument/didChange",  params = {    contentChanges = { {        text = "---\nimport { getEvent } from '../../utils/directusClient'\nimport EventsBody from '../../components/Events/EventsBody.astro'\nconst { id } = Astro.params\n\nif (!id) throw new Error('Missing ID parameter')\n\nconst event = await getEvent(id)\n\nexport const prerender = false\n---\n\n

\n
\n  <EventsBody content={event.event_info} />\n
\n"      } },    textDocument = {      uri = "file:///mnt/data/Projects/bluemeow/website/src/pages/events/%5bid%5d.astro",      version = 14    }  }}
[DEBUG][2024-02-29 19:47:40] .../lua/vim/lsp.lua:1391	"LSP[astro]"	"client.request"	2	"textDocument/documentHighlight"	{  position = {    character = 2,    line = 12  },  textDocument = {    uri = "file:///mnt/data/Projects/bluemeow/website/src/pages/events/%5bid%5d.astro"  }}	<function 1>	19
[DEBUG][2024-02-29 19:47:40] .../vim/lsp/rpc.lua:284	"rpc.send"	{  id = 12,  jsonrpc = "2.0",  method = "textDocument/documentHighlight",  params = {    position = {      character = 2,      line = 12    },    textDocument = {      uri = "file:///mnt/data/Projects/bluemeow/website/src/pages/events/%5bid%5d.astro"    }  }}
[DEBUG][2024-02-29 19:47:40] .../vim/lsp/rpc.lua:284	"rpc.send"	{  jsonrpc = "2.0",  method = "$/cancelRequest",  params = {    id = 12  }}
[DEBUG][2024-02-29 19:47:40] .../lua/vim/lsp.lua:1391	"LSP[astro]"	"client.request"	2	"textDocument/documentHighlight"	{  position = {    character = 2,    line = 12  },  textDocument = {    uri = "file:///mnt/data/Projects/bluemeow/website/src/pages/events/%5bid%5d.astro"  }}	<function 1>	19
[DEBUG][2024-02-29 19:47:40] .../vim/lsp/rpc.lua:284	"rpc.send"	{  id = 13,  jsonrpc = "2.0",  method = "textDocument/documentHighlight",  params = {    position = {      character = 2,      line = 12    },    textDocument = {      uri = "file:///mnt/data/Projects/bluemeow/website/src/pages/events/%5bid%5d.astro"    }  }}
[DEBUG][2024-02-29 19:47:40] .../vim/lsp/rpc.lua:387	"rpc.receive"	{  id = 12,  jsonrpc = "2.0"}
[DEBUG][2024-02-29 19:47:40] .../vim/lsp/rpc.lua:387	"rpc.receive"	{  id = 13,  jsonrpc = "2.0",  result = { {      kind = 2,      range = {        ["end"] = {          character = 2,          line = 12        },        start = {          character = 1,          line = 12        }      }    }, {      kind = 2,      range = {        ["end"] = {          character = 6,          line = 12        },        start = {          character = 5,          line = 12        }      }    }, {      kind = 2,      range = {        ["end"] = {          character = 2,          line = 12        },        start = {          character = 1,          line = 12        }      }    }, {      kind = 2,      range = {        ["end"] = {          character = 6,          line = 12        },        start = {          character = 5,          line = 12        }      }    } }}
[DEBUG][2024-02-29 19:47:40] .../vim/lsp/rpc.lua:387	"rpc.receive"	{  jsonrpc = "2.0",  method = "textDocument/publishDiagnostics",  params = {    diagnostics = {},    uri = "file:///mnt/data/Projects/bluemeow/website/src/pages/events/%5bid%5d.astro",    version = 14  }}
[DEBUG][2024-02-29 19:47:40] .../vim/lsp/rpc.lua:387	"rpc.receive"	{  jsonrpc = "2.0",  method = "textDocument/publishDiagnostics",  params = {    diagnostics = {},    uri = "file:///mnt/data/Projects/bluemeow/website/src/pages/events/%5bid%5d.astro",    version = 14  }}
[DEBUG][2024-02-29 19:47:40] .../lua/vim/lsp.lua:1391	"LSP[astro]"	"client.request"	2	"textDocument/documentHighlight"	{  position = {    character = 2,    line = 12  },  textDocument = {    uri = "file:///mnt/data/Projects/bluemeow/website/src/pages/events/%5bid%5d.astro"  }}	<function 1>	19
[DEBUG][2024-02-29 19:47:40] .../vim/lsp/rpc.lua:284	"rpc.send"	{  id = 14,  jsonrpc = "2.0",  method = "textDocument/documentHighlight",  params = {    position = {      character = 2,      line = 12    },    textDocument = {      uri = "file:///mnt/data/Projects/bluemeow/website/src/pages/events/%5bid%5d.astro"    }  }}
[DEBUG][2024-02-29 19:47:40] .../vim/lsp/rpc.lua:387	"rpc.receive"	{  id = 14,  jsonrpc = "2.0",  result = { {      kind = 2,      range = {        ["end"] = {          character = 2,          line = 12        },        start = {          character = 1,          line = 12        }      }    }, {      kind = 2,      range = {        ["end"] = {          character = 6,          line = 12        },        start = {          character = 5,          line = 12        }      }    }, {      kind = 2,      range = {        ["end"] = {          character = 2,          line = 12        },        start = {          character = 1,          line = 12        }      }    }, {      kind = 2,      range = {        ["end"] = {          character = 6,          line = 12        },        start = {          character = 5,          line = 12        }      }    } }}
[DEBUG][2024-02-29 19:47:40] .../vim/lsp/rpc.lua:387	"rpc.receive"	{  jsonrpc = "2.0",  method = "textDocument/publishDiagnostics",  params = {    diagnostics = {},    uri = "file:///mnt/data/Projects/bluemeow/website/src/pages/events/%5bid%5d.astro"  }}
[DEBUG][2024-02-29 19:47:41] .../lua/vim/lsp.lua:1391	"LSP[astro]"	"client.request"	2	"textDocument/documentHighlight"	{  position = {    character = 2,    line = 12  },  textDocument = {    uri = "file:///mnt/data/Projects/bluemeow/website/src/pages/events/%5bid%5d.astro"  }}	<function 1>	19
[DEBUG][2024-02-29 19:47:41] .../vim/lsp/rpc.lua:284	"rpc.send"	{  id = 15,  jsonrpc = "2.0",  method = "textDocument/documentHighlight",  params = {    position = {      character = 2,      line = 12    },    textDocument = {      uri = "file:///mnt/data/Projects/bluemeow/website/src/pages/events/%5bid%5d.astro"    }  }}
[DEBUG][2024-02-29 19:47:41] .../lua/vim/lsp.lua:1391	"LSP[astro]"	"client.request"	2	"textDocument/formatting"	{  options = {    insertSpaces = true,    tabSize = 2  },  textDocument = {    uri = "file:///mnt/data/Projects/bluemeow/website/src/pages/events/%5bid%5d.astro"  }}	<function 1>	19
[DEBUG][2024-02-29 19:47:41] .../vim/lsp/rpc.lua:284	"rpc.send"	{  id = 16,  jsonrpc = "2.0",  method = "textDocument/formatting",  params = {    options = {      insertSpaces = true,      tabSize = 2    },    textDocument = {      uri = "file:///mnt/data/Projects/bluemeow/website/src/pages/events/%5bid%5d.astro"    }  }}
[DEBUG][2024-02-29 19:47:41] .../vim/lsp/rpc.lua:387	"rpc.receive"	{  id = 15,  jsonrpc = "2.0",  result = { {      kind = 2,      range = {        ["end"] = {          character = 2,          line = 12        },        start = {          character = 1,          line = 12        }      }    }, {      kind = 2,      range = {        ["end"] = {          character = 6,          line = 12        },        start = {          character = 5,          line = 12        }      }    }, {      kind = 2,      range = {        ["end"] = {          character = 2,          line = 12        },        start = {          character = 1,          line = 12        }      }    }, {      kind = 2,      range = {        ["end"] = {          character = 6,          line = 12        },        start = {          character = 5,          line = 12        }      }    } }}
[DEBUG][2024-02-29 19:47:41] .../vim/lsp/rpc.lua:387	"rpc.receive"	{  id = 7,  jsonrpc = "2.0",  method = "workspace/configuration",  params = {    items = { {        section = "volar.format.initialIndent"      } }  }}
[DEBUG][2024-02-29 19:47:41] .../vim/lsp/rpc.lua:403	"server_request: callback result"	{  result = { vim.NIL },  status = true}
[DEBUG][2024-02-29 19:47:41] .../vim/lsp/rpc.lua:284	"rpc.send"	{  id = 7,  jsonrpc = "2.0",  result = { vim.NIL }}
[DEBUG][2024-02-29 19:47:41] .../vim/lsp/rpc.lua:387	"rpc.receive"	{  id = 8,  jsonrpc = "2.0",  method = "workspace/configuration",  params = {    items = { {        scopeUri = "file:///mnt/data/Projects/bluemeow/website/src/pages/events/%5Bid%5D.astro",        section = "prettier"      } }  }}
[DEBUG][2024-02-29 19:47:41] .../vim/lsp/rpc.lua:403	"server_request: callback result"	{  result = { vim.NIL },  status = true}
[DEBUG][2024-02-29 19:47:41] .../vim/lsp/rpc.lua:284	"rpc.send"	{  id = 8,  jsonrpc = "2.0",  result = { vim.NIL }}
[DEBUG][2024-02-29 19:47:42] .../vim/lsp/rpc.lua:284	"rpc.send"	{  jsonrpc = "2.0",  method = "$/cancelRequest",  params = {    id = 16  }}
[DEBUG][2024-02-29 19:47:42] .../vim/lsp/rpc.lua:284	"rpc.send"	{  jsonrpc = "2.0",  method = "textDocument/didSave",  params = {    textDocument = {      uri = "file:///mnt/data/Projects/bluemeow/website/src/pages/events/%5bid%5d.astro"    }  }}
[DEBUG][2024-02-29 19:47:42] .../vim/lsp/rpc.lua:284	"rpc.send"	{  jsonrpc = "2.0",  method = "textDocument/didSave",  params = {    textDocument = {      uri = "file:///mnt/data/Projects/bluemeow/website/src/pages/events/%5bid%5d.astro"    }  }}
[DEBUG][2024-02-29 19:47:42] .../vim/lsp/rpc.lua:387	"rpc.receive"	{  id = 16,  jsonrpc = "2.0"}
[DEBUG][2024-02-29 19:47:45] .../lua/vim/lsp.lua:1391	"LSP[astro]"	"client.request"	2	"textDocument/documentHighlight"	{  position = {    character = 6,    line = 12  },  textDocument = {    uri = "file:///mnt/data/Projects/bluemeow/website/src/pages/events/%5bid%5d.astro"  }}	<function 1>	19
[DEBUG][2024-02-29 19:47:45] .../vim/lsp/rpc.lua:284	"rpc.send"	{  id = 17,  jsonrpc = "2.0",  method = "textDocument/documentHighlight",  params = {    position = {      character = 6,      line = 12    },    textDocument = {      uri = "file:///mnt/data/Projects/bluemeow/website/src/pages/events/%5bid%5d.astro"    }  }}
[DEBUG][2024-02-29 19:47:45] .../vim/lsp/rpc.lua:387	"rpc.receive"	{  id = 17,  jsonrpc = "2.0",  result = { {      kind = 2,      range = {        ["end"] = {          character = 2,          line = 12        },        start = {          character = 1,          line = 12        }      }    }, {      kind = 2,      range = {        ["end"] = {          character = 6,          line = 12        },        start = {          character = 5,          line = 12        }      }    }, {      kind = 2,      range = {        ["end"] = {          character = 2,          line = 12        },        start = {          character = 1,          line = 12        }      }    }, {      kind = 2,      range = {        ["end"] = {          character = 6,          line = 12        },        start = {          character = 5,          line = 12        }      }    } }}

Here is a bunch, just from multiple times of me saving

screenrecord.mp4
Here is a small video of the issue in action, this is purely for reference.

Running hyprland ?

screenrecord.mp4
Here is a small video of the issue in action, this is purely for reference.

Running hyprland ?

Off topic but yes.

unfortunately I am very new to programming in general and not good at debugging. The logs don't show anything useful  for me( as in lsp.log is blank).
What I have found so far is that when inspecting the context object that's passed into volar stuff, the snapshot that ends up getting generated is a StringScriptSnapshot on dynamic routes.
In fact, any characters that would be url enocded anywhere in the file path will break it. so /[path]/test.astro will also not have any lsp.
My guess is that somewhere a URI.parse or URI.file is being used incorrectly or there is an assumption that a path either is or isn't encoded and that's causing a bad uri.
I really appreciate all the effort so we can struggle in agony in neovim instead of using vscode lol.

I don't know if the following can help but from my observation it seems that the problem only applies to diagnostics, completion and highlighting. The server is correctly running and code action and documentSymbol work fine, the diagnostics response is always an empty array for some reason and the response from completion request never comes back.
And I doubt the problem is related to URI.

And I doubt the problem is related to URI.

It is definitely not the URI. As the URI is the exact same when I used v2.6.3.

While it might not be related to the URI shown in the logs, it might still be something related to path encoding. I investigated a little and couldn't quite find what just yet, though

[DEBUG][2024-02-29 18:53:52] .../vim/lsp/rpc.lua:387	"rpc.receive"	{  id = 58,  jsonrpc = "2.0",  result = { {      newText = "---\nimport { getEvent } from '../../utils/directusClient'\nimport EventsBody from '../../components/Events/EventsBody.astro'\nconst { id } = Astro.params\n\nif (!id) throw new Error('Missing ID parameter')\n\nconst event = await getEvent(id)\n\nexport const prerender = false\n---\n\n

\n
\n  <EventsBody content={event.event_info} />\n
\n",      range = {        ["end"] = {          character = 0,          line = 15        },        start = {          character = 0,          line = 0        }      }    } }}
[DEBUG][2024-02-29 18:53:52] .../vim/lsp/rpc.lua:284	"rpc.send"	{  jsonrpc = "2.0",  method = "textDocument/didChange",  params = {    contentChanges = { {        text = "---\nimport { getEvent } from '../../utils/directusClient'\nimport EventsBody from '../../components/Events/EventsBody.astro'\nconst { id } = Astro.params\n\nif (!id) throw new Error('Missing ID parameter')\n\nconst event = await getEvent(id)\n\nexport const prerender = false\n---\n\n

\n
\n  <EventsBody content={event.event_info} />\n
\n
\n"      } },    textDocument = {      uri = "file:///mnt/data/Projects/bluemeow/website/src/pages/events/%5bid%5d.astro",      version = 38    }  }}

I noticed that the content these 2 logs provide are different, the last one has a added div at the end, which is what I remember happened. But the first log message did not include it. I tried looking in the code, but it seems like there is some boilerplate I'd need to investigate on Volar's end.

Any update on this @stauersbol?

Any update on this @stauersbol?

Not anymore than what I gave, so you'd have to wait for @Princesseuh to have an update for you

A little update!
I think I can find a way to debug the language server. Mason does all the things to setup the actual language server. I can change the local files and see how it behaves and possibly find the place where it fails.
I did some digging on the boilerplate that volar.js uses to handle document changes textDocument/didChange, I saw they had implemented a test-util for this, but they sadly don't ever use it.

@Princesseuh again, I'll mention that I really don't know what I'm doing but I believe I have a solution.
Is the next step bringing this up in volar?
The issue seems to be with volar.
There are some places in volar where we do  a .get() on a key where the case was changed. Here you can see the encoding case has changed.

in @volar/language-server/lib/uri.js the fileNameToURI function I added a tolowercase in the return and we're now working in neovim. This was because in project/typescriptProject.js there is a context.documents.get() that was checking on a key that hadn't been lower cased yet for whatever reason.
function fileNameToUri(fileName) {
    if (fileName.startsWith('/') && fileName.includes('@@')) {
        const parts = fileName.slice(1).split('@@');
        if (parts.length !== 3) {
            throw new Error('Invalid file name');
        }
        return vscode_uri_1.URI.from({
            scheme: parts[0],
            authority: parts[1],
            path: parts[2],
        }).toString();
    }
    return vscode_uri_1.URI.file(fileName).toString().toLowerCase()

Awesome work investigating this! I have brought it up internally in Volar and we'll attempt to get a fix out. I wonder why it works in VS Code then.

of course the more I test I realize that if you add the lowercase it disables lsp in other areas. : (
At least now we know that somewhere it's the changing of case in the encoding that's messing things up. I tried to figure out where but was having a hard time. I'm actually not sure why we lowercase at all in uriMap.js

Please try the last version!

Please try the last version!

Seems like it is still causing some issues on my end after updating.
https://github.com/withastro/language-tools/assets/9026132/219c5278-dafd-4282-a892-20cd2d861c2c
Video illustrates the latest update 2.9.0.

Arf that's annoying. This update fixed a similar issue for other editors and it of course still works as it always has in VS Code, so not sure.
We'll keep investigating

Arf that's annoying. This update fixed a similar issue for other editors and it of course still works as it always has in VS Code, so not sure.
We'll keep investigating. The fact that it's on save is weird, do you have a formatting on save or anything else going on?

Yes, I do have prettier running, I can try and see if that is also causing some trouble. But it's funny that I get that function imported and then when I save it just removes it🤔

https://github.com/withastro/language-tools/assets/9026132/180667c1-6886-4089-9d46-a743475e586c
Here is an example with me restarting the LSP with LspRestart to get an updated state.

Sorry for the constant spam on this issue, but this looks like a state problem. The duplication stops as soon as I turned off the formatter. So it looks like the file state that is stored never gets updated, or whenever it sends the updated file state it refuses to update it internally(?).
Sadly I have no idea how volar works under the hood with this other than from the brief time I looked at it.

@stauersbol Can you reproduce the issue with minimal operations and share the LSP logs?

Yes I will give it a try.

https://gist.github.com/stauersbol/6db13542237c08563107b179f1f17497
Had to paste it to a gist as the logs hit the character support that github supports for comments.

@stauersbol Can you reproduce the issue with minimal operations and share the LSP logs?

Hello @johnsoncodehk, I think it has to do with the conversion or normalization of case based on what system is detected. This is why it works in VS code but not other systems, at least mine, neovim on wsl.
in URI.file from vscode-uri the encoding is upper case while in our uriMap we lowercase.
in typescriptProject.js we fail to get the uri from the weakmap which is what I believe causes the issue.
 getScriptSnapshot(fileName) {
            askedFiles.pathSet(fileName, true);
            //uri_1.fileNameToUri(fileName) outputs an upper cased encoding
            //while server.documents will all be lowercased at some point.
            //Only the encoding is lower cased.
            const doc = server.documents.get((0, uri_1.fileNameToUri)(fileName));
            if (doc) {
                return doc.getSnapshot();
            }
        },

This is within the getScriptSnapshot()

@aaronjconway Is your file system case sensitive? You can add the following log to the code to check this.
getScriptSnapshot(fileName) {
+	console.warn(ts.sys.useCaseSensitiveFileNames);
	askedFiles.pathSet(fileName, true);
	const doc = server.documents.get(fileNameToUri(fileName));
	if (doc) {
		return doc.getSnapshot();
	}
},

@aaronjconway Is your file system case sensitive? You can add the following log to the code to check this.
getScriptSnapshot(fileName) {
+	console.warn(ts.sys.useCaseSensitiveFileNames);
	askedFiles.pathSet(fileName, true);
	const doc = server.documents.get(fileNameToUri(fileName));
	if (doc) {
		return doc.getSnapshot();
	}
},

I know this was not directed at me, but all Linux distributions are case sensitive. Even if it's in WSL it still runs Linux.

@johnsoncodehk  it is case sensitive but it seems like we're only lowercasing the encoding. Everywhere I can find the uri's keep the filename case but lower the encoding case.
I can't find where we are lowering the encoding case.
in vscode-uri I just manually changed the encoding to the lower version and have full functionality.

Just released 2.10.0 of the language server with this update, let us know if that works!

Just released 2.10.0 of the language server with this update, let us know if that works!

I'll give it a try when I get home! Will update when I have tested.

Great news!
It seems to be working now!

Awesome! I'll wait for a confirmation from @aaronjconway before closing, just in case.

@stauersbol @Princesseuh @johnsoncodehk thank you guys!

@Princesseuh  @johnsoncodehk
Seems to be fully resolved for me!
Thanks guys.


Relationship restrictions

Putting some restrictions and mass moving option.. an example of the relationship restriction:

you are about deleting a status that is assigned to many tickets, please move them first to another status in order to be able to delete this status
you are about deleting an agent whom is assigned to many tickets, please assign them first to another agent in order to be able to delete this status

anything else?

Option for bulk delete of tickets in list view ( this is handy during development ) a tick box next to table row and a 'select all' link ( auto tick all boxes ) this could double for bulk transfer to another category.

Option for bulk delete of tickets in list view ( this is handy during development ) a tick box next to table row and a 'select all' link ( auto tick all boxes ) this could double for bulk transfer to another category.

That would need a filter, so you can filter specific status, category or agent related tickets in order to move or delete. We already have datatabels in v0.2.0 , so lets move this issue to v0.2.0


Add onnx-mlir option to debug small optimizations

Help to debug a new feature in the compiler and test that it does not change the outputs of a given test.
Say you have a new feature you want to test: enable it under the debugTestCompilerOpt  guard:
#include "src/Compiler/CompilerOptions.hpp"
[...]

    if (debugTestCompilerOpt) {
      // New code
      emitMinMaxReductionToScalar(rewriter, loc, op, X, XMin, XMax);
    } else {
      // Old code
      Value none = create.onnx.none();
      XMax = create.onnx.toMemref(
          create.onnx.reduceMax(yScaleMemRefType, X, none, false));
      XMin = create.onnx.toMemref(
          create.onnx.reduceMin(yScaleMemRefType, X, none, false));
    }

and compile onnx-mlir (Debug version). Then you may run a test like this:
CheckONNXModel.py -m model.mlir -r "-O3 -mcpu=z16 -maccel=NNPA" -a "-test-compiler-opt"

where the model will be first compiled and run with the options listed after the -r (r for reference compiler option) and its result will be compared to a second compiled and run test with the options listed -r and -a (a for add to the reference compiler options). Namely here, run with all the same options but enable the new compiler code guarded by debugTestCompilerOpt.
Once all of the manual tests are satisfied, remove the debugTestCompilerOpt  guard and push the code for PR review.
This option is default false and is not accessible in the RELEASE build as it should only be used for temporary testing.
Some entirely new optimizations have their own flags, but often we have small tweaks and its convenient to have this infrastructure so that we may run development tests without additional code to write for testing.

Jenkins Linux s390x Build #15263 [push] Add onnx-mlir option to ... started at 10:01

Jenkins Linux amd64 Build #15258 [push] Add onnx-mlir option to ... started at 09:01

Jenkins Linux ppc64le Build #14288 [push] Add onnx-mlir option to ... started at 10:13

Jenkins Linux amd64 Build #15258 [push] Add onnx-mlir option to ... passed after 1 hr 6 min

Jenkins Linux s390x Build #15263 [push] Add onnx-mlir option to ... passed after 1 hr 28 min

Jenkins Linux ppc64le Build #14288 [push] Add onnx-mlir option to ... passed after 2 hr 0 min


Add docker-in-docker azure_dns_override flag

Add a flag (defaulted to true) to toggle passing the Azure DNS ip address to dockerd at startup.

related to: https://github.com/microsoft/vscode-dev-containers/pull/1650


Parallelization support

Support for parallel simulation computation on a multiprocessor/multicore machine would be great. Limiting the number of cores used should be an optional parameter when running simulations, ideally defaulting to a single job, as many queuing systems have their own load balancing and discourage use of multiple cores for a single job.

parallel random sampling might be tricky but eventually there might be something in BiocParallel.

parallel processing with SLURM works like a marvel with:
ncores <- as.integer(Sys.getenv("SLURM_JOB_CPUS_PER_NODE", 7)) - 1L
register(MulticoreParam(ncores))

any subsequent call to bplapply will then by default use the parallel processing setup with the number of nodes assigned by SLURM. The main issue I see is with the random numbers - we would have to ensure that not the same random numbers are picked up in the parallel jobs. Anyway, since we're running FamAgg on multiple traits in one analysis, parallelizing by trait is at present my favorite approach.

Looks very simple, and it also looks like one has to supply the number of CPUs (cores/threads) used by a single process when submitting a job to SLURM via sbatch -c N, where N is the number of threads you want to use. This parameter then ends up in the environment variable SLURM_JOB_CPUS_PER_NODE.
Anyway, at the moment we don't see much need for this. So the issue will remain open but no plans to tackle it.


git dep preparation error - getaddrinfo ENOTFOUND artifacts.apple.com

Hi , so we use your module as a dependency and when we updated npm version, it started failing with error:
git dep preparation failed:
...
request to https://artifacts.apple.com/api/npm/npm-private/yeast/-/yeast-0.1.2.tgz failed, reason: getaddrinfo ENOTFOUND artifacts.apple.com
The issue comes from the dependency that is pointing to a very specific git commit:
"@ember/render-modifiers": "cibernox/ember-render-modifiers#e3574ed03409ef7a048d7716b8bea361ed6cd6e2",
that has a package-lock.json where all dependencies are pointing to artifacts.apple.com and that does not resolve, creating the error.
Any reason why that dependency is not pointing directly to @ember/render-modifiers but to a fork?

Yes, render-modifiers does not work with Ember 4. It is pointing to this fork on purpose and will not be changed until render-modifiers merges the PR.

I'm having this problem too. One thing I discovered is with<EMAIL_ADDRESS>it installs fine but with npm7 :
<EMAIL_ADDRESS>npm ERR! npm ERR! code ENOTFOUND
npm ERR! npm ERR! syscall getaddrinfo
npm ERR! npm ERR! errno ENOTFOUND
npm ERR! npm ERR! network request to https://artifacts.apple.com/api/npm/npm-private/yeast/-/yeast-0.1.2.tgz failed, reason: getaddrinfo ENOTFOUND artifacts.apple.com
npm ERR! npm ERR! network This is a problem related to network connectivity.
npm ERR! npm ERR! network In most cases you are behind a proxy or have bad network settings.
npm ERR! npm ERR! network
npm ERR! npm ERR! network If you are behind a proxy, please make sure that the
npm ERR! npm ERR! network 'proxy' config is set properly.  See: 'npm help config'

@rwwagner90 please make a pull of that intended commit on render-modifiers, look at the package-lock.json that it brings, try to do a npm install with npm >7.
As it will try do adjust the package-lock (git dep preparation stage) to a new version , it will fail to do so because the package lock repository information is a internal apple address.


Getting segmentation fault even after updating chroot

name: trusty
encrypted: no
Entering /mnt/stateful_partition/crouton/chroots/trusty...
Segmentation fault (core dumped)

Please describe your issue:
I've had Ubuntu 14.04 (Trusty) with XFCE4 environment up and running for a while on my Chromebook. I was switching between the two environments and when I tried to switch back to XFCE from ChromeOS, it didn't do anything, so I ended up powering down my computer and after I booted up again, I got the segmentation fault error when trying to do sudo startxfce4. I've already tried updating the chroot and got the same error. Any help would be greatly appreciated.
If known, describe the steps to reproduce the issue:
Switching between environments, then once trying to go back doesn't work, restarting computer.

What command are you using to start the chroot?

@drinkcat I'm using sudo startxfce4

Did you try updating your chroot?
Can you provide all the command output?

chronos@localhost / $ sudo sh ~/Downloads/crouton -n trusty -u
/usr/local/chroots/trusty already exists; updating it...
Preparing chroot environment...
Installing brightness into the chroot...
Installing croutonpowerd into the chroot...
Installing croutonversion into the chroot...
Installing host-dbus into the chroot...
Installing host-wayland into the chroot...
Installing volume into the chroot...
Installing pulseaudio-default.pa into the chroot...
Installing croutoncycle into the chroot...
Installing croutontriggerd into the chroot...
Installing croutonxinitrc-wrapper into the chroot...
Installing setres into the chroot...
Installing xinit into the chroot...
Installing xbindkeysrc.scm into the chroot...
Installing xorg-intel-sna.conf into the chroot...
Installing xserverrc into the chroot...
Installing xserverrc-xorg into the chroot...
Installing xserverrc-local.example into the chroot...
Installing startxfce4 into the host...
Installing crouton-noroot into the chroot...
Installing startxfce4 into the chroot...
Installing enter-chroot into the host...
Installing delete-chroot into the host...
Installing edit-chroot into the host...
Installing mount-chroot into the host...
Installing unmount-chroot into the host...
Installing crash_reporter_wrapper into the host...
Segmentation fault (core dumped)
WARNING: starting chroot system dbus daemon failed with code 139
Segmentation fault (core dumped)
Unmounting /mnt/stateful_partition/crouton/chroots/trusty...

Can you run:
sudo sh -x ~/Downloads/crouton -n trusty -u | tee ~/Downloads/log.txt
and attach log.txt here?

Each time I run that, it gives me a blank log.txt file.

sorry... sudo sh -x ~/Downloads/crouton -n trusty -u 2>&1 | tee ~/Downloads/log.txt

log.txt

I ended up grabbing all my personal files from the chroot directories and putting them on a backup drive and reinstalled. Thanks for your help, though @drinkcat !

Yeah, probably easiest that way ,-)


Error when attempting to approve a ready-to-approve kata in beta

I attempted to approve a kata that is currently ready for approval. After setting the ranking and hitting republish, there appears an error stating that re-ranking can only be done by an admin and that the kata can no longer be edited. Screenshot below:

This only happens to this kata because of shenanigans related to #1086. So at least now we know that that issue can have actual effects to site function ;-)

It was actually this kata that I attempted to approve.

This can't be approved as well.

Probably a side bug from #1471 caused by changes are being done at the meantime as a counter-measure to the site choking yesterday.

that, or jhoffner putting a limitation forbidding to rerank old katas but with a bug that forbid any approval at all??? I'd rather believe that this is the case.


widget has to be set up at each reboot

Widget = the one which gives a launcher for all mail accounts.
Expected behavior
Should remain in a working state through boot and reboot
Actual behavior
Have to set it all up each time phone is rebooted.
Steps to reproduce

Install widget on your phone screen
Set it up, play with it fine, then shut down your phone.
On reboot, widget's icon has changed and no longer works.

Environment
K-9 Mail version: 5.206
Android version: 6
Account type (IMAP, POP3, WebDAV/Exchange):
Pop3

Sounds like a problem with your phone rather than K-9 Mail.

...because ???
It's the account widget, icon is white letter shaped.
Issue still there.


file size vs. disk usage

Is gdu to get the sum of the file sizes or about the sum of the disk usage?

Gdu now only counts apparent size of files.
Maybe later support for exact disk usage will be added but it's not on roadmap now.

Gdu now only counts apparent size of files.
Maybe later support for exact disk usage will be added but it's not on roadmap now.

Maybe later support for exact disk usage will be added but it's not on roadmap now.

I'd suggest keeping this issue open with a label like "low priority" or something like that. I was about to request this just now.
Let me add a reason for this: we usually use xxdu when we want to free the disk. In this case, the disk usage is more useful.

Maybe later support for exact disk usage will be added but it's not on roadmap now.

I'd suggest keeping this issue open with a label like "low priority" or something like that. I was about to request this just now.
Let me add a reason for this: we usually use xxdu when we want to free the disk. In this case, the disk usage is more useful.

Ok, good point. Thanks!

Ok, good point. Thanks!


not triggering "cacheBlock" on API Caching

this is what i used code in my scenario.
let cache = try Cache<NSString>(name: "awesomeCache") -> used as static
and i used below code for request to my api
cache.setObject(forKey: "name", cacheBlock: { success, failure in
       // Perform tasks, e.g. call an API
self.user.autoComplete(self.url, params: string.encodedString(), headers: self.completeType == `    AutoCompleteType.LOCATION ? false:true) { (sent, json) in
             success(json.stringValue, .Seconds(300))
}}

}, completion: { object, isLoadedFromCache, error in
    if object {
        print(object) // object is now cached
    }
})

but its complete completion before trigger cacheBlock. Any one have idea whats going on this ?

Completion is also called if there is already a previously cached object. Are you sure there is no object called "name" in the cache already?

yeh im pretty sure. that's why i cant figure out any thing. :( can you give me full sample code for this thing. then i can find out is there something missing on my side.


problem with eos-py isntallation

I ran:  pip3 install eos-py
error:
static auto call(Args &&...args) -> decltype(visit(std::forward(args)...)) {
^
python/CMakeFiles/python-bindings.dir/build.make:62: recipe for target 'python/CMakeFiles/python-bindings.dir/generate-python-bindings.cpp.o' failed
make[2]: *** [python/CMakeFiles/python-bindings.dir/generate-python-bindings.cpp.o] Error 1
CMakeFiles/Makefile2:140: recipe for target 'python/CMakeFiles/python-bindings.dir/all' failed
make[1]: *** [python/CMakeFiles/python-bindings.dir/all] Error 2
Makefile:151: recipe for target 'all' failed
make: *** [all] Error 2
Traceback (most recent call last):
File "", line 1, in
File "/tmp/pip-build-nmd__g4p/eos-py/setup.py", line 79, in
zip_safe=False,
File "/usr/lib/python3.5/distutils/core.py", line 148, in setup
dist.run_commands()
File "/usr/lib/python3.5/distutils/dist.py", line 955, in run_commands
self.run_command(cmd)
File "/usr/lib/python3.5/distutils/dist.py", line 974, in run_command
cmd_obj.run()
File "/usr/lib/python3/dist-packages/setuptools/command/install.py", line 61, in run
return orig.install.run(self)
File "/usr/lib/python3.5/distutils/command/install.py", line 583, in run
self.run_command('build')
File "/usr/lib/python3.5/distutils/cmd.py", line 313, in run_command
self.distribution.run_command(command)
File "/usr/lib/python3.5/distutils/dist.py", line 974, in run_command
cmd_obj.run()
File "/usr/lib/python3.5/distutils/command/build.py", line 135, in run
self.run_command(cmd_name)
File "/usr/lib/python3.5/distutils/cmd.py", line 313, in run_command
self.distribution.run_command(command)
File "/usr/lib/python3.5/distutils/dist.py", line 974, in run_command
cmd_obj.run()
File "/tmp/pip-build-nmd__g4p/eos-py/setup.py", line 33, in run
self.build_extension(ext)
File "/tmp/pip-build-nmd__g4p/eos-py/setup.py", line 60, in build_extension
subprocess.check_call(['cmake', '--build', '.'] + build_args, cwd=self.build_temp)
File "/usr/lib/python3.5/subprocess.py", line 581, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['cmake', '--build', '.', '--config', 'Release', '--', '-j2']' returned non-zero exit status 2
----------------------------------------

Command "/usr/bin/python3 -u -c "import setuptools, tokenize;file='/tmp/pip-build-nmd__g4p/eos-py/setup.py';exec(compile(getattr(tokenize, 'open', open)(file).read().replace('\r\n', '\n'), file, 'exec'))" install --record /tmp/pip-kjfzy61n-record/install-record.txt --single-version-externally-managed --compile" failed with error code 1 in /tmp/pip-build-nmd__g4p/eos-py/

Sorry. I didn't have gcc-7. Problem solved.

Cool, that's what I thought, glad you figured it out :-)


Unity-Cardboard tutorial errors

Step 4
Add cardboard mode to the main menu scene
Sometimes the Component > Cardboard menu is not present. Saving, closing Unity and reopening fixes it.
Step 5
Handle VR pointing and clicking
must check the "Vr Mode Only" checkbox (or the menu buttons flicker and are not selectable)
Associate the click event with the script
In the scene hierarchy, select the buttonCardboard object(under Canvas/Panel) ."
should refer to cardboardButton
Step 7
Need to add CardboardModeMgr script to Canvas so it starts in the right mode (and set the Main Camera on it). Otherwise it always starts in VR mode regardless of the PlayerPrefs.

Also Step 3, the numbered lists should be one number for the subject the others regular bullet items not numbered

Thanks for the feedback!


[SP] Add an AR sample for SP

@DonnaWuDongxia as we discussed, we'll remove SP, DEP and Face from old UI sample. Are you willing to keep the AR sample on old or migrate into Polymer?


Console message "Failed to compute"/TypeError

On edge (0.8.0), getting this message in the console for the fiddle below:
Ractive.js: Failed to compute @current.akey.1.astring.slice(0,4): _0 is undefined
TypeError: _0 is undefined

Fiddle:
http://jsfiddle.net/wax27gr9/
(Edit: I had a different fiddle attached initially but i trimmed it down a little)

output of the above fiddle is same in 0.7.3 and 0.8.0 except 0.8.0 throws an error showing something wrong in data.
theitems = [
{akey: [{astring: '21489182'}]},
{akey: []},
]
Here, astring is blank for the theitems[1] , hence slice is failing for the index 1.
Error thrown here looks like valid and useful to trace the root cause.
I think this may be not a bug but better error handing approach.

I believe the {{#.akey}} section shouldn't be entered for an empty list. (Same error when using a more explicit each.)

This looks like another manifestation of #2069. Will be fixed if we merge #2124 – have tested it locally and that console warning doesn't appear


small fixes to things

Accidentally grouped some stuff:

I added parcel packages in the package.json so I could use link-monorepos-badly to link parcel (which worked) but THAT meant all bolt installs failed. Removed that.
I badpokerface solved some of our style problems by adding in the atlaskit css reset.
The css prop from emotion is not loading styles, and trying to load styles using emotion 10s babel preset blows up the entire website. Probably not going to solve these tonight, but that's where styles currently are at.

Obsoleted by #192


Serious CPU usage with large UNPUBLISHED collections

Cross posted on: http://stackoverflow.com/questions/34844705/why-is-meteor-using-so-much-bandwidth-is-it-houston-admin-subscriptions
With Houston installed there is a strange scaling issue with Meteor. UNPUBLISHED collections seem to be affecting server usage. Houston seems to publish subscriptions even when the should be hidden to the meteor app.
REPRODUCE:
Here is the reproducible code: https://github.com/keyscores/houston_admin_performance_issue
SCENARIO A:
I started with a prototype app, which was aggregating/reducing 5 docs in 'db.originalData', into 1 doc in 'db.reducedResult'. The only collection published is the tiny 'reducedResult'.
All this looks very efficient:

1% CPU usage
20mb ram allocated

SCENARIO B:
However, when I test real data with 15,000 records in originalData, not  published:

100% CPU is used
100% ram is used (1GB)
Memory swapping to Disk
100% Bandwidth is used 10mb/S

This is strange because only the small collection * 1 record *  is published. The large collection, originalCollection, is unpublished.

Infrastructure:
The mongo server is on a separate server (compose.io) than the Meteor front end (Digital Ocean via MUP)

@AlexeyMK @gterrono Hi Guys, just want to surface this issue to you. For now I've had to uninstall Houston from a production application which was generating this issue. I'm not familiar enough with the code to see where subscriptions are being created.

Also had to remove Houston for same reason. Was spiking CPU and bringing down app.


ALL: Change token to SILK

avoids name collisions
invite only access to bot

web of trust

ancient silk road trade paths

value flows between platforms (cities)

I have no opinion on this, but if we do it we will need to update:

bot
docs
whitepaper

For the blockchain part, we will need to redeploy all contracts essentially.

website updated https://github.com/webaverse/webaverse.com/compare/3ef968ae9606...eec0eed59e07

website updated https://github.com/webaverse/webaverse.com/compare/3ef968ae9606...eec0eed59e07
discord channel updated
docs updated https://github.com/webaverse/docs/commit/104720086560150b79b29d77e1cafaf1f73d3f9e
whitepaper updated https://github.com/webaverse/whitepaper/commit/43eda3583125a5fe747b12e3d25dfe4defaad3ab
bot updated https://github.com/webaverse/ethereum-bot/commit/38f28e3a94c4f72ba7818e2e896787450d6f99a3
last is the contract redeploy, closing this one, and we can track that at #854