🔖 retry publish to openvsx after failure

This commit is contained in:
Nate Sesti 2023-11-07 12:36:04 -08:00
parent 0d8e5b6939
commit e209b8258b
4 changed files with 17 additions and 14 deletions

View file

@ -1,12 +1,12 @@
{
"name": "continue",
"version": "0.3.12",
"version": "0.3.13",
"lockfileVersion": 2,
"requires": true,
"packages": {
"": {
"name": "continue",
"version": "0.3.12",
"version": "0.3.13",
"license": "Apache-2.0",
"dependencies": {
"@electron/rebuild": "^3.2.10",

View file

@ -1,7 +1,7 @@
{
"name": "continue",
"icon": "media/icon.png",
"version": "0.3.12",
"version": "0.3.13",
"repository": {
"type": "git",
"url": "https://github.com/continuedev/continue"

View file

@ -228,6 +228,7 @@ class ContextManager:
context_providers: List[ContextProvider],
ide: AbstractIdeProtocolServer,
only_reloading: bool = False,
disable_indexing: bool = False,
):
"""
Starts the context manager.
@ -275,7 +276,9 @@ class ContextManager:
providers_to_load = (
new_context_providers if only_reloading else context_providers
)
create_async_task(load_index(providers_to_load), on_err)
if not disable_indexing:
create_async_task(load_index(providers_to_load), on_err)
@staticmethod
async def update_documents(context_items: List[ContextItem], workspace_dir: str):

View file

@ -123,16 +123,16 @@ class Window:
dev_data_logger.setup(self.config.user_token, self.config.data_server_url)
# Load documents into the search index
if not self.config.disable_indexing:
await self.context_manager.start(
self.config.context_providers
+ [
HighlightedCodeContextProvider(ide=self.ide),
FileContextProvider(workspace_dir=self.ide.workspace_directory),
],
self.ide,
only_reloading=only_reloading,
)
await self.context_manager.start(
self.config.context_providers
+ [
HighlightedCodeContextProvider(ide=self.ide),
FileContextProvider(workspace_dir=self.ide.workspace_directory),
],
self.ide,
only_reloading=only_reloading,
disable_indexing=self.config.disable_indexing,
)
async def onFileSavedCallback(filepath: str, contents: str):
if filepath.endswith(".continue/config.py") or filepath.endswith(