PlatformsFacebookBackground

CometMarketplaceSetProductItemSeenStateMutation

Domainbackground
Kindmutation
doc_id9680593255390206
Path/api/graphql/
Sendsinput
Readsmarketplace_set_product_item_seen_state.product_item
Called fromCometMarketplaceSetProductItemSeenStateMutation
reaev_03793df18e41b21e22c0bbfc18c4a5180529ced4aa3304f1a89f09366f312d6d

Seen 15 time(s) in 7 run(s).

ActionOur stepTimesStatusTookAfter step startErrors
warmupscroll: +127px in 4 wheel steps, 125 ms1200800 ms4549 ms—
warmupscroll: -605px in 14 wheel steps, 687 ms1200868 ms2415 ms—
warmupscroll: +459px in 11 wheel steps, 500 ms12001025 ms1149 ms—
warmupopenAny: read /marketplace/item/<id>/1200824 ms4243 ms—
warmupscroll: -756px in 16 wheel steps, 656 ms1200902 ms1785 ms—
inspectscroll: -577px in 13 wheel steps, 859 ms12001029 ms3592 ms—
inspectscroll: +978px in 22 wheel steps, 1531 ms1200652 ms1996 ms—
inspectstep 25: openAny 1-3 x /marketplace/item/1200915 ms4060 ms—
inspectscroll: +161px in 5 wheel steps, 250 ms1200740 ms3443 ms—
inspectscroll: -161px in 5 wheel steps, 172 ms12001264 ms1430 ms—
warmupscroll: +213px in 7 wheel steps, 453 ms1200920 ms297 ms—
warmupscroll: -1034px in 22 wheel steps, 1032 ms1200652 ms1576 ms—
warmupscroll: +981px in 24 wheel steps, 1672 ms1200570 ms3054 ms—
hostscroll: -553px in 12 wheel steps, 499 ms1200328 ms1145 ms—
hostscroll: +617px in 15 wheel steps, 789 ms1200506 ms1221 ms—

What it sent and what came back (the newest 2 from our runs)

Read from each run's own recording (rule 73), secrets and signed link tokens taken out. Kept in ~/.logCli/rea/clientFacts.json, so it stays after the run is pruned.

runs/host/20261026T180628_61594285317994, scroll: -553px in 12 wheel steps, 499 ms: 200, 328 ms

Sent:

{
  "fb_api_caller_class": "RelayModern",
  "fb_api_req_friendly_name": "CometMarketplaceSetProductItemSeenStateMutation",
  "server_timestamps": "true",
  "variables": {
    "input": {
      "has_seen": true,
      "product_item_id": "1818774979262678",
      "actor_id": "61594285317994",
      "client_mutation_id": "2"
    }
  },
  "doc_id": "9680593255390206"
}

Answered:

{
  "data": {
    "marketplace_set_product_item_seen_state": {
      "product_item": {
        "has_viewer_previously_seen": true,
        "id": "1818774979262678"
      }
    }
  },
  "extensions": {
    "server_metadata": {
      "request_start_time_ms": 1793038229458,
      "time_at_flush_ms": 1793038229616
    },
    "is_final": true
  }
}

runs/host/20261026T180628_61594285317994, scroll: +617px in 15 wheel steps, 789 ms: 200, 506 ms

Sent:

{
  "fb_api_caller_class": "RelayModern",
  "fb_api_req_friendly_name": "CometMarketplaceSetProductItemSeenStateMutation",
  "server_timestamps": "true",
  "variables": {
    "input": {
      "has_seen": true,
      "product_item_id": "2249546198922840",
      "actor_id": "61594285317994",
      "client_mutation_id": "5"
    }
  },
  "doc_id": "9680593255390206"
}

Answered:

{
  "data": {
    "marketplace_set_product_item_seen_state": {
      "product_item": {
        "has_viewer_previously_seen": true,
        "id": "2249546198922840"
      }
    }
  },
  "extensions": {
    "server_metadata": {
      "request_start_time_ms": 1793038240088,
      "time_at_flush_ms": 1793038240434
    },
    "is_final": true
  }
}

What it does

Marks Marketplace items as seen by the viewer: it sends input and reads marketplace_set_product_item_seen_state.product_item. It fired during scrolls of the Marketplace browse feed (steps 24 and 36, scroll 1 x 400, and a 978 px scroll), 1.5-3.2 s after the scroll began, as listings came into view.

What our machine does with it

The feed warm-up's scrollMarketplace step (one scroll of 400-800 px) brings listings into view and makes the client send it. The machine does not wait for or read it; the scroll step passes on its own movement.

What can go wrong

None seen: all three answered 200 in 652-1029 ms. Nothing waits on it, so a failure would not stop the run.