Skip to content

Commit

Permalink
🔄 synced local 'skyvern/' with remote 'skyvern/'
Browse files Browse the repository at this point in the history
<!-- ELLIPSIS_HIDDEN -->

| 🚀 | This description was created by [Ellipsis](https://www.ellipsis.dev) for commit 019e6fa96bac1f47da47e4172ae0748de3f5d076  |
|--------|--------|

### Summary:
Added support for Irish residential proxies by updating configuration files, schemas, and scripts.

**Key points**:
- Added `WEBSHARE_IO_RESIDENTIAL_PROXY_USERNAME_IE` to `.env.cloud.example` and `cloud/config.py`.
- Created Alembic migration script `alembic/versions/2024_07_31_0918-3700f75db669_add_residential_ie_to_proxylocation_enum.py` to add `RESIDENTIAL_IE` to `ProxyLocation` enum.
- Updated `cloud/webeye/proxy.py` to handle `RESIDENTIAL_IE` in `build_proxy_config_webshare_io` and `build_proxy_config` functions.
- Updated multiple infrastructure JSON files (`infra/job-definition-production.json`, `infra/job-definition-staging.json`, `infra/scraping-definition-sandbox.json`, `infra/task-definition-production.json`, `infra/task-definition-staging.json`, `infra/workflow-job-definition-production.json`, `infra/workflow-job-definition-staging.json`) to include `WEBSHARE_IO_RESIDENTIAL_PROXY_USERNAME_IE`.
- Updated `skyvern/forge/sdk/schemas/tasks.py` to include `RESIDENTIAL_IE` in `ProxyLocation` enum.

----
Generated with ❤️ by [ellipsis.dev](https://www.ellipsis.dev)

<!-- ELLIPSIS_HIDDEN -->
  • Loading branch information
ykeremy committed Jul 31, 2024
1 parent b2d692f commit 22c516a
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 10 deletions.
10 changes: 0 additions & 10 deletions skyvern/__init__.py
Original file line number Diff line number Diff line change
@@ -1,13 +1,3 @@
from ddtrace import tracer
from ddtrace.filters import FilterRequestsOnUrl

from skyvern.forge.sdk.forge_log import setup_logger

tracer.configure(
settings={
"FILTERS": [
FilterRequestsOnUrl(r"http://.*/heartbeat$"),
],
},
)
setup_logger()
10 changes: 10 additions & 0 deletions skyvern/forge/app.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
from typing import Awaitable, Callable

from ddtrace import tracer
from ddtrace.filters import FilterRequestsOnUrl
from fastapi import FastAPI
from playwright.async_api import Frame, Page

Expand All @@ -16,6 +18,14 @@
from skyvern.forge.sdk.workflow.service import WorkflowService
from skyvern.webeye.browser_manager import BrowserManager

tracer.configure(
settings={
"FILTERS": [
FilterRequestsOnUrl(r"http://.*/heartbeat$"),
],
},
)

SETTINGS_MANAGER = SettingsManager.get_settings()
DATABASE = AgentDB(
SettingsManager.get_settings().DATABASE_STRING,
Expand Down
1 change: 1 addition & 0 deletions skyvern/forge/sdk/schemas/tasks.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ class ProxyLocation(StrEnum):
US_WA = "US-WA"
RESIDENTIAL = "RESIDENTIAL"
RESIDENTIAL_ES = "RESIDENTIAL_ES"
RESIDENTIAL_IE = "RESIDENTIAL_IE"
NONE = "NONE"


Expand Down

0 comments on commit 22c516a

Please sign in to comment.