Local fork of continuedev/continue for auto-approve and full-access mode experiments
Find a file
Nate Sesti 18acf6fc26
test(cli): isolate GlobalContext to fix flaky model-persistence tests (#12639)
* test(cli): isolate GlobalContext to fix flaky model-persistence tests

The model-persistence test files set process.env.CONTINUE_GLOBAL_DIR in
beforeEach to isolate their GlobalContext store, but core/util/paths.ts
resolves CONTINUE_GLOBAL_DIR into a module-level constant at import time,
so those per-test reassignments had no effect. As a result every test file
(across parallel Vitest worker processes) read/wrote the same
globalContext.json on disk, racing each other and intermittently failing
"should clear model selection when set to null".

Add a dedicated first setup file (vitest.global-dir-setup.ts) that creates
a unique temp dir via fs.mkdtemp and sets CONTINUE_GLOBAL_DIR before any
module imports paths.ts, giving each worker process its own isolated
GlobalContext. Wire it in as the first entry in setupFiles and stop
hardcoding the shared /tmp/continue-test dir in vitest.setup.ts.

Co-authored-by: Cursor <cursoragent@cursor.com>

* style(cli): remove blank line in array to fix prettier-check

Pre-existing prettier-check failure on main: a blank line inside the
`screens` array literal in NavigationContext.test.tsx is removed by the
Prettier version CI runs. Drop the blank line so the file is formatted.

Co-authored-by: Cursor <cursoragent@cursor.com>

* chore: retrigger CI

Co-authored-by: Cursor <cursoragent@cursor.com>

---------

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-15 13:32:58 -07:00
.claude/skills/docs-style docs: add docs-style skill and TUI mode sample page 2026-02-13 09:25:35 -08:00
.continue feat: strip more hub config 2026-03-23 17:32:28 -07:00
.github Revise bug report template checkboxes 2026-06-15 12:19:32 -07:00
.husky feat: .continue/environment.json (#7983) 2025-09-25 16:30:56 -07:00
.idea feat: strip more hub config 2026-03-23 17:32:28 -07:00
.vscode Merge upstream continuedev/continue main (47 commits) 2026-03-26 14:58:21 -07:00
actions Replace community Discord links with GitHub Discussions 2026-01-30 17:19:56 -08:00
binary Merge upstream continuedev/continue main into continue-fork 2026-06-06 16:33:24 -07:00
core Final release cleanup: remove CLI banner & Generate Rule, explicit onboarding/config models, deprecation link (#12634) 2026-06-15 09:09:30 -07:00
docs docs: remove Checks section and Hub references 2026-06-06 16:45:24 -07:00
docs-site docs: fix GitHub Pages subpath base path for docs site (#12638) 2026-06-15 12:54:57 -07:00
eval Preview (#1750) 2024-07-28 23:16:18 -07:00
extensions test(cli): isolate GlobalContext to fix flaky model-persistence tests (#12639) 2026-06-15 13:32:58 -07:00
gui Final release cleanup: remove CLI banner & Generate Rule, explicit onboarding/config models, deprecation link (#12634) 2026-06-15 09:09:30 -07:00
manual-testing-sandbox chore(deps): bump django from 4.2.22 to 4.2.27 in /manual-testing-sandbox (#8992) 2025-12-03 09:49:19 -08:00
media Update banner image with better proportions 2026-02-17 17:10:21 -08:00
packages Merge upstream continuedev/continue main into continue-fork 2026-06-06 16:33:24 -07:00
scripts Add script to analyze file hotspots from git history (#8591) 2025-11-04 11:55:36 -08:00
skills Fix defunct hub.continue.dev URLs to point to continue.dev 2026-02-02 01:56:19 -08:00
sync merkel 2024-10-23 10:29:15 +02:00
.continueignore ignore .continue folder 2025-03-08 16:18:51 -08:00
.eslintrc.shared.json add no misused promises rule 2025-06-13 22:09:32 +05:30
.gitignore feat: add docs site as static Next.js export 2026-03-20 13:52:25 -07:00
.node-version Update Node.js LTS to v20.20.1 (#11506) 2026-03-24 11:36:07 -07:00
.nvmrc Update Node.js LTS to v20.20.1 (#11506) 2026-03-24 11:36:07 -07:00
.prettierignore feat: husky for prettier (#7979) 2025-09-25 16:13:08 -07:00
.prettierrc remove border above input box 2024-11-05 08:18:31 -08:00
BUILD_DEPENDENCIES.md style: fix remaining prettier formatting issues 2026-03-20 14:05:33 -07:00
CLA.md fix: Return the CLA (#6585) 2025-07-16 02:01:42 -07:00
CODE_OF_CONDUCT.md npx prettier --check "**/*.{js,jsx,ts,tsx,json,css,md}" --ignore-path . 2025-05-25 18:41:32 -07:00
CONTRIBUTING.md Update Node.js LTS to v20.20.1 (#11506) 2026-03-24 11:36:07 -07:00
docs-search-dark-mode-fix.png fix dark mode cmd + k 2026-03-24 14:40:50 -07:00
LICENSE Create LICENSE 2023-06-03 09:29:19 +02:00
package-lock.json update depreciation banner 2026-03-26 15:42:33 -07:00
package.json add support for deepseek 2026-02-26 12:29:50 +05:30
README.md fix(ci): sync vscode lockfile, fix core type error, run prettier 2026-06-06 18:04:28 -07:00
SECURITY.md Create SECURITY.md 2025-02-01 01:01:08 -08:00
TESTING.md chore: add testing checklist and rebuild core binary 2026-03-24 11:33:45 -07:00
tsconfig.json .continuerules 2024-12-15 09:30:56 -08:00
worktree-config.yaml Add worktree copy configuration and ignore copy status files 2025-12-10 20:01:59 -08:00

Continue

Pioneering open-source coding agent

Banner

What is Continue?

Note: The continuedev/continue repository is no longer actively maintained and is read-only for all users.

Continue is a coding agent available as a CLI, VS Code extension, and JetBrains plugin.

Documentation

To learn how to configure Continue, how it works, and how to customize it, check out the Continue Docs.

Final 2.0.0 Release

We polished Continue and did a final 2.0.0 release of the VS Code extension, CLI, and JetBrains plugin.

This included removing anonymous telemetry, pulling out authentication, squashing bugs, and more.

VS Code

VS Code Marketplace OpenVSX Registry View source

CLI

npm View source

JetBrains

Note: We recommend using the Continue CLI instead of the JetBrains plugin.

GitHub Releases View source

Contributors

Thank you to the entire Continue community for helping us create a pioneering coding agent.

What we built together pushed the boundaries of what AI developer tooling could be.

We hope this codebase continues to serve as a foundation for others.

Code friends

License

Apache 2.0 © 2023-2026 Continue Dev, Inc.