Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions .github/workflows/build_wheels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ jobs:
needs: [ build-python-wheel ]
strategy:
matrix:
os: [ ubuntu-latest, macos-14 ]
os: [ ubuntu-latest, macos-15 ]
python-version: ["3.11", "3.12"]
from-source: [ True, False ]
env:
Expand All @@ -153,14 +153,14 @@ jobs:
steps:
- uses: actions/checkout@v4
- name: Install OS X dependencies
if: matrix.os == 'macos-14'
if: runner.os == 'macOS'
run: brew install coreutils gettext
- name: Setup Python
id: setup-python
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
architecture: x64
architecture: ${{ runner.os == 'macOS' && 'arm64' || 'x64' }}
- uses: actions/download-artifact@v4.1.7
with:
name: python-wheels
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/nightly-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ jobs:
sudo apt update
sudo apt install -y -V libarrow-dev
- name: Install apache-arrow on macos
if: matrix.os == 'macos-14'
if: runner.os == 'macOS'
run: brew install apache-arrow
- name: Install dependencies
run: make install-python-dependencies-ci
Expand Down
7 changes: 4 additions & 3 deletions .github/workflows/unit_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
fail-fast: false
matrix:
python-version: ["3.11", "3.12"]
os: [ ubuntu-latest, macos-14 ]
os: [ ubuntu-latest, macos-15 ]

env:
OS: ${{ matrix.os }}
Expand All @@ -37,7 +37,7 @@ jobs:
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
architecture: x64
architecture: ${{ runner.os == 'macOS' && 'arm64' || 'x64' }}
- name: Install the latest version of uv
uses: astral-sh/setup-uv@v5
with:
Expand Down Expand Up @@ -135,7 +135,8 @@ jobs:
run: make install-feast-locally
- name: Run Go tests with coverage
run: |
CGO_ENABLED=1 go test \
# The Go packages share a registry fixture and must run sequentially.
CGO_ENABLED=1 go test -p 1 \
-coverprofile=go/coverage.out \
-covermode=atomic \
-skip "TestGetOnlineFeatures|TestSqliteOnlineRead" \
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -371,6 +371,8 @@ spec:
- rbac.authorization.k8s.io
resources:
- clusterrolebindings
- rolebindings
- roles
verbs:
- create
- delete
Expand Down Expand Up @@ -398,18 +400,6 @@ spec:
verbs:
- delete
- update
- apiGroups:
- rbac.authorization.k8s.io
resources:
- rolebindings
- roles
verbs:
- create
- delete
- get
- list
- update
- watch
- apiGroups:
- route.openshift.io
resources:
Expand Down
14 changes: 2 additions & 12 deletions infra/feast-operator/config/rbac/role.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -171,6 +171,8 @@ rules:
- rbac.authorization.k8s.io
resources:
- clusterrolebindings
- rolebindings
- roles
verbs:
- create
- delete
Expand Down Expand Up @@ -198,18 +200,6 @@ rules:
verbs:
- delete
- update
- apiGroups:
- rbac.authorization.k8s.io
resources:
- rolebindings
- roles
verbs:
- create
- delete
- get
- list
- update
- watch
- apiGroups:
- route.openshift.io
resources:
Expand Down
14 changes: 2 additions & 12 deletions infra/feast-operator/dist/install.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24420,6 +24420,8 @@ rules:
- rbac.authorization.k8s.io
resources:
- clusterrolebindings
- rolebindings
- roles
verbs:
- create
- delete
Expand Down Expand Up @@ -24447,18 +24449,6 @@ rules:
verbs:
- delete
- update
- apiGroups:
- rbac.authorization.k8s.io
resources:
- rolebindings
- roles
verbs:
- create
- delete
- get
- list
- update
- watch
- apiGroups:
- route.openshift.io
resources:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -573,7 +573,7 @@ def pandas_view(features_df: pd.DataFrame) -> pd.DataFrame:
"acc_rate",
"avg_daily_trips",
"conv_rate",
"created__",
"created",
"driver_id",
"event_timestamp",
]
Expand Down Expand Up @@ -632,7 +632,7 @@ def pandas_view(features_df: pd.DataFrame) -> pd.DataFrame:
"conv_rate",
"conv_rate_plus_val1",
"conv_rate_plus_val2",
"created__",
"created",
"driver_id",
"event_timestamp",
"val_to_add",
Expand Down Expand Up @@ -668,7 +668,7 @@ def pandas_view(features_df: pd.DataFrame) -> pd.DataFrame:
"conv_rate_plus_val2",
"driver_id",
# It does not have the items below
# "created__",
# "created",
# "event_timestamp",
# "val_to_add",
# "val_to_add_2",
Expand Down
12 changes: 8 additions & 4 deletions ui/src/pages/monitoring/components/histogramUtils.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -63,9 +63,9 @@ describe("selectLatestWindowMetric", () => {

describe("isNumericHistogram", () => {
it("distinguishes numeric and categorical payloads", () => {
expect(isNumericHistogram({ bins: [0, 1], counts: [5], bin_width: 1 })).toBe(
true,
);
expect(
isNumericHistogram({ bins: [0, 1], counts: [5], bin_width: 1 }),
).toBe(true);
expect(
isNumericHistogram({
values: [{ value: "a", count: 3 }],
Expand Down Expand Up @@ -102,7 +102,11 @@ describe("rebinNumericHistogram", () => {
});

it("keeps identical bins identical", () => {
const h: NumericHistogram = { bins: [0, 1, 2], counts: [3, 7], bin_width: 1 };
const h: NumericHistogram = {
bins: [0, 1, 2],
counts: [3, 7],
bin_width: 1,
};
expect(rebinNumericHistogram(h, h)).toEqual([3, 7]);
});
});
Expand Down
14 changes: 8 additions & 6 deletions ui/src/pages/monitoring/components/histogramUtils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,12 +24,14 @@ const isNumericHistogram = (
* The newest real monitoring window, preferring rows with data. Baseline rows
* never win: they are dated by computation day, not by window start.
*/
const selectLatestWindowMetric = <T extends {
granularity: string;
is_baseline?: boolean;
metric_date: string;
row_count: number;
}>(
const selectLatestWindowMetric = <
T extends {
granularity: string;
is_baseline?: boolean;
metric_date: string;
row_count: number;
},
>(
metrics: T[] | null | undefined,
): T | null => {
if (!metrics || metrics.length === 0) return null;
Expand Down
Loading