Skip to content
Merged
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ jobs:
permissions:
contents: read
steps:
- uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262 # v4.4.0
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
ref: ${{ needs.resolve.outputs.tag }}
submodules: recursive
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,13 @@ async fn a_paused_task_round_trips_into_a_fresh_controller() {
let encoded = tasks.export_paused_task(&view.id).unwrap();
let serialized = std::str::from_utf8(&encoded).unwrap();
assert!(!serialized.contains("swordfish-secret"));
assert!(serialized.contains(&profile));
let snapshot: serde_json::Value = serde_json::from_str(serialized).unwrap();
assert_eq!(
snapshot
.pointer("/task/constraints/browser_profile")
.and_then(serde_json::Value::as_str),
Some(profile.as_str())
);

drop(tasks);
let (restored, script) = controller(vec![finished_run(
Expand Down
Loading