File tree Expand file tree Collapse file tree 2 files changed +2
-4
lines changed
Expand file tree Collapse file tree 2 files changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -191,7 +191,7 @@ jobs:
191191 done
192192
193193 # Force mitmproxy to generate CA cert and test script capture
194- curl -x http://127.0.0.1:18453 https://example.com -k || true
194+ curl -x http://127.0.0.1:18453 " https://example.com/?this_request_will_not_occur_in_real_driver_operation=true&github_actions_proxy_test=true&purpose=mitmproxy_verification_and_cert_creation" -k || true
195195
196196 # Give script a moment to process the request
197197 sleep 3
@@ -213,9 +213,6 @@ jobs:
213213 echo "✅ CSV file created"
214214 if grep -q "example.com" test_requests.csv; then
215215 echo "✅ example.com request captured - script is working!"
216- # Reset CSV to clean state for real test data (keep only header)
217- head -1 test_requests.csv > test_requests_clean.csv && mv test_requests_clean.csv test_requests.csv
218- echo "CSV reset to clean state for test data"
219216 script_working=true
220217 else
221218 echo "❌ example.com request NOT found in CSV"
Original file line number Diff line number Diff line change @@ -412,4 +412,5 @@ def response(flow):
412412
413413def done ():
414414 """Called when mitmproxy shuts down"""
415+ logger .info ("Proxy shutting down..." )
415416 f .close ()
You can’t perform that action at this time.
0 commit comments