@@ -31,7 +31,7 @@ use std::{
3131use util:: path;
3232
3333#[ test]
34- #[ cfg_attr( not( feature = "eval" ) , ignore) ]
34+ #[ cfg_attr( not( feature = "edit-agent- eval" ) , ignore) ]
3535fn eval_extract_handle_command_output ( ) {
3636 // Test how well agent generates multiple edit hunks.
3737 //
@@ -108,7 +108,7 @@ fn eval_extract_handle_command_output() {
108108}
109109
110110#[ test]
111- #[ cfg_attr( not( feature = "eval" ) , ignore) ]
111+ #[ cfg_attr( not( feature = "edit-agent- eval" ) , ignore) ]
112112fn eval_delete_run_git_blame ( ) {
113113 // Model | Pass rate
114114 // ----------------------------|----------
@@ -171,7 +171,7 @@ fn eval_delete_run_git_blame() {
171171}
172172
173173#[ test]
174- #[ cfg_attr( not( feature = "eval" ) , ignore) ]
174+ #[ cfg_attr( not( feature = "edit-agent- eval" ) , ignore) ]
175175fn eval_translate_doc_comments ( ) {
176176 // Model | Pass rate
177177 // ============================================
@@ -234,7 +234,7 @@ fn eval_translate_doc_comments() {
234234}
235235
236236#[ test]
237- #[ cfg_attr( not( feature = "eval" ) , ignore) ]
237+ #[ cfg_attr( not( feature = "edit-agent- eval" ) , ignore) ]
238238fn eval_use_wasi_sdk_in_compile_parser_to_wasm ( ) {
239239 // Model | Pass rate
240240 // ============================================
@@ -360,7 +360,7 @@ fn eval_use_wasi_sdk_in_compile_parser_to_wasm() {
360360}
361361
362362#[ test]
363- #[ cfg_attr( not( feature = "eval" ) , ignore) ]
363+ #[ cfg_attr( not( feature = "edit-agent- eval" ) , ignore) ]
364364fn eval_disable_cursor_blinking ( ) {
365365 // Model | Pass rate
366366 // ============================================
@@ -446,7 +446,7 @@ fn eval_disable_cursor_blinking() {
446446}
447447
448448#[ test]
449- #[ cfg_attr( not( feature = "eval" ) , ignore) ]
449+ #[ cfg_attr( not( feature = "edit-agent- eval" ) , ignore) ]
450450fn eval_from_pixels_constructor ( ) {
451451 // Results for 2025-06-13
452452 //
@@ -656,7 +656,7 @@ fn eval_from_pixels_constructor() {
656656}
657657
658658#[ test]
659- #[ cfg_attr( not( feature = "eval" ) , ignore) ]
659+ #[ cfg_attr( not( feature = "edit-agent- eval" ) , ignore) ]
660660fn eval_zode ( ) {
661661 // Model | Pass rate
662662 // ============================================
@@ -763,7 +763,7 @@ fn eval_zode() {
763763}
764764
765765#[ test]
766- #[ cfg_attr( not( feature = "eval" ) , ignore) ]
766+ #[ cfg_attr( not( feature = "edit-agent- eval" ) , ignore) ]
767767fn eval_add_overwrite_test ( ) {
768768 // Model | Pass rate
769769 // ============================================
@@ -995,7 +995,7 @@ fn eval_add_overwrite_test() {
995995}
996996
997997#[ test]
998- #[ cfg_attr( not( feature = "eval" ) , ignore) ]
998+ #[ cfg_attr( not( feature = "edit-agent- eval" ) , ignore) ]
999999fn eval_create_empty_file ( ) {
10001000 // Check that Edit Agent can create a file without writing its
10011001 // thoughts into it. This issue is not specific to empty files, but
@@ -1490,9 +1490,20 @@ impl EditAgentTest {
14901490 & std:: env:: var ( "ZED_JUDGE_MODEL" ) . unwrap_or ( "anthropic/claude-4-sonnet-latest" . into ( ) ) ,
14911491 )
14921492 . unwrap ( ) ;
1493+
1494+ let authenticate_provider_tasks = cx. update ( |cx| {
1495+ LanguageModelRegistry :: global ( cx) . update ( cx, |registry, cx| {
1496+ registry
1497+ . providers ( )
1498+ . iter ( )
1499+ . map ( |p| p. authenticate ( cx) )
1500+ . collect :: < Vec < _ > > ( )
1501+ } )
1502+ } ) ;
14931503 let ( agent_model, judge_model) = cx
14941504 . update ( |cx| {
14951505 cx. spawn ( async move |cx| {
1506+ futures:: future:: join_all ( authenticate_provider_tasks) . await ;
14961507 let agent_model = Self :: load_model ( & agent_model, cx) . await ;
14971508 let judge_model = Self :: load_model ( & judge_model, cx) . await ;
14981509 ( agent_model. unwrap ( ) , judge_model. unwrap ( ) )
0 commit comments