SuperAPI AI Directory

brightdata-upgrade-migration

Data & analytics

View repository

Updated 10-15 22:42

About this skill

Bright Data Contract Migration

Overview

Inventory the exact current behavior before changing dependencies or products. Treat an SDK update, API endpoint change, Browser API rename, and product migration as separate changes with separate rollback boundaries.

Prerequisites

  • A pinned current dependency or configuration and documented target contract
  • Golden synthetic fixtures plus representative redacted receipts
  • A dual-read or feature-flag path and rollback owner

Instructions

Step 1: Build the delta

Read the lockfile, adapter, and runbooks; Grep for x-luminati, old product names, obsolete endpoints, raw vendor response coupling, and undocumented ports.

Step 2: Update one boundary

Write the target dependency, API, or header mapping. Current diagnostics use Proxy-Status and x-brd-*; Browser API replaces the former Scraping Browser name. Do not invent version transitions.

Step 3: Verify compatibility

Edit fixture tests for success, authentication, policy, throttle, lifecycle, schema, and delivery states. Use Bash(python:*) for the pinned type and test suite and compare normalized outputs.

Step 4: Canary and retire

Run an authorized feature-flag canary, compare data and operational receipts, then remove the old path only after rollback expiry and owner signoff.

Tool Discipline

Use Read and Grep for the migration inventory. Use Write and Edit for dependency, adapter, fixture, and runbook changes. Use Bash(python:*) for local tests; it does not authorize live migration traffic or credential changes.

Output

  • Current-to-target contract matrix
  • Passing old and new fixture comparison and canary receipt
  • Rollback path plus explicit old-contract retirement decision

Examples

First replace parsing of x-luminati-error with current x-brd-error and Proxy-Status fixtures. Keep a short dual-read window for retained historical receipts, but require current fields from new live responses.

Error Handling

Failure Meaning Response
Migration combines product and SDK changes Failure attribution is impossible Split the rollout into independently reversible steps
Golden fixture contains live data Test evidence is unsafe Replace it with a synthetic contract fixture
New path changes normalized output Downstream behavior would drift Hold promotion and reconcile the schema

Resources