Skip to content

Commit ce96843

Browse files
NO-SNOW: stop removing the csv file
1 parent 42bb1f8 commit ce96843

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

.github/workflows/build_test.yml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff 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"

ci/github/save_mitm_requests.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -412,4 +412,5 @@ def response(flow):
412412

413413
def done():
414414
"""Called when mitmproxy shuts down"""
415+
logger.info("Proxy shutting down...")
415416
f.close()

0 commit comments

Comments
 (0)