@@ -172,7 +172,7 @@ it.layer(NodeServices.layer)("Muse status", (it) => {
172172 ) ;
173173 const snapshot = yield * checkMuseProviderStatus (
174174 settings ( { enabled : true , binaryPath } ) ,
175- { HOME : "/home/muse-test" } ,
175+ { ... process . env , HOME : "/home/muse-test" } ,
176176 undefined ,
177177 async ( ) => makeHost ( metaCatalog ) ,
178178 ) ;
@@ -204,27 +204,6 @@ it.layer(NodeServices.layer)("Muse status", (it) => {
204204 ) ,
205205 ) ;
206206
207- it . effect ( "preserves a configured display name for a discovered Muse model" , ( ) =>
208- Effect . scoped (
209- Effect . gen ( function * ( ) {
210- const binaryPath = yield * fakeCli ( ) ;
211- const snapshot = yield * checkMuseProviderStatus (
212- settings ( {
213- enabled : true ,
214- binaryPath,
215- customModels : [ { slug : "muse-wonder-1.0" , name : "Team Wonder" } ] ,
216- } ) ,
217- undefined ,
218- undefined ,
219- async ( ) => makeHost ( metaCatalog ) ,
220- ) ;
221- expect ( snapshot . models . map ( ( { slug, name } ) => [ slug , name ] ) ) . toEqual ( [
222- [ "muse-wonder-1.0" , "Team Wonder" ] ,
223- ] ) ;
224- } ) ,
225- ) ,
226- ) ;
227-
228207 it . effect ( "discovers skills for each workspace and reports failed refreshes" , ( ) =>
229208 Effect . gen ( function * ( ) {
230209 const fs = yield * FileSystem . FileSystem ;
@@ -282,25 +261,6 @@ it.layer(NodeServices.layer)("Muse status", (it) => {
282261 } ) . pipe ( Effect . scoped , Effect . provide ( driverLayer ) ) ,
283262 ) ;
284263
285- it . effect ( "closes the host after malformed metadata and reports unavailable" , ( ) =>
286- Effect . scoped (
287- Effect . gen ( function * ( ) {
288- const binaryPath = yield * fakeCli ( ) ;
289- const host = makeHost ( { providerId : "meta" , models : [ { modelId : 1 } ] } ) ;
290- const snapshot = yield * checkMuseProviderStatus (
291- settings ( { enabled : true , binaryPath } ) ,
292- undefined ,
293- undefined ,
294- async ( ) => host ,
295- ) ;
296- expect ( snapshot . status ) . toBe ( "error" ) ;
297- expect ( snapshot . auth . status ) . toBe ( "unknown" ) ;
298- expect ( snapshot . models ) . toEqual ( [ ] ) ;
299- expect ( host . close ) . toHaveBeenCalledOnce ( ) ;
300- } ) ,
301- ) ,
302- ) ;
303-
304264 it . effect ( "keeps an empty discovered catalog empty instead of advertising a fallback model" , ( ) =>
305265 Effect . scoped (
306266 Effect . gen ( function * ( ) {
0 commit comments