Skip to content

Automate browser based workflows with AI

Stop re-sending outdated copies of the copilot's draft code to the model (SKY-13652) (#8106)

Andrew Neilson3b04388e440a
diff --git a/skyvern-frontend/package-lock.json b/skyvern-frontend/package-lock.json
index e1c5b725b..53bd16bdb 100644
--- a/skyvern-frontend/package-lock.json
+++ b/skyvern-frontend/package-lock.json
@@ -58,6 +58,7 @@
"embla-carousel-react": "^8.0.0",
"express": "^4.21.2",
"fetch-to-curl": "^0.6.0",
+ "fflate": "^0.8.2",
"nanoid": "^5.0.7",
"open": "^10.1.0",
"posthog-js": "^1.138.0",
@@ -6355,9 +6356,9 @@
"license": "MIT"
},
"node_modules/fflate": {
- "version": "0.4.8",
- "resolved": "https://registry.npmjs.org/fflate/-/fflate-0.4.8.tgz",
- "integrity": "sha512-FJqqoDBR00Mdj9ppamLa/Y7vxm+PRmNWA67N846RvsoYVMKB4q3y/de5PA7gUmRMYK/8CMz2GDZQmCRN1wBcWA==",
+ "version": "0.8.3",
+ "resolved": "https://registry.npmjs.org/fflate/-/fflate-0.8.3.tgz",
+ "integrity": "sha512-tbZNuJrLwGUp3zshBtdy4W+ORxZuIh8a5ilyIEQDC5rY1f3U20JMry0Ll3WBzU58EZKsEuJFXhb5gwv8CsPvgA==",
"license": "MIT"
},
"node_modules/file-entry-cache": {
@@ -8229,6 +8230,12 @@
"web-vitals": "^5.1.0"
}
},
+ "node_modules/posthog-js/node_modules/fflate": {
+ "version": "0.4.9",
+ "resolved": "https://registry.npmjs.org/fflate/-/fflate-0.4.9.tgz",
+ "integrity": "sha512-zdxgIEddhfsyCaWpJ2SdXEP8ZMrKJ6+5jl4OupODcywU0IhRk6gdXuVGcPICyfx2H97hVK7xmJtRLPjkxAX8Vw==",
+ "license": "MIT"
+ },
"node_modules/preact": {
"version": "10.29.1",
"resolved": "https://registry.npmjs.org/preact/-/preact-10.29.1.tgz",
diff --git a/skyvern-frontend/package.json b/skyvern-frontend/package.json
index dcc14ab40..8a12d6540 100644
--- a/skyvern-frontend/package.json
+++ b/skyvern-frontend/package.json
@@ -69,6 +69,7 @@
"embla-carousel-react": "^8.0.0",
"express": "^4.21.2",
"fetch-to-curl": "^0.6.0",
+ "fflate": "^0.8.2",
"nanoid": "^5.0.7",
"open": "^10.1.0",
"posthog-js": "^1.138.0",
diff --git a/tests/unit/test_copilot_response_coverage_gate.py b/tests/unit/test_copilot_response_coverage_gate.py
index d98dca9f8..432f33c3a 100644
--- a/tests/unit/test_copilot_response_coverage_gate.py
+++ b/tests/unit/test_copilot_response_coverage_gate.py
@@ -153,7 +153,6 @@ def test_ask_question_before_acting_on_discovery_candidate_fires_nudge() -> None
assert nudge is not None
assert nudge.rule == "post_discovery_entrypoint_url_question"
- # nosemgrep false positive: asserts the advisory interpolates the resolved entrypoint.
assert nudge.message.rpartition("Resolved candidate_url: ")[2] == ctx.resolved_discovery_entrypoint_url
assert ctx.discovery_entrypoint_url_question_nudge_count == 1