18 Commits

Author SHA1 Message Date
Adam
7a071eff5c
chore: fix test 2026-03-06 15:27:49 -06:00
Dax
3ebba02d04
refactor: replace Bun.sleep with node timers (#15013) 2026-03-05 21:54:06 -05:00
Luke Parker
a292eddeb5
fix(test): harden preload cleanup against Windows EBUSY (#14895) 2026-02-24 21:59:14 +10:00
Luke Parker
13cabae29f
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]
afb04ed5d4 chore: generate 2026-02-14 04:19:48 +00:00
Dax
6d95f0d14c
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
6ecd011e51 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
b5ffa997da
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
e3c1861a3e get rid of models.dev macro 2026-01-24 12:27:13 -05:00
Bart Broere
8df09abb1b
feat: Make the models.dev domain configurable for offline environments (#9258) 2026-01-21 11:23:07 -06:00
Grégoire Morpain
e3b4d4ad49
feat(bedrock): config options and authentication precedence (#6377) 2026-01-05 12:51:43 -06:00
Aiden Cline
abc7eed92b
tweak: read global claude skills too (#6420) 2025-12-29 23:48:58 -06:00
Aiden Cline
dae0168ed8 test: fixture cleanup 2025-12-19 17:00:23 -06:00
Dax Raad
e22af25076 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
63d9656ad8 ci 2025-12-09 19:46:59 -05:00
Dax Raad
3512d02e9e ci 2025-12-09 19:46:38 -05:00
Dax Raad
ee4437ff32 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
53481f9790 wip: bun test improvements 2025-09-27 02:17:08 -04:00