Skip to content

Commit 6afd6db

Browse files
chore: restore focused PR tree
1 parent 95b8f0a commit 6afd6db

2,938 files changed

Lines changed: 98537 additions & 445123 deletions

File tree

Some content is hidden

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

.clusterfuzzlite/Dockerfile

Lines changed: 0 additions & 13 deletions
This file was deleted.

.clusterfuzzlite/build.sh

Lines changed: 0 additions & 26 deletions
This file was deleted.

.clusterfuzzlite/project.yaml

Lines changed: 0 additions & 5 deletions
This file was deleted.
Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
---
2+
name: Breaking change proposal
3+
about: Track a breaking change in Haystack
4+
title: ''
5+
labels: breaking change
6+
assignees: ''
7+
8+
---
9+
10+
## Summary and motivation
11+
12+
Briefly explain how the change is breaking and why it is needed.
13+
14+
## Checklist
15+
16+
### Tasks
17+
- [ ] The changes are merged in the `main` branch (Code + Docstrings)
18+
- [ ] Release notes have documented the breaking change
19+
- [ ] A new version of `haystack-ai` has been released on PyPI
20+
- [ ] Docs at https://docs.haystack.deepset.ai/ were updated
21+
- [ ] Integrations on [haystack-core-integrations](https://github.com/deepset-ai/haystack-core-integrations) were updated (if needed) - This step might require a [Breaking change proposal](https://github.com/deepset-ai/haystack-core-integrations/issues/new?assignees=&labels=breaking+change&projects=&template=breaking-change-proposal.md&title=) on the repo
22+
- [ ] Notebooks on https://github.com/deepset-ai/haystack-cookbook were updated (if needed)
23+
- [ ] Tutorials on https://github.com/deepset-ai/haystack-tutorials were updated (if needed)
24+
- [ ] Articles on https://github.com/deepset-ai/haystack-home/tree/main/content were updated (if needed)
25+
- [ ] Integration tile on https://github.com/deepset-ai/haystack-integrations was updated (if needed)

.github/ISSUE_TEMPLATE/bug_report.md

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,5 +27,9 @@ Steps to reproduce the behavior
2727
- [ ] Have you had a look at [our new FAQ page](https://docs.haystack.deepset.ai/docs/faq)?
2828

2929
**System:**
30-
- OS:
31-
- Haystack version:
30+
- OS:
31+
- GPU/CPU:
32+
- Haystack version (commit or version number):
33+
- DocumentStore:
34+
- Reader:
35+
- Retriever:

.github/dependabot.yml

Lines changed: 0 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -13,32 +13,3 @@ updates:
1313
interval: 'daily'
1414
cooldown:
1515
default-days: 1
16-
17-
- package-ecosystem: 'npm'
18-
directory: '/docs-website'
19-
schedule:
20-
interval: 'daily'
21-
cooldown:
22-
default-days: 1
23-
24-
# Tracks the digest-pinned `COPY --from` image (ghcr.io/astral-sh/uv) in
25-
# docker/Dockerfile.base. Note: the python:3.12-slim base/builder digests are
26-
# carried both as the build_image/base_image ARG defaults in Dockerfile.base
27-
# and in docker/docker-bake.hcl (which overrides them at build time).
28-
# Dependabot does NOT parse images that reach FROM via an ARG, nor the
29-
# `docker run` image strings in workflows, so bump those by hand and keep the
30-
# Dockerfile.base ARG defaults and docker-bake.hcl digests in sync.
31-
- package-ecosystem: 'docker'
32-
directory: '/docker'
33-
schedule:
34-
interval: 'daily'
35-
cooldown:
36-
default-days: 1
37-
38-
# Keeps the digest-pinned OSS-Fuzz base-builder in .clusterfuzzlite/Dockerfile fresh.
39-
- package-ecosystem: 'docker'
40-
directory: '/.clusterfuzzlite'
41-
schedule:
42-
interval: 'daily'
43-
cooldown:
44-
default-days: 1

.github/utils/prepare_release_notification.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33
#
44
# Requires: VERSION, RUN_URL, HAS_FAILURE, GH_TOKEN, GITHUB_REPOSITORY
55
# Optional: IS_RC, IS_FIRST_RC, MAJOR_MINOR, GITHUB_URL, PYPI_URL, DOCKER_URL,
6-
# BUMP_VERSION_PR_URL, DC_PIPELINE_TEMPLATES_PR_URL, DC_CUSTOM_NODES_PR_URL,
7-
# HAYSTACK_RUNTIME_PR_URL, GITHUB_WORKSPACE
6+
# BUMP_VERSION_PR_URL, DC_PIPELINE_TEMPLATES_PR_URL, CUSTOM_NODES_PR_URL,
7+
# DC_PIPELINE_IMAGES_PR_URL, GITHUB_WORKSPACE
88
# Output: slack_payload.json
99
#
1010
# This script is used in the release.yml workflow to prepare the notification payload
@@ -64,7 +64,7 @@ if [[ "${IS_RC:-}" == "true" ]]; then
6464
PLATFORM_PRS=""
6565
[[ -n "${DC_PIPELINE_TEMPLATES_PR_URL:-}" ]] && PLATFORM_PRS+=$'\n'"- <${DC_PIPELINE_TEMPLATES_PR_URL}|dc-pipeline-templates>"
6666
[[ -n "${DC_CUSTOM_NODES_PR_URL:-}" ]] && PLATFORM_PRS+=$'\n'"- <${DC_CUSTOM_NODES_PR_URL}|deepset-cloud-custom-nodes>"
67-
[[ -n "${HAYSTACK_RUNTIME_PR_URL:-}" ]] && PLATFORM_PRS+=$'\n'"- <${HAYSTACK_RUNTIME_PR_URL}|haystack-runtime>"
67+
[[ -n "${DC_PIPELINE_IMAGES_PR_URL:-}" ]] && PLATFORM_PRS+=$'\n'"- <${DC_PIPELINE_IMAGES_PR_URL}|dc-pipeline-images>"
6868
if [[ -n "${PLATFORM_PRS}" ]]; then
6969
TXT+=$'\n\n'":factory: *Test PRs opened on Platform:*${PLATFORM_PRS}"
7070
fi

.github/utils/promote_unstable_docs_docusaurus.py

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,10 @@
2323
sys.exit("Version must be formatted like so <major>.<minor>")
2424

2525
target_version = f"{args.version}" # e.g., "2.20" - the target release version
26+
major, minor = args.version.split(".")
2627

2728
target_unstable = f"{target_version}-unstable" # e.g., "2.20-unstable"
29+
previous_stable = f"{major}.{int(minor) - 1}" # e.g., "2.19" - previous stable release
2830

2931
versions = [
3032
folder.replace("version-", "")
@@ -81,15 +83,9 @@
8183
with open("docs-website/reference_versions.json", "w") as f:
8284
json.dump(reference_versions_list, f)
8385

84-
# in docusaurus.config.js, replace the current stable version (lastVersion) with the target version
86+
# in docusaurus.config.js, replace previous stable version with the target version
8587
with open("docs-website/docusaurus.config.js") as f:
8688
config = f.read()
87-
last_version_matches = set(re.findall(r"lastVersion: '([^']+)'", config))
88-
if not last_version_matches:
89-
sys.exit("Could not find any lastVersion entry in docusaurus.config.js")
90-
if len(last_version_matches) > 1:
91-
sys.exit(f"Found inconsistent lastVersion entries in docusaurus.config.js: {last_version_matches}")
92-
previous_stable = last_version_matches.pop() # e.g., "2.19" - previous stable release
9389
config = config.replace(f"lastVersion: '{previous_stable}'", f"lastVersion: '{target_version}'") # "2.19" -> "2.20"
9490
with open("docs-website/docusaurus.config.js", "w") as f:
9591
f.write(config)

.github/workflows/auto_approve_api_ref_sync.yml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,16 +12,14 @@ on:
1212
- "docs-website/reference_versioned_docs/**"
1313

1414
permissions:
15-
contents: read
15+
pull-requests: write
16+
contents: write
1617

1718
env:
1819
GH_TOKEN: ${{ github.token }}
1920

2021
jobs:
2122
auto-approve-and-merge:
22-
permissions:
23-
contents: write
24-
pull-requests: write
2523
if: |
2624
github.event.pull_request.user.login == 'HaystackBot' &&
2725
startsWith(github.event.pull_request.head.ref, 'sync-docusaurus-api-reference') &&

.github/workflows/branch_off.yml

Lines changed: 4 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
name: Branch off
22

33
on:
4+
workflow_dispatch:
45
workflow_call:
56
outputs:
67
bump_version_pr_url:
@@ -9,9 +10,6 @@ on:
910
env:
1011
PYTHON_VERSION: "3.10"
1112

12-
permissions:
13-
contents: read
14-
1513
jobs:
1614
branch-off:
1715
runs-on: ubuntu-slim
@@ -20,14 +18,9 @@ jobs:
2018

2119
steps:
2220
- name: Checkout this repo
23-
uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
21+
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
2422
with:
2523
ref: main
26-
# Persist the bot token so the branch/tag pushes below authenticate as
27-
# HaystackBot (a ruleset-bypass actor) instead of the default
28-
# github-actions[bot], which only has contents:read and is blocked by
29-
# the release rulesets.
30-
token: ${{ secrets.HAYSTACK_BOT_TOKEN }}
3124

3225
- name: Define all versions
3326
id: versions
@@ -58,11 +51,11 @@ jobs:
5851
git tag "v${{ steps.versions.outputs.next_version_rc0 }}" -m "v${{ steps.versions.outputs.next_version_rc0 }}"
5952
git push --tags
6053
61-
- uses: actions/setup-python@ece7cb06caefa5fff74198d8649806c4678c61a1 # v6.3.0
54+
- uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6.2.0
6255
with:
6356
python-version: "${{ env.PYTHON_VERSION }}"
6457

65-
- uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v7.0.0
58+
- uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0
6659
with:
6760
node-version: "22"
6861

0 commit comments

Comments
 (0)