Skip to content

Commit 5308373

Browse files
authored
Merge branch 'feast-dev:master' into v0.47.0-patched
2 parents 8381c95 + 6a1b33a commit 5308373

File tree

688 files changed

+114162
-14652
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

688 files changed

+114162
-14652
lines changed

.dockerignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,3 +3,6 @@ docs
33
charts
44
env
55
**/.terraform
6+
offline_build/
7+
!offline_build/arrow
8+
!offline_build/ibis

.github/TRIAGE_LIST.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
@jyejare @ntkathole
Lines changed: 61 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,61 @@
1+
name: Check if Tests should be Skipped
2+
description: Determines if tests can be skipped based on changed files
3+
4+
inputs:
5+
head-sha:
6+
description: 'The SHA of the head commit'
7+
required: true
8+
excluded-dirs:
9+
description: 'Comma-separated list of directories to exclude'
10+
required: false
11+
default: 'docs/**,community/**,examples/**'
12+
13+
outputs:
14+
skip_tests:
15+
description: 'Whether tests should be skipped'
16+
value: ${{ steps.check_skip_tests.outputs.skip_tests }}
17+
18+
runs:
19+
using: composite
20+
steps:
21+
- name: Checkout code
22+
uses: actions/checkout@v4
23+
with:
24+
fetch-depth: 0
25+
ref: ${{ inputs.head-sha }}
26+
27+
- name: Fetch base branch
28+
shell: bash
29+
run: |
30+
git fetch origin ${{ github.base_ref }}:$GITHUB_REF_BASE
31+
env:
32+
GITHUB_REF_BASE: refs/remotes/origin/${{ github.base_ref }}
33+
34+
- name: Set excluded dirs
35+
id: set_excluded_dirs
36+
shell: bash
37+
run: |
38+
EXCLUDED_DIRS="${{ inputs.excluded-dirs }}"
39+
IFS=',' read -r -a EXCLUDED_DIRS_ARRAY <<< "$EXCLUDED_DIRS"
40+
echo "Excluded directories: ${EXCLUDED_DIRS_ARRAY[@]}"
41+
echo "EXCLUDED_DIRS_ARRAY=${EXCLUDED_DIRS_ARRAY[@]}" >> $GITHUB_ENV
42+
43+
- name: Check for excluded directory changes
44+
id: check_skip_tests
45+
shell: bash
46+
run: |
47+
CHANGED_FILES=$(git diff --name-only $GITHUB_REF_BASE ${{ inputs.head-sha }})
48+
echo "Changed files:"
49+
echo "$CHANGED_FILES"
50+
51+
# Build a regex pattern from the excluded directories
52+
EXCLUDE_PATTERN=$(IFS='|'; echo "${EXCLUDED_DIRS_ARRAY[*]}")
53+
NON_EXCLUDED_CHANGED=$(echo "$CHANGED_FILES" | grep -Ev "^($EXCLUDE_PATTERN)" || true)
54+
55+
if [[ -z "$NON_EXCLUDED_CHANGED" ]]; then
56+
echo "skip_tests=true" >> $GITHUB_ENV
57+
echo "skip_tests=true" >> $GITHUB_OUTPUT
58+
else
59+
echo "skip_tests=false" >> $GITHUB_ENV
60+
echo "skip_tests=false" >> $GITHUB_OUTPUT
61+
fi

.github/fork_workflows/fork_pr_integration_tests_aws.yml

Lines changed: 5 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -51,18 +51,10 @@ jobs:
5151
aws-region: us-west-2
5252
- name: Use AWS CLI
5353
run: aws sts get-caller-identity
54-
- name: Install uv
55-
run: |
56-
curl -LsSf https://astral.sh/uv/install.sh | sh
57-
- name: Get uv cache dir
58-
id: uv-cache
59-
run: |
60-
echo "::set-output name=dir::$(uv cache dir)"
61-
- name: uv cache
62-
uses: actions/cache@v4
54+
- name: Install the latest version of uv
55+
uses: astral-sh/setup-uv@v5
6356
with:
64-
path: ${{ steps.uv-cache.outputs.dir }}
65-
key: ${{ runner.os }}-${{ steps.setup-python.outputs.python-version }}-uv-${{ hashFiles(format('**/py{0}-ci-requirements.txt', env.PYTHON)) }}
57+
enable-cache: true
6658
- name: Install apache-arrow on ubuntu
6759
if: matrix.os == 'ubuntu-latest'
6860
run: |
@@ -85,3 +77,5 @@ jobs:
8577
pytest -n 8 --cov=./ --cov-report=xml --color=yes sdk/python/tests --integration --durations=5 --timeout=1200 --timeout_method=thread -k "File and not Snowflake and not BigQuery and not minio_registry"
8678
pytest -n 8 --cov=./ --cov-report=xml --color=yes sdk/python/tests --integration --durations=5 --timeout=1200 --timeout_method=thread -k "dynamo and not Snowflake and not BigQuery and not minio_registry"
8779
pytest -n 8 --cov=./ --cov-report=xml --color=yes sdk/python/tests --integration --durations=5 --timeout=1200 --timeout_method=thread -k "Redshift and not Snowflake and not BigQuery and not minio_registry"
80+
- name: Minimize uv cache
81+
run: uv cache prune --ci

.github/fork_workflows/fork_pr_integration_tests_gcp.yml

Lines changed: 5 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -53,18 +53,10 @@ jobs:
5353
project_id: ${{ secrets.GCP_PROJECT_ID }}
5454
- name: Use gcloud CLI
5555
run: gcloud info
56-
- name: Install uv
57-
run: |
58-
curl -LsSf https://astral.sh/uv/install.sh | sh
59-
- name: Get uv cache dir
60-
id: uv-cache
61-
run: |
62-
echo "::set-output name=dir::$(uv cache dir)"
63-
- name: uv cache
64-
uses: actions/cache@v4
56+
- name: Install the latest version of uv
57+
uses: astral-sh/setup-uv@v5
6558
with:
66-
path: ${{ steps.uv-cache.outputs.dir }}
67-
key: ${{ runner.os }}-${{ steps.setup-python.outputs.python-version }}-uv-${{ hashFiles(format('**/py{0}-ci-requirements.txt', env.PYTHON)) }}
59+
enable-cache: true
6860
- name: Install apache-arrow on ubuntu
6961
if: matrix.os == 'ubuntu-latest'
7062
run: |
@@ -86,3 +78,5 @@ jobs:
8678
run: |
8779
pytest -n 8 --cov=./ --cov-report=xml --color=yes sdk/python/tests --integration --durations=5 --timeout=1200 --timeout_method=thread -k "BigQuery and not dynamo and not Redshift and not Snowflake and not minio_registry"
8880
pytest -n 8 --cov=./ --cov-report=xml --color=yes sdk/python/tests --integration --durations=5 --timeout=1200 --timeout_method=thread -k "File and not dynamo and not Redshift and not Snowflake and not minio_registry"
81+
- name: Minimize uv cache
82+
run: uv cache prune --ci

.github/fork_workflows/fork_pr_integration_tests_snowflake.yml

Lines changed: 5 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -43,18 +43,10 @@ jobs:
4343
uses: actions/setup-go@v2
4444
with:
4545
go-version: 1.18.0
46-
- name: Install uv
47-
run: |
48-
curl -LsSf https://astral.sh/uv/install.sh | sh
49-
- name: Get uv cache dir
50-
id: uv-cache
51-
run: |
52-
echo "::set-output name=dir::$(uv cache dir)"
53-
- name: uv cache
54-
uses: actions/cache@v4
46+
- name: Install the latest version of uv
47+
uses: astral-sh/setup-uv@v5
5548
with:
56-
path: ${{ steps.uv-cache.outputs.dir }}
57-
key: ${{ runner.os }}-${{ steps.setup-python.outputs.python-version }}-uv-${{ hashFiles(format('**/py{0}-ci-requirements.txt', env.PYTHON)) }}
49+
enable-cache: true
5850
- name: Install apache-arrow on ubuntu
5951
if: matrix.os == 'ubuntu-latest'
6052
run: |
@@ -82,3 +74,5 @@ jobs:
8274
run: |
8375
pytest -n 8 --cov=./ --cov-report=xml --color=yes sdk/python/tests --integration --durations=5 --timeout=1200 --timeout_method=thread -k "Snowflake and not dynamo and not Redshift and not Bigquery and not gcp and not minio_registry"
8476
pytest -n 8 --cov=./ --cov-report=xml --color=yes sdk/python/tests --integration --durations=5 --timeout=1200 --timeout_method=thread -k "File and not dynamo and not Redshift and not Bigquery and not gcp and not minio_registry"
77+
- name: Minimize uv cache
78+
run: uv cache prune --ci

0 commit comments

Comments
 (0)