Skip to content

Commit

Permalink
style: pre-commit.ci auto fixes [...]
Browse files Browse the repository at this point in the history
  • Loading branch information
pre-commit-ci[bot] committed Dec 10, 2024
1 parent 772cbc8 commit ae81007
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions taskcluster/fxci_config_taskgraph/util/integration.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,7 @@

import requests
import taskcluster
from taskgraph.util.taskcluster import get_ancestors
from taskgraph.util.taskcluster import logging
from taskgraph.util.taskcluster import get_ancestors, logging

FIREFOXCI_ROOT_URL = "https://firefox-ci-tc.services.mozilla.com"
STAGING_ROOT_URL = "https://stage.taskcluster.nonprod.cloudops.mozgcp.net"
Expand All @@ -21,7 +20,9 @@ def get_taskcluster_client(service: str):


@cache
def find_tasks(decision_index_path: str, include_deps: bool = False) -> list[dict[str, Any]]:
def find_tasks(
decision_index_path: str, include_deps: bool = False
) -> list[dict[str, Any]]:
"""Find tasks targeted by the Decision task pointed to by `decision_index_path`."""
queue = get_taskcluster_client("queue")
index = get_taskcluster_client("index")
Expand Down Expand Up @@ -57,6 +58,7 @@ def find_tasks(decision_index_path: str, include_deps: bool = False) -> list[dic
logging.info("including deps")
# TODO: remove hack
import os

orig = os.environ["TASKCLUSTER_ROOT_URL"]
os.environ["TASKCLUSTER_ROOT_URL"] = FIREFOXCI_ROOT_URL
logging.info(f"fetching ancestors for {task['task_id']}")
Expand Down

1 comment on commit ae81007

@stage-taskcluster
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Uh oh! Looks like an error!

HttpError: Invalid request.

Only 65535 characters are allowed; 617479 were supplied.

Please sign in to comment.