This repository was archived by the owner on Apr 7, 2026. It is now read-only.
Description Problem
The probador comply command fails C006 (COOP/COEP headers) even when using probar serve --cross-origin-isolated:
$ probador comply --detailed .
[✗] C006: COOP/COEP headers
└─ No server config found for COOP/COEP headers
However, the project uses:
serve-dev :
@probar serve www --port 8081 --cross-origin-isolated
Expected Behavior
C006 should recognize:
Makefile targets using probar serve --cross-origin-isolated
probar.toml configuration if present
Other common server configs (nginx.conf, apache.conf, etc.)
Current Behavior
C006 only looks for static config files and doesn't recognize dynamic server commands.
Suggested Fix
Parse Makefile for probar serve.*--cross-origin-isolated pattern:
fn check_coop_coep ( path : & Path ) -> ComplianceResult {
// Check Makefile
if let Ok ( makefile) = std:: fs:: read_to_string ( path. join ( "Makefile" ) ) {
if makefile. contains ( "--cross-origin-isolated" ) {
return ComplianceResult :: pass ( "COOP/COEP enabled via probar serve" ) ;
}
}
// ... existing checks
}
Environment
Reactions are currently unavailable
Problem
The
probador complycommand fails C006 (COOP/COEP headers) even when usingprobar serve --cross-origin-isolated:However, the project uses:
serve-dev: @probar serve www --port 8081 --cross-origin-isolatedExpected Behavior
C006 should recognize:
probar serve --cross-origin-isolatedCurrent Behavior
C006 only looks for static config files and doesn't recognize dynamic server commands.
Suggested Fix
Parse Makefile for
probar serve.*--cross-origin-isolatedpattern:Environment