Skip to content

Commit 53cb46f

Browse files
committed
release 0.1.0
1 parent 7e15b83 commit 53cb46f

7 files changed

Lines changed: 72 additions & 2 deletions

File tree

‎.github/workflows/ci.yml‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ name: CI
33
on:
44
pull_request:
55
push:
6-
branches: [main]
6+
branches: [main, 'release/**']
77

88
permissions:
99
contents: read
@@ -25,6 +25,7 @@ jobs:
2525
uses: actions/checkout@v7
2626
with:
2727
repository: open-rec/rec-algorithm
28+
ref: e2bab2c3a4d0692756da9eb4abd4414e126bab87
2829
path: rec-algorithm
2930
- name: Set up Python
3031
uses: actions/setup-python@v6

‎.github/workflows/release.yml‎

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
name: Release
2+
3+
on:
4+
push:
5+
tags: ['v*']
6+
7+
permissions:
8+
contents: write
9+
10+
jobs:
11+
release:
12+
runs-on: ubuntu-latest
13+
timeout-minutes: 15
14+
steps:
15+
- uses: actions/checkout@v7
16+
- name: Validate version and create source archive
17+
shell: bash
18+
env:
19+
REPOSITORY_NAME: ${{ github.event.repository.name }}
20+
run: |
21+
version="$(tr -d '[:space:]' < VERSION)"
22+
test "${GITHUB_REF_NAME}" = "v${version}"
23+
test -s RELEASE_NOTES.md
24+
[[ "${version}" != *-dev ]]
25+
archive="${REPOSITORY_NAME}-${version}.tar.gz"
26+
git archive --format=tar.gz --prefix="${REPOSITORY_NAME}-${version}/" -o "${RUNNER_TEMP}/${archive}" HEAD
27+
cd "${RUNNER_TEMP}"
28+
sha256sum "${archive}" > "${archive}.sha256"
29+
- name: Publish release notes and source assets
30+
uses: softprops/action-gh-release@v3
31+
with:
32+
body_path: RELEASE_NOTES.md
33+
fail_on_unmatched_files: true
34+
files: |
35+
${{ runner.temp }}/*.tar.gz
36+
${{ runner.temp }}/*.tar.gz.sha256

‎CHANGELOG.md‎

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
# Changelog
2+
3+
## 0.1.0 — 2026-10-05
4+
5+
First coordinated release. See [release notes](RELEASE_NOTES.md) for features, compatibility and known limitations.

‎README.md‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
# OpenRec Rank Engine
22

3+
[Release v0.1.0](RELEASE_NOTES.md) · [Changelog](CHANGELOG.md)
4+
35
[![CI](https://github.com/open-rec/rank-engine/actions/workflows/ci.yml/badge.svg)](https://github.com/open-rec/rank-engine/actions/workflows/ci.yml)
46
![Python](https://img.shields.io/badge/Python-3.12-3776AB?logo=python&logoColor=white)
57
![FastAPI](https://img.shields.io/badge/FastAPI-0.141.1-009688?logo=fastapi&logoColor=white)

‎RELEASE_NOTES.md‎

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
# rank-engine v0.1.0
2+
3+
Released: 2026-10-05
4+
5+
Online model inference. First coordinated OpenRec source release.
6+
7+
## Features
8+
9+
- FastAPI scoring for source users and item or user candidates, using LR, FM and LightGBM models.
10+
- Shared encoders and feature contracts from rec-algorithm, Redis feature snapshots, and refreshable time-window features.
11+
- Versioned model loading, retained activation state, startup recovery and readiness checks.
12+
- Explicit feature-sidecar validation, scoring metrics and CPU/CUDA device configuration.
13+
- Session and request feature transport where supported by the selected model contract.
14+
15+
## Installation and compatibility
16+
17+
Build with rec-algorithm `v0.1.0`. Model weights, fitted feature sidecars and selected definitions must be compatible. Default bootstrap models live under `rank/item` and `rank/user`; trained releases and activation state use separate runtime storage.
18+
19+
The service loads and scores models; offline training belongs to rec-algorithm. Standalone normally bypasses ranking. A nonempty rec-server response alone does not establish that ranking succeeded; cluster acceptance checks rank scores.
20+
21+
## Validation and known boundaries
22+
23+
See this repository's README for build/test commands and deployment requirements. The coordinated release's [validation record](https://github.com/open-rec/openrec/blob/v0.1.0/release/VALIDATION.md) distinguishes checks executed for this release from historical integration evidence.
24+
25+
This initial release establishes a versioned source baseline. Source archives and checksums are published; external package registries and container registries are not populated by the source-release workflow. Upgrade the complete compatible distribution, retain data/checkpoints/artifacts, and preserve prior component refs for rollback.

‎VERSION‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
0.1.0

‎server.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
from service.feature_service import FeatureService
2929
from util.redis_util import get_redis_client
3030

31-
app = FastAPI(title="OpenRec Rank Engine", version="1.0")
31+
app = FastAPI(title="OpenRec Rank Engine", version="0.1.0")
3232
model = None
3333
model_info = None
3434
user_model = None

0 commit comments

Comments
 (0)