Commit Graph

16 Commits

Author SHA1 Message Date
Luke Parker cd2e2d6292 fix(test): harden preload cleanup against Windows EBUSY (#14895) 2026-02-24 21:59:14 +10:00
Luke Parker 7122c38d71 fix(win32): add git flags for snapshot operations and fix tests for cross-platform (#14890) 2026-02-24 21:14:16 +10:00
opencode-agent[bot] 90f1ec7aa1 chore: generate 2026-02-14 04:19:48 +00:00
Dax 3010323ee0 sqlite again (#10597)
Co-authored-by: Github Action <action@github.com>
Co-authored-by: opencode-agent[bot] <opencode-agent[bot]@users.noreply.github.com>
Co-authored-by: Brendan Allan <git@brendonovich.dev>
2026-02-14 04:19:02 +00:00
Dax Raad e50d530613 tui: allow specifying custom models file path via OPENCODE_MODELS_PATH
Users can now configure their own models configuration file by setting the OPENCODE_MODELS_PATH environment variable, providing more flexibility for testing and configuration.
2026-01-31 01:53:23 -05:00
Mikhail Levchenko caac41a423 feat(config): add managed settings support for enterprise deployments (#6441)
Co-authored-by: Dax <mail@thdxr.com>
2026-01-29 22:56:25 +00:00
Dax Raad e47a14fd43 get rid of models.dev macro 2026-01-24 12:27:13 -05:00
Bart Broere bddd609991 feat: Make the models.dev domain configurable for offline environments (#9258) 2026-01-21 11:23:07 -06:00
Grégoire Morpain a3b25cf6f0 feat(bedrock): config options and authentication precedence (#6377) 2026-01-05 12:51:43 -06:00
Aiden Cline 8ed7323176 tweak: read global claude skills too (#6420) 2025-12-29 23:48:58 -06:00
Aiden Cline c9da50308a test: fixture cleanup 2025-12-19 17:00:23 -06:00
Dax Raad 712c8e9c40 ci: fix test failures in CI by pre-populating models cache
Tests were failing in CI because the models.json cache file doesn't exist
and the data() macro fallback only works at build time, not runtime.
The preload now pre-fetches models.json and disables the background
refresh to prevent race conditions during test execution.
2025-12-14 21:23:45 -05:00
Dax Raad 836f02a1b3 ci 2025-12-09 19:46:59 -05:00
Dax Raad a2a3bd31e9 ci 2025-12-09 19:46:38 -05:00
Dax Raad 5c0dccdc6c core: add provider test coverage for upcoming refactor
Add comprehensive test suite for Provider module to ensure safe
refactoring of provider internals. Tests cover:
- Provider loading from env vars and config
- Provider filtering (disabled_providers, enabled_providers)
- Model whitelist/blacklist
- Model aliasing and custom providers
- getModel, getProvider, closest, defaultModel functions

Also adds Env module for instance-scoped environment variable access,
enabling isolated test environments without global state pollution.
2025-12-03 18:30:42 -05:00
Dax Raad 4855f3133d wip: bun test improvements 2025-09-27 02:17:08 -04:00