The agent engineering platform.
Python agentsaiai-agentsanthropicchatgptdeepagentsenterpriseframeworkgeminigenerative-ailangchainlanggraphllmmultiagentopen-sourceopenaipydanticpythonragtypescript
Reduce cache timeouts to ensure faster builds on timeout. (#9619)
Predrag Gruevskiacb54d8b9da9
diff --git a/.github/actions/poetry_setup/action.yml b/.github/actions/poetry_setup/action.ymlindex 6dbe000264..39c76bec4c 100644--- a/.github/actions/poetry_setup/action.yml+++ b/.github/actions/poetry_setup/action.yml@@ -41,7 +41,7 @@ runs:id: cache-pipname: Cache Pip ${{ inputs.python-version }}env:- SEGMENT_DOWNLOAD_TIMEOUT_MIN: "15"+ SEGMENT_DOWNLOAD_TIMEOUT_MIN: "4"with:path: |~/.cache/pip@@ -69,7 +69,7 @@ runs:- uses: actions/cache@v3id: cache-poetryenv:- SEGMENT_DOWNLOAD_TIMEOUT_MIN: "15"+ SEGMENT_DOWNLOAD_TIMEOUT_MIN: "4"WORKDIR: ${{ inputs.working-directory == '' && '.' || inputs.working-directory }}with:path: |diff --git a/.github/workflows/_lint.yml b/.github/workflows/_lint.ymlindex c850258d19..5b1c35a9d8 100644--- a/.github/workflows/_lint.yml+++ b/.github/workflows/_lint.yml@@ -84,7 +84,7 @@ jobs:id: cache-pipname: Cache langchain editable pip install - ${{ matrix.python-version }}env:- SEGMENT_DOWNLOAD_TIMEOUT_MIN: "15"+ SEGMENT_DOWNLOAD_TIMEOUT_MIN: "4"with:path: |~/.cache/pip@@ -95,7 +95,7 @@ jobs:- name: Set up Python ${{ matrix.python-version }}uses: actions/setup-python@v4env:- SEGMENT_DOWNLOAD_TIMEOUT_MIN: "15"+ SEGMENT_DOWNLOAD_TIMEOUT_MIN: "4"with:python-version: ${{ matrix.python-version }}cache: poetry@@ -115,7 +115,7 @@ jobs:uses: actions/cache@v3env:CACHE_BASE: black-${{ runner.os }}-${{ runner.arch }}-py${{ matrix.python-version }}-${{ inputs.working-directory }}-${{ hashFiles(format('{0}/poetry.lock', env.WORKDIR)) }}- SEGMENT_DOWNLOAD_TIMEOUT_MIN: "15"+ SEGMENT_DOWNLOAD_TIMEOUT_MIN: "1"with:path: |${{ env.WORKDIR }}/.black_cache@@ -127,7 +127,7 @@ jobs:- name: Get .mypy_cache to speed up mypyuses: actions/cache@v3env:- SEGMENT_DOWNLOAD_TIMEOUT_MIN: "15"+ SEGMENT_DOWNLOAD_TIMEOUT_MIN: "2"with:path: |${{ env.WORKDIR }}/.mypy_cache