Peter Steinberger
a5eb8e08ad
test: reroute telegram fetch network policy suite
8 months ago
Peter Steinberger
182bec5091
test: run boundary inventory suites without global setup
8 months ago
Peter Steinberger
55e43cbc7f
test: isolate bundled plugin coverage from unit
8 months ago
Vincent Koc
ddb7e4cc34
perf(test): add gh run ingestion for memory hotspots ( #60187 )
...
* perf(test): add gh run ingestion for memory hotspots
* perf(test): harden gh run hotspot ingestion
8 months ago
Vincent Koc
f5c3b409ea
Config: separate core/plugin baseline entries ( #60162 )
...
* Config: separate core/plugin baseline entries
* Config: split config baseline by kind
* Config: split generated baselines by kind
* chore(build): skip generated baseline shards in local tooling
* chore(build): forbid generated docs in npm pack
8 months ago
Vincent Koc
cb7f74b5eb
perf(test): refresh extension memory hotspots from gh logs ( #60159 )
8 months ago
Vincent Koc
98137f7f80
perf(test): isolate memory-heavy extension hotspots ( #59879 )
...
* perf(test): isolate memory-heavy extension hotspots
* fix(test): pin extension memory hotspot threshold
8 months ago
Vincent Koc
47f5d72931
chore(checks): serialize local heavy gates
8 months ago
Gustavo Madeira Santana
a204f790ce
fix(matrix): package verification bootstrap runtime ( #59249 )
...
Merged via squash.
Prepared head SHA: df5891b663165d806d99b062d164d037f944bc0b
Co-authored-by: gumadeiras <5599352+gumadeiras@users.noreply.github.com>
Co-authored-by: gumadeiras <5599352+gumadeiras@users.noreply.github.com>
Reviewed-by: @gumadeiras
8 months ago
Josh Lehman
1c83e2eec7
fix: scope session create aliases to requested agent ( #58207 )
...
Merged via squash.
Prepared head SHA: 9462848777859685a8d0c3495538fc4c17b53b17
Co-authored-by: jalehman <550978+jalehman@users.noreply.github.com>
Co-authored-by: jalehman <550978+jalehman@users.noreply.github.com>
Reviewed-by: @jalehman
8 months ago
Gustavo Madeira Santana
2dab0c518a
fix(regression): ship diffs viewer runtime asset
8 months ago
Vincent Koc
7a7549f12f
perf(test): reduce hotspot reload churn ( #59033 )
8 months ago
Peter Steinberger
fc745db76d
ci: remove bun workflow
8 months ago
Peter Steinberger
95182d51cc
fix: harden bundled plugin runtime deps
8 months ago
Peter Steinberger
31ed09bc96
fix: run bundled deps postinstall for global npm
8 months ago
Ayaan Zaidi
5a95d65f1e
fix: restore bundled runtime dependency provisioning ( #58782 ) (thanks @obviyus)
...
* fix: restore bundled runtime dependency provisioning
* fix: ship npm runner in packed installs
* fix: address bundled runtime staging review feedback
* fix: include npm runner in docker build contexts
* fix: restore bundled runtime dependency provisioning (#58782 ) (thanks @obviyus)
* fix: allow caret specs through windows npm cmd (#58782 ) (thanks @obviyus)
8 months ago
Peter Steinberger
e441e8bb17
test: stabilize timed-heavy channel planner checks
8 months ago
Peter Steinberger
0abd143d37
test: fix CI flakes and registry test API
8 months ago
Vincent Koc
6d59ce366e
test(ci): rebalance matrix extension timings
8 months ago
Peter Steinberger
28673a9388
fix: restore bundled plugin runtime deps after global install
8 months ago
Peter Steinberger
8807b017d1
test: harden channel planner lane matching
8 months ago
Peter Steinberger
5fc8f6ca8f
test: align targeted channel batching expectation
8 months ago
Vincent Koc
29b9310319
fix(scripts): normalize bundled entry paths and planner counts
8 months ago
Peter Steinberger
5a93344d82
fix: ship bundled runtime support packages
8 months ago
Vincent Koc
225dfe0094
fix(ci): stabilize planner executor fallback tests
8 months ago
Vincent Koc
cf3ae2612b
fix(ci): reduce slow channel test skew
8 months ago
Jacob Tomlinson
781775ec08
Media: secure image temp dirs ( #58270 )
8 months ago
Vincent Koc
2feb83babb
fix(ci): shard fast extension checks
8 months ago
Vincent Koc
a6046c94f7
fix(ci): speed up fast extension scheduling
8 months ago
Ayaan Zaidi
3059eadca2
test: fix provider runtime mocks and test planner load shedding
8 months ago
Peter Steinberger
2cb15255a7
test: fix ci regressions
8 months ago
Shakker
afe4a4b260
test: clean test planner typing edges
8 months ago
Shakker
d46f64199a
fix: retry bundled runtime dependency staging
8 months ago
Shakker
72cb2a88f1
test: fix planner typing assertions
8 months ago
Shakker
2ff7bb604c
test: update planner expectations for current catalog
8 months ago
Altay
9c25544e6c
test(ci): fix stale regression expectations ( #57899 )
8 months ago
Shakker
aff6883f93
fix: avoid over-sharding single include-file test batches
8 months ago
Gustavo Madeira Santana
74ea42e210
Tests: relax targeted unit planner split assertion
8 months ago
Peter Steinberger
25074de838
fix: restore lightweight root help startup
8 months ago
Peter Steinberger
9857d40923
fix(runtime): stabilize image generation auth/runtime loading
8 months ago
Peter Steinberger
4635810385
fix: stabilize unit test planner scheduling
8 months ago
Peter Steinberger
73477eee4c
fix: harden ACP plugin tools bridge ( #56867 ) (thanks @joe2643)
8 months ago
Peter Steinberger
8e0ab35b0e
refactor(plugins): decouple bundled plugin runtime loading
8 months ago
Peter Steinberger
03826b8075
fix(test): harden planner artifact cleanup and profile env fallback
8 months ago
Gustavo Madeira Santana
0b8bc0e1b4
Tests: cap CI extension batch concurrency
8 months ago
Tak Hoffman
7a878164b0
ci: align bun shard counts with windows ( #56429 )
...
* ci: align bun shard counts with windows
* ci: retrigger stuck windows shard
8 months ago
Peter Steinberger
23772bb785
test: exclude topology fixtures from vitest collection
8 months ago
Tak Hoffman
3a34e6b65d
Add reusable TypeScript topology analyzer for public surface usage
8 months ago
Peter Steinberger
5df53a99b1
fix: set localstorage file for test planner workers
8 months ago
Peter Steinberger
4757c32f63
test: silence planner fixture stderr
8 months ago
Tak Hoffman
d6fafb8af9
Add collect-all test failure planning
8 months ago
Tak Hoffman
835441233d
fix(regression): support contracts surface in test planner
8 months ago
Tak Hoffman
27decb9649
fix(regression): route contract paths through test wrapper
8 months ago
Peter Steinberger
d9d5688792
test: make extension no-test coverage dynamic
8 months ago
Peter Steinberger
1086acf3c2
fix: repair latest-main ci gate
8 months ago
Tak Hoffman
4c8ed2ce46
test(planner): force real timers in executor fallback
8 months ago
Tak Hoffman
45535ff433
dev: speed up local check loop
8 months ago
Peter Steinberger
ac2c2ac954
fix: stop test-parallel from waiting forever on child close
8 months ago
Peter Steinberger
a30dae3c71
fix: honor test planner cache paths by target platform
8 months ago
Tak Hoffman
6f92148da9
fix(test-planner): shrink local extension batches on constrained hosts
8 months ago
Tak Hoffman
04d01984ef
fix(build): make bundled runtime-deps staging incremental
8 months ago
Peter Steinberger
10527ff8a3
build: refresh deps and vitest cache lanes
8 months ago
Peter Steinberger
2f43c6b334
refactor: split discord monitor startup and lifecycle
8 months ago
Peter Steinberger
4726593d6d
test: refresh planner batching expectations
8 months ago
Peter Steinberger
22348914cf
refactor: centralize discord gateway ownership
8 months ago
Peter Steinberger
8eeccb116d
test(planner): refresh extension batch expectations
8 months ago
Peter Steinberger
5f2876911a
fix: harden discord gateway cleanup ( #55373 ) (thanks @Takhoffman)
8 months ago
Peter Steinberger
556ce5cdda
test(browser): fix CI after compat re-exports
8 months ago
Peter Steinberger
9dea807b28
test: share planner and sandbox test helpers
8 months ago
Peter Steinberger
8b42ad08e5
perf: speed up shared extension test batches
8 months ago
Peter Steinberger
663ba5a3cd
perf: speed up test parallelism
8 months ago
Tak Hoffman
c48a3e4fc9
ci: optimize windows test shard fanout ( #55261 )
...
* ci: reduce windows test shard fanout
* ci: tighten windows shard target
* ci: back off windows shard target
* ci: restore windows shard cap
8 months ago
Tak Hoffman
e403899cc1
test: fix portable stderr capture and env leakage ( #55184 )
8 months ago
Tak Hoffman
5b68e52894
ci: collapse preflight manifest routing ( #54773 )
...
* ci: collapse preflight manifest routing
* ci: fix preflight workflow outputs
* ci: restore compat workflow tasks
* ci: match macos shards to windows
* ci: collapse macos swift jobs
* ci: skip empty submodule setup
* ci: drop submodule setup from node env
8 months ago
Tak Hoffman
ab37d8810d
test: introduce planner-backed test runner, stabilize local builds ( #54650 )
...
* test: stabilize ci and local vitest workers
* test: introduce planner-backed test runner
* test: address planner review follow-ups
* test: derive planner budgets from host capabilities
* test: restore planner filter helper import
* test: align planner explain output with execution
* test: keep low profile as serial alias
* test: restrict explicit planner file targets
* test: clean planner exits and pnpm launch
* test: tighten wrapper flag validation
* ci: gate heavy fanout on check
* test: key shard assignments by unit identity
* ci(bun): shard vitest lanes further
* test: restore ci overlap and stabilize planner tests
* test: relax planner output worker assertions
* test: reset plugin runtime state in optional tools suite
* ci: split macos node and swift jobs
* test: honor no-isolate top-level concurrency budgets
* ci: fix macos swift format lint
* test: cap max-profile top-level concurrency
* ci: shard macos node checks
* ci: use four macos node shards
* test: normalize explain targets before classification
8 months ago
Tak Hoffman
f63c4b0856
test: keep vitest on forks only
8 months ago
Vincent Koc
e1d16ba42e
test(parallel): force unit-fast batch planning
8 months ago
Peter Steinberger
6f6468027a
refactor: dedupe test and runtime seams
8 months ago
Vincent Koc
87919dec2c
fix(test): stabilize npm runner path assertion
8 months ago
Vincent Koc
e4ce1d9a0e
fix(runtime): stabilize dist runtime artifacts ( #53855 )
...
* fix(build): stabilize lazy runtime entry paths
* fix(runtime): harden bundled plugin npm staging
* docs(changelog): note runtime artifact fixes
* fix(runtime): stop trusting npm_execpath
* fix(runtime): harden Windows npm staging
* fix(runtime): add safe Windows npm fallback
8 months ago
David Guttman
aa91000a5d
feat(discord): add autoThreadName 'generated' strategy ( #43366 )
...
* feat(discord): add autoThreadName 'generated' strategy
Adds async thread title generation for auto-created threads:
- autoThread: boolean - enables/disables auto-threading
- autoThreadName: 'message' | 'generated' - naming strategy
- 'generated' uses LLM to create concise 3-6 word titles
- Includes channel name/description context for better titles
- 10s timeout with graceful fallback
* Discord: support non-key auth for generated thread titles
* Discord: skip fallback auto-thread rename
* Discord: normalize generated thread title first content line
* Discord: split thread title generation helpers
* Discord: tidy thread title generation constants and order
* Discord: use runtime fallback model resolution for thread titles
* Discord: resolve thread-title model aliases
* Discord: fallback thread-title model selection to runtime defaults
* Agents: centralize simple completion runtime
* fix(discord): pass apiKey to complete() for thread title generation
The setRuntimeApiKey approach only works for full agent runs that use
authStorage.getApiKey(). The pi-ai complete() function expects apiKey
directly in options or falls back to env vars — it doesn't read from
authStorage.runtimeOverrides.
Fixes thread title generation for Claude/Anthropic users.
* fix(agents): return exchanged Copilot token from prepareSimpleCompletionModel
The recent thread-title fix (3346ba6) passes prepared.auth.apiKey to
complete(). For github-copilot, this was still the raw GitHub token
rather than the exchanged runtime token, causing auth failures.
Now setRuntimeApiKeyForCompletion returns the resolved token and
prepareSimpleCompletionModel includes it in auth.apiKey, so both the
authStorage path and direct apiKey pass-through work correctly.
* fix(agents): catch auth lookup exceptions in completion model prep
getApiKeyForModel can throw for credential issues (missing profile, etc).
Wrap in try/catch to return { error } for fail-soft handling rather than
propagating rejected promises to callers like thread title generation.
* Discord: strip markdown wrappers from generated thread titles
* Discord/agents: align thread-title model and local no-auth completion headers
* Tests: import fresh modules for mocked thread-title/simple-completion suites
* Agents: apply exchanged Copilot baseUrl in simple completions
* Discord: route thread runtime imports through plugin SDK
* Lockfile: add Discord pi-ai runtime dependency
* Lockfile: regenerate Discord pi-ai runtime dependency entries
* Agents: use published Copilot token runtime module
* Discord: refresh config baseline and lockfile
* Tests: split extension runs by isolation
* Discord: add changelog for generated thread titles (#43366 ) (thanks @davidguttman)
---------
Co-authored-by: Onur Solmaz <onur@textcortex.com>
Co-authored-by: Onur Solmaz <2453968+osolmaz@users.noreply.github.com>
8 months ago
Tak Hoffman
7464330a08
test: audit subagent seam coverage inventory
8 months ago
Peter Steinberger
1bfef17825
ci: balance shards and reuse pr artifacts
8 months ago
Tak Hoffman
50d996a6ec
tests: cron coverage and NO_REPLY delivery fixes ( #53366 )
...
* tools: extend seam audit inventory
* tools: audit cron seam coverage gaps
* test: add cron seam coverage tests
* fix: avoid marking NO_REPLY cron deliveries as delivered
* fix: clean up delete-after-run NO_REPLY cron sessions
8 months ago
Vincent Koc
6142fc1d94
fix(runtime): anchor bundled plugin npm staging to active node
8 months ago
Peter Steinberger
8fd2fa13c6
test: avoid repo-root perf profile artifacts
8 months ago
Peter Steinberger
af9de86286
perf: trim vitest hot imports and refresh manifests
8 months ago
Peter Steinberger
7818344f82
fix(ci): harden changed extension diff fallback
8 months ago
Vincent Koc
d949dffc6e
fix(ci): repair tts and matrix refactor fallout
8 months ago
Peter Steinberger
96d61aa50c
refactor: harden generated-file guards and provider ids
8 months ago
Peter Steinberger
d0f5e7cb2d
test: simplify vitest runner pools
8 months ago
Peter Steinberger
1ad47b8fa1
test: harden path resolution test helpers
8 months ago
Peter Steinberger
29c0e783b1
refactor: rename vitest behavior lanes
8 months ago
Peter Steinberger
8e09568bc7
perf: expand base vitest thread lanes
8 months ago
Peter Steinberger
95ae8aabb7
perf: expand vitest thread lanes
8 months ago
Peter Steinberger
b44152fcc8
perf: automate vitest thread candidate scans
8 months ago
Peter Steinberger
574cc9de64
test: trim more unit test startup overhead
8 months ago
Peter Steinberger
465bd0cef1
fix(test): normalize repo-relative paths on Windows
8 months ago
Vincent Koc
45f84cf639
fix(test): normalize path separators [skip ci]
8 months ago
Peter Steinberger
a622eecd3b
refactor(test): dedupe shared test helpers
8 months ago