Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
576 commits
Select commit Hold shift + click to select a range
13f952c
BigQuery fixes (#12057)
MinuraPunchihewa Jan 7, 2026
1616776
Fix healthcheck timeout when api workers are busy (#12059)
hamishfagg Jan 7, 2026
e42a570
Update permissions in tests_unit.yml (#12060)
lucas-koontz Jan 8, 2026
f8d78a4
Patch Release 25.13.1 (#12056)
MinuraPunchihewa Jan 8, 2026
16eb2e5
Faiss handler with flat index (#11839)
ea-rus Jan 8, 2026
27ca38d
Merge branch 'main' into releases/25.14.0
MinuraPunchihewa Jan 9, 2026
6902138
build snowflake image (#12077)
hamishfagg Jan 9, 2026
24ac2e8
Merge branch 'main' into releases/25.14.0
MinuraPunchihewa Jan 9, 2026
c05842d
bumped version for rc release
MinuraPunchihewa Jan 9, 2026
8f56e5c
Update GitHub Readme (#12036)
C0staTin Jan 9, 2026
4991aa8
Merge branch 'main' into releases/25.14.0
ea-rus Jan 12, 2026
6e2f4e2
Docker main deps (#12087)
ZoranPandovski Jan 12, 2026
56b8fb5
Make MySQL DC row count optional (#12027)
ZoranPandovski Jan 13, 2026
d05e859
Bump filelock from 3.18.0 to 3.20.1 in /requirements (#12019)
dependabot[bot] Jan 13, 2026
ad68856
Feature/hubsot handler updates (#12058)
tino097 Jan 13, 2026
831a10c
Handling `ImportError` when use the `--load-tokenizer` option (#12092)
StpMax Jan 14, 2026
1c91ff6
Remove associate tables, fix issue with non existing columns
tino097 Jan 14, 2026
1a33fad
Ruff format
tino097 Jan 14, 2026
f01190c
Include association API
tino097 Jan 14, 2026
8f14e13
Revert "Update GitHub Readme" (#12094)
martyna-mindsdb Jan 15, 2026
7e886a6
Bump parser dependency to support UNION in IN (#12098)
ea-rus Jan 15, 2026
bc193d3
Validate `MINDSDB_DB_CON` env var (#12091)
StpMax Jan 15, 2026
775537e
Merge remote-tracking branch 'origin/releases/25.14.0' into fqe-1970-…
tino097 Jan 15, 2026
9f3a61d
Fix if nan is inserted in knowledge base (#12097)
ea-rus Jan 15, 2026
5fcd320
Cleanup code
tino097 Jan 15, 2026
cbc5289
Ruff format
tino097 Jan 15, 2026
239b7b3
Merge remote-tracking branch 'origin/releases/25.14.0' into fqe-1970-…
tino097 Jan 15, 2026
ddaffcd
Add faiss deps to Docker (#12105)
ZoranPandovski Jan 15, 2026
6df94bc
Merge remote-tracking branch 'origin/releases/25.14.0' into fqe-1970-…
tino097 Jan 15, 2026
38a316a
Remove associate tables, fix issue with non existing columns (#12101)
tino097 Jan 15, 2026
0197cb4
Skip tests on asset changes (#12109)
hamishfagg Jan 15, 2026
728fb78
Enable deployment and testing workflows (#12095)
lucas-koontz Jan 15, 2026
a565132
Rmv default handlers (#12103)
ZoranPandovski Jan 16, 2026
ffd170b
Shopify handler update (#11867)
StpMax Jan 16, 2026
51ede94
Merge branch 'main' into releases/25.14.0
ea-rus Jan 19, 2026
cad2369
release version
ea-rus Jan 19, 2026
2ab45b1
Bump `mindsdb-sql-parser` to ~0.13.7 (#12116)
StpMax Jan 19, 2026
acbf55e
Releases 25.14.0 (#12026)
ea-rus Jan 19, 2026
2435ea2
Adds unit and integration tests to production deploy (#12117)
lucas-koontz Jan 19, 2026
f19bc10
Enhances CI for release deployment (#12118)
lucas-koontz Jan 19, 2026
335d4d5
Merge branch 'releases/v26.0.0' into releases/26.0.0
ea-rus Jan 20, 2026
a075468
Merge branch 'main' into releases/26.0.0
ea-rus Jan 20, 2026
9446130
Updates Slack notification with release tag (#12119)
lucas-koontz Jan 20, 2026
32fe274
Verify Confluence handler (#12112)
ZoranPandovski Jan 20, 2026
c00d7da
Tests reports (#12090)
ZoranPandovski Jan 21, 2026
8c12fc4
Release `25.14.1` (#12128)
StpMax Jan 21, 2026
0e6af05
Solve requirements
ZoranPandovski Jan 21, 2026
7dfca1f
Rmv default handlers.txt
ZoranPandovski Jan 21, 2026
8c917a3
Merge remote-tracking branch 'origin' into remove_langchain
ZoranPandovski Jan 21, 2026
1c52093
post merge fixes
ea-rus Jan 21, 2026
0c341a4
Merge branch 'main' into releases/26.0.0
StpMax Jan 21, 2026
45a5090
Merge branch 'releases/26.0.0' into remove_langchain
StpMax Jan 21, 2026
b10e82f
formatting
StpMax Jan 21, 2026
9a87f54
del `sentence_transformers_handler`
StpMax Jan 21, 2026
c94e631
del `writer_handler`
StpMax Jan 21, 2026
fb128b5
add bs4 to main requirements
StpMax Jan 21, 2026
a5d896a
del dependencies
StpMax Jan 21, 2026
6968b03
fix test
StpMax Jan 21, 2026
16798ff
del skills namespace
StpMax Jan 21, 2026
2037864
del skills unit test
StpMax Jan 21, 2026
f79783a
fix test_retrieval_tool
StpMax Jan 22, 2026
c51117f
ruff
StpMax Jan 22, 2026
a113010
Rework `meta_*` metthods of `Oracle` handler
StpMax Jan 22, 2026
c006999
Add additional tables and associations
tino097 Jan 22, 2026
4920f50
Use pgvector as the default kb store in docker-compose (#11994)
hamishfagg Jan 22, 2026
c77991a
Extract date comparasions and searching by date
tino097 Jan 22, 2026
5e3f59c
Update README file
tino097 Jan 22, 2026
42d8580
Merge remote-tracking branch 'origin/releases/26.0.0' into current-re…
tino097 Jan 22, 2026
0015d1d
fix test_generic_api_key
StpMax Jan 23, 2026
cfb8b40
fix Language enum
StpMax Jan 23, 2026
2bd5d06
fix text splitter (?)
StpMax Jan 23, 2026
1c44bc3
ruff
StpMax Jan 23, 2026
04956a0
fix test_agents
StpMax Jan 23, 2026
92d5dca
ruff
StpMax Jan 23, 2026
f104dca
Remove print statements
tino097 Jan 23, 2026
3de16cd
Fix typo in integrations directory path in LICENSE (#12048)
PPeitsch Jan 23, 2026
4e8ba3b
Update `meta_*` methods of the `Oracle` handler (#12134)
tino097 Jan 23, 2026
180467d
system to chart queries (#12000)
torrmal Jan 23, 2026
025f105
fix test_knowledge_base
StpMax Jan 23, 2026
c2961f4
ruff
StpMax Jan 23, 2026
a96f78e
Make `track_column` parameter case-insensitive (#12100)
StpMax Jan 23, 2026
841b662
Add `support_level` property to handlers (#12099)
StpMax Jan 23, 2026
a5c2473
KB: fix showing columns in mixed case (#12107)
ea-rus Jan 26, 2026
0402bbb
ignore some dependencies when check for DEP002 (#12147)
StpMax Jan 26, 2026
20aec9b
[Snyk] Security upgrade urllib3 from 1.26.20 to 2.6.0 (#11985)
AndrewFarley Jan 26, 2026
983e500
[Snyk] Security upgrade urllib3 from 2.0.7 to 2.6.0 (#11976)
AndrewFarley Jan 26, 2026
b488d36
[Snyk] Security upgrade urllib3 from 2.0.7 to 2.6.0 (#11977)
AndrewFarley Jan 26, 2026
8549dec
[Snyk] Security upgrade urllib3 from 2.0.7 to 2.6.0 (#11979)
AndrewFarley Jan 26, 2026
6d3b30a
[Snyk] Security upgrade urllib3 from 1.26.20 to 2.6.0 (#11984)
AndrewFarley Jan 26, 2026
6ea214b
[Snyk] Security upgrade urllib3 from 1.26.20 to 2.6.0 (#11983)
AndrewFarley Jan 26, 2026
ed7152d
[Snyk] Security upgrade urllib3 from 2.0.7 to 2.6.0 (#11982)
AndrewFarley Jan 26, 2026
e4d2cb8
[Snyk] Security upgrade urllib3 from 1.26.20 to 2.6.3 (#12069)
AndrewFarley Jan 26, 2026
201c116
[Snyk] Security upgrade urllib3 from 2.0.7 to 2.6.0 (#11980)
AndrewFarley Jan 26, 2026
90d4d1e
[Snyk] Security upgrade urllib3 from 2.0.7 to 2.2.2 (#11818)
AndrewFarley Jan 26, 2026
369d553
[Snyk] Security upgrade urllib3 from 2.0.7 to 2.2.2 (#11817)
AndrewFarley Jan 26, 2026
8159fe8
[Snyk] Security upgrade urllib3 from 2.0.7 to 2.6.3 (#12074)
AndrewFarley Jan 26, 2026
4d7172d
[Snyk] Fix for 5 vulnerabilities (#11819)
AndrewFarley Jan 26, 2026
e712fa6
[Snyk] Fix for 4 vulnerabilities (#11820)
AndrewFarley Jan 26, 2026
f27ed81
[Snyk] Security upgrade starlette from 0.29.0 to 0.49.1 (#11832)
AndrewFarley Jan 26, 2026
e0da954
[Snyk] Security upgrade keras from 2.11.0 to 3.12.0 (#11833)
AndrewFarley Jan 26, 2026
9d114f7
[Snyk] Security upgrade protobuf from 3.19.6 to 4.25.8 (#11866)
AndrewFarley Jan 26, 2026
cfa366e
[Snyk] Security upgrade numpy from 1.21.3 to 1.22.2 (#11924)
AndrewFarley Jan 26, 2026
ca7ab8b
[Snyk] Security upgrade aiohttp from 3.8.6 to 3.13.3 (#12055)
AndrewFarley Jan 26, 2026
83082e2
[Snyk] Security upgrade aiohttp from 3.8.6 to 3.13.3 (#12061)
AndrewFarley Jan 26, 2026
1d08ce1
[Snyk] Security upgrade fugue from 0.8.6 to 0.9.3 (#11965)
AndrewFarley Jan 26, 2026
2e49619
[Snyk] Security upgrade sqlparse from 0.4.4 to 0.5.4 (#11963)
AndrewFarley Jan 26, 2026
a06af6b
[Snyk] Fix for 3 vulnerabilities (#11967)
AndrewFarley Jan 26, 2026
55bc149
[Snyk] Security upgrade sqlparse from 0.4.4 to 0.5.4 (#11966)
AndrewFarley Jan 26, 2026
1e671fc
[Snyk] Security upgrade sqlparse from 0.4.4 to 0.5.4 (#11968)
AndrewFarley Jan 26, 2026
1ef07df
[Snyk] Security upgrade filelock from 3.12.2 to 3.20.3 (#12085)
AndrewFarley Jan 26, 2026
6c584da
[Snyk] Security upgrade azure-core from 1.30.1 to 1.38.0 (#12102)
AndrewFarley Jan 26, 2026
f116628
[Snyk] Security upgrade pyasn1 from 0.5.1 to 0.6.2 (#12115)
AndrewFarley Jan 26, 2026
8818750
[Snyk] Security upgrade mintlify from 4.2.248 to 4.2.296 (#12146)
AndrewFarley Jan 26, 2026
a1c5a47
[Snyk] Security upgrade sentencepiece from 0.2.0 to 0.2.1 (#12145)
AndrewFarley Jan 26, 2026
eb4740b
[Snyk] Security upgrade marshmallow from 3.19.0 to 3.26.2 (#12042)
AndrewFarley Jan 26, 2026
63edcce
Do not raise 'duplicates' error for snyk-pinned requirements (#12150)
StpMax Jan 26, 2026
291a65e
Merge branch 'releases/26.0.0' into current-rework-hubspot
tino097 Jan 26, 2026
caef128
Merge branch 'releases/26.0.0' into remove_langchain
StpMax Jan 26, 2026
8a17ca6
del urllib3 dependency from elasticsearch handler
StpMax Jan 27, 2026
6072709
del elasticsearch from docker-bake
StpMax Jan 27, 2026
5726028
fix function_maker
StpMax Jan 27, 2026
d17b781
Merge branch 'releases/26.0.0' into feature/databricks-handler-updates
tino097 Jan 27, 2026
c3c56e5
Refactor from the review comments and ruff format
tino097 Jan 27, 2026
519b36c
Bound `numba` extra dependency version (#12135)
StpMax Jan 27, 2026
e1c8585
force to use table aliases in joins
ea-rus Jan 27, 2026
b9065f0
change default mode
ea-rus Jan 27, 2026
3d73060
Delete `dspy` handler (#12160)
StpMax Jan 27, 2026
fb2b280
Merge branch 'releases/26.0.0' into remove_langchain
StpMax Jan 27, 2026
e4ab309
return elasticsearch to docker-bake
StpMax Jan 27, 2026
9669fa0
Replace typing types with builtins
tino097 Jan 27, 2026
010eed0
Merge remote-tracking branch 'origin/releases/26.0.0' into current-re…
tino097 Jan 27, 2026
fc6d3c6
fix charts
ea-rus Jan 27, 2026
82e82f7
MCP Config changes for host allow using environment variables (#12110)
Sweetdevil144 Jan 27, 2026
1503aee
Faiss ivf index (#11992)
ea-rus Jan 28, 2026
cf416d4
Api handler fixes (#11998)
torrmal Jan 28, 2026
e7ef3d3
Merge branch 'releases/26.0.0' into remove_langchain
StpMax Jan 28, 2026
4751346
Merge remote-tracking branch 'origin/releases/26.0.0' into current-re…
tino097 Jan 28, 2026
95e1cf1
Merge remote-tracking branch 'origin/releases/26.0.0' into feature/da…
tino097 Jan 28, 2026
5930586
Feature/databricks handler updates (#12158)
tino097 Jan 28, 2026
fbaebde
Merge branch 'releases/26.0.0' into current-rework-hubspot
tino097 Jan 28, 2026
5e99d80
HubSpot Handler rework (#12136)
tino097 Jan 28, 2026
c32f861
add images for readme files update (#12151)
C0staTin Jan 28, 2026
a2ae9fc
Snowflake DataCatalog Fix (#12166)
ZoranPandovski Jan 29, 2026
1bcb962
f
ZoranPandovski Jan 29, 2026
01f4748
Adds user id scope to resources (#12140)
lucas-koontz Jan 29, 2026
da8a56a
Add Netsuite API integration (#12121)
ZoranPandovski Jan 29, 2026
d83284f
Pydantic agent logs (#12165)
ea-rus Jan 29, 2026
3d126c9
Mark community supported integrations (#12171)
StpMax Jan 29, 2026
950a6f6
Allow native query for Shopify handler (#12164)
StpMax Jan 29, 2026
7e649d5
Pydantic agent: text response in stream mode (#12175)
ea-rus Jan 29, 2026
72ea07e
Skip min/max for complex types (#12168)
ZoranPandovski Jan 30, 2026
858d14a
Merge remote-tracking branch 'origin/releases/26.0.0' into releases/2…
ZoranPandovski Jan 30, 2026
f9bc5ca
Fix: Knowledge Base ID duplicates on second insert (#12142)
ea-rus Jan 30, 2026
a29cb3b
Deprecate `lightwood` and `ludwig` (#12124)
StpMax Jan 30, 2026
b541dc8
Merge branch 'releases/26.0.0' into remove_langchain
StpMax Jan 30, 2026
23f748c
ruff
StpMax Jan 30, 2026
0392c2d
fix
StpMax Jan 30, 2026
29c5e94
ruff
StpMax Jan 30, 2026
994a755
fix plan_api_db_select
StpMax Jan 30, 2026
c3b19e0
fix
StpMax Jan 30, 2026
5a57d49
fix
StpMax Jan 30, 2026
75d7fd0
fix LLM function
StpMax Jan 30, 2026
4474cfa
Proper extraction of query targets in API Handler (#12173)
StpMax Jan 30, 2026
7e0732f
Updated mssql version in render to 2012 (#12104)
ea-rus Feb 2, 2026
121a1b3
Fix KB ID duplicates for pgvector (#12177)
ea-rus Feb 2, 2026
3609beb
Shopify handler: validate targets list before query (#12172)
StpMax Feb 2, 2026
600caf6
Merge branch 'releases/26.0.0' into remove_langchain
StpMax Feb 2, 2026
8817992
Remove langchain (#11971)
StpMax Feb 2, 2026
a219a21
Enforces user-based data isolation (#12169)
lucas-koontz Feb 2, 2026
ab3b3fb
add DeepExtractField
StpMax Feb 3, 2026
6264cff
extract MoneyBag in Orders
StpMax Feb 3, 2026
3702a6f
Make KB Insert Batch by default (#12156)
ea-rus Feb 3, 2026
bb24f7a
uglify
StpMax Feb 3, 2026
6dab1d6
Deprecate chromadb (#12141)
ea-rus Feb 3, 2026
1fbe88f
[BUG] - File Datasource Visible in UI but Not Queryable After Docker …
setohe0909 Feb 3, 2026
4e58724
Fix pruning ambiguous columns (#12159)
ea-rus Feb 3, 2026
ae6305c
[BUG] - Query charting fails (#12187)
setohe0909 Feb 3, 2026
872d753
Extract Shopify MoneyBag fields (#12188)
StpMax Feb 4, 2026
3a60bbd
Make schema field required for snowflake (#12176)
tino097 Feb 4, 2026
07a0a5c
Check connection when `PUT /database/{name}` (#12190)
StpMax Feb 4, 2026
93ea230
Del `email_confirmed` property (#12191)
StpMax Feb 4, 2026
51ece5d
Databricks interval issue (#12174)
tino097 Feb 4, 2026
97dc7d9
removed all ml handlers (#12189)
martyna-mindsdb Feb 4, 2026
2a96555
Hubspot pip install issue (#12193)
tino097 Feb 5, 2026
3582931
Fixed Postgres Queries for Data Catalog Retrieval (#12196)
MinuraPunchihewa Feb 5, 2026
2e1fe1d
Fix file upload vulnarability (#12194)
StpMax Feb 5, 2026
9f08d7a
Pydantic agent prompts (#12192)
ea-rus Feb 5, 2026
83eb1b4
Agent fix for oracle: map columns case-independent (#12199)
ea-rus Feb 5, 2026
4f52aa7
Fix `Shopify` query limit (#12198)
StpMax Feb 6, 2026
cc4f631
Fix API handlers (#12200)
StpMax Feb 6, 2026
b06027b
Fix for insert a function value (#12195)
tino097 Feb 6, 2026
62d564b
Make user_id scoping optional via context flag (#12202)
lucas-koontz Feb 10, 2026
b7734ec
Makes user_id scoping configurable for filtering by organization (#12…
lucas-koontz Feb 10, 2026
dab2bb7
Fix agent with KB usage (#12204)
ea-rus Feb 10, 2026
6f99d34
Initial version of dc
ZoranPandovski Feb 10, 2026
c3f0383
Agent KB prompt: don't use join after where (#12203)
ea-rus Feb 10, 2026
982c8cd
Files migration: fix wrong filepath (#12206)
ea-rus Feb 11, 2026
f579824
Update version to 26.0.0 (#12207)
tino097 Feb 11, 2026
d292063
Merge remote-tracking branch 'origin/netsuite-dc' into feature/netsui…
tino097 Feb 11, 2026
6732ecd
Add metadata changes from #12215
tino097 Feb 11, 2026
11f3358
Ruff
tino097 Feb 11, 2026
468eb4d
Remove prints
tino097 Feb 11, 2026
0ededab
Ruff format
tino097 Feb 11, 2026
084cd43
Ruff format
tino097 Feb 11, 2026
0507e32
Fix possible infinite loop in agents (#12211)
StpMax Feb 11, 2026
09c3381
Fix test
tino097 Feb 11, 2026
75ad86e
Merge remote-tracking branch 'origin/releases/26.0.0' into feature/ne…
tino097 Feb 11, 2026
8b29e56
Skip test_kb_partitions on Darwin
tino097 Feb 11, 2026
6a13056
Merge branch 'main' into releases/26.0.0
lucas-koontz Feb 12, 2026
f2850bb
Prevent memory overflow when duckdb is used (#12209)
ea-rus Feb 12, 2026
214b2ca
Keep the base_path for add/update/remove functionality
tino097 Feb 12, 2026
63b1031
Fix render of `list in select` (#12212)
ea-rus Feb 12, 2026
7e3b123
Adds enforce_user_id to Context class (#12221)
lucas-koontz Feb 12, 2026
d26ea17
Update README
tino097 Feb 12, 2026
514169c
Merge remote-tracking branch 'origin/releases/26.0.0' into feature/ne…
tino097 Feb 12, 2026
e8756e5
Escaping identifiers in queries from an agent (#12223)
StpMax Feb 13, 2026
680875e
agent flow diagram
torrmal Feb 13, 2026
b6c7b60
Merge branch 'releases/26.0.0' into feature/netsuite-handler-updates
tino097 Feb 13, 2026
2265e35
Feature/netsuite handler updates (#12218)
tino097 Feb 13, 2026
02bd365
Update available memory check in snowflake handler (#12225)
StpMax Feb 17, 2026
039efe9
Bugfix/agent prompt updates (#12222)
tino097 Feb 17, 2026
dfeadb5
Bump version to 26.0.0rc1
StpMax Feb 17, 2026
fad3f27
fix deploy_prod action
StpMax Feb 17, 2026
af9912f
Fix aggregate from subselect (#12231)
ea-rus Feb 19, 2026
fd229f9
bump version to 26.0.0rc2
StpMax Feb 19, 2026
e5091af
Enable netusite cloud (#12235)
tino097 Feb 20, 2026
0b3bd6b
bump version to v26.0.0rc3
StpMax Feb 20, 2026
929ff74
mindsdb documentation updates (#12130)
martyna-mindsdb Feb 20, 2026
2b963cb
Add 'shopify' to extras in docker-bake.hcl
lucas-koontz Feb 20, 2026
aebbe50
Disable `BYOM` by default (#12236)
StpMax Feb 24, 2026
4af581d
bump version to 26.0.0
StpMax Feb 25, 2026
5cad29d
Releases/26.0.0 (#12123)
StpMax Feb 25, 2026
dcc4b82
Update README.md (#12248)
C0staTin Feb 26, 2026
aeca4da
have native query passthrough (#12264)
torrmal Mar 3, 2026
8a0a28a
docs homepage
martyna-mindsdb Mar 4, 2026
77f5f34
draft homepage
martyna-mindsdb Mar 6, 2026
3f49e7c
mintlify update (#12275)
martyna-mindsdb Mar 6, 2026
3ec0c73
updates
martyna-mindsdb Mar 9, 2026
73d02e9
fix: Optimize get_integration by fetching directly from DB (#11973)
SyedaAnshrahGillani Mar 10, 2026
0dd0a40
Revert "fix: Optimize get_integration" (#12280)
StpMax Mar 10, 2026
e4fc1b2
Change trigger branch from 'develop' to 'main' (#12131)
lucas-koontz Mar 29, 2026
34a9615
updates
martyna-mindsdb Mar 30, 2026
9089a94
updates
martyna-mindsdb Mar 30, 2026
3639566
docs homepage (#12269)
alecantu7 Apr 1, 2026
db74da4
fixing docs homepage
martyna-mindsdb Apr 2, 2026
e16b6ac
fixing docs homepage (#12353)
alecantu7 Apr 2, 2026
389e2ae
docs homepage redirect
martyna-mindsdb Apr 2, 2026
05aad66
docs homepage redirect (#12356)
alecantu7 Apr 2, 2026
d2ceabc
docs homepage fix (#12370)
martyna-mindsdb Apr 9, 2026
c99b275
Update README with MindsDB product details (#12382)
torrmal Apr 15, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
8 changes: 6 additions & 2 deletions .github/workflows/build_deploy_dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,16 @@ name: Build and deploy to dev

permissions:
contents: read
pull-requests: write
pages: write
id-token: write

on:
pull_request:
types: [opened, reopened, synchronize, labeled]
branches:
- 'main'
- 'develop'
- 'releases/*'

# Cancel any existing runs of this workflow on the same branch/pr
# We always want to build/deploy/test a new commit over an older one
Expand All @@ -30,7 +33,8 @@ jobs:
predicate-quantifier: "every"
filters: |
not-docs:
- '!docs/**'
- '!docs/**'
- '!assets/**'
- '!**/*.md'
- '!.github/workflows/build_deploy_dev.yml'
- '!.github/workflows/test_on_deploy.yml'
Expand Down
160 changes: 90 additions & 70 deletions .github/workflows/build_deploy_prod.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@ name: Build and deploy release

permissions:
contents: read
pull-requests: write
pages: write
id-token: write

on:
release:
Expand All @@ -18,10 +21,16 @@ concurrency:
cancel-in-progress: false

jobs:
run_unit_tests:
name: Run Unit Tests
uses: ./.github/workflows/tests_unit.yml
secrets: inherit

# Check that the version defined in the github release is valid
check-version:
name: Check Code Version
runs-on: mdb-dev
needs: [run_unit_tests]
if: github.actor != 'mindsdbadmin'
steps:
- uses: actions/checkout@v4
Expand All @@ -38,7 +47,7 @@ jobs:
deploy_to_pypi:
name: Publish to PyPI
runs-on: mdb-dev
needs: check-version
needs: [check-version, run_unit_tests]
if: github.actor != 'mindsdbadmin'
steps:
- uses: actions/checkout@v4
Expand Down Expand Up @@ -66,7 +75,7 @@ jobs:
build:
name: Build Docker Images
runs-on: mdb-dev
needs: [check-version]
needs: [check-version, run_unit_tests]
if: github.actor != 'mindsdbadmin'
steps:
- uses: actions/checkout@v4
Expand Down Expand Up @@ -96,15 +105,15 @@ jobs:
cache-only: true

# Call our deployment workflow
# deploy:
# name: Deploy to Prod
# needs: [build]
# uses: ./.github/workflows/deploy.yml
# with:
# deploy-envs: '["prod"]'
# image-tag: ${{ github.event.release.tag_name }}
# prod: true
# secrets: inherit
deploy:
name: Deploy to Prod
needs: [build]
uses: ./.github/workflows/deploy.yml
with:
deploy-envs: '["prod"]'
image-tag: ${{ github.event.release.tag_name }}
prod: true
secrets: inherit

# Trigger private repo to deploy the docker desktop extension
trigger_dd_extension_release:
Expand All @@ -124,63 +133,74 @@ jobs:
client_payload: '{"image-tag": "${{ env.CI_REF_NAME }}"}'

# Run integration tests
# TODO: Run these against the deployed environment
# run_tests:
# name: Run Integration Tests
# needs: [deploy]
# concurrency:
# group: ${{ github.workflow }}-${{ github.head_ref || github.ref }}-tests
# cancel-in-progress: true
# uses: ./.github/workflows/test_on_deploy.yml
# with:
# deploy-env: prod
# secrets: inherit
run_integration_tests:
name: Run Integration Tests
needs: [deploy]
concurrency:
group: deploy-prod
cancel-in-progress: false
uses: ./.github/workflows/tests_integration.yml
with:
git-sha: ${{ github.event.release.tag_name }}
deploy-env: prod
runs-on: mdb-prod
secrets: inherit

tests_completed:
name: All Tests Succeeded
needs: [run_unit_tests, run_integration_tests]
runs-on: mdb-dev
steps:
- name: fail if tests failed or didnt run
if: ${{ needs.run_unit_tests.result != 'success' || needs.run_integration_tests.result != 'success'}}
run: exit 1
- run: echo "Tests ran successfully"

# slack_message:
# if: failure() && !cancelled()
# name: Notify Slack
# # Every previous job needs to be in here, because failure() will only return true if the job that failed is in 'needs'
# needs: [check-version, deploy_to_pypi, build, build-cache, deploy, trigger_dd_extension_release, run_tests]
# runs-on: mdb-dev
# steps:
# - name: Notify of failing tests
# uses: slackapi/slack-github-action@v1.26.0
# with:
# channel-id: ${{ secrets.SLACK_ENG_CHANNEL_ID }}
# payload: |
# {
# "attachments": [
# {
# "color": "#FF4444",
# "blocks": [
# {
# "type": "header",
# "text": {
# "type": "plain_text",
# "text": "TEST RUN FAILED ON RELEASE",
# "emoji": true
# }
# },
# {
# "type": "section",
# "text": {
# "type": "mrkdwn",
# "text": " "
# },
# "fields": [
# {
# "type": "mrkdwn",
# "text": "*Commit*\n<${{ github.server_url }}/${{ github.repository }}/commit/${{ github.sha }}|${{ github.sha }}>"
# },
# {
# "type": "mrkdwn",
# "text": "*Workflow Run*\n<${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}|${{ github.workflow }}>"
# }
# ]
# }
# ]
# }
# ]
# }
# env:
# SLACK_BOT_TOKEN: ${{ secrets.GH_ACTIONS_SLACK_BOT_TOKEN }}
slack_message:
if: failure() && !cancelled()
name: Notify Slack
# Every previous job needs to be in here, because failure() will only return true if the job that failed is in 'needs'
needs: [check-version, run_unit_tests, deploy_to_pypi, build, build-cache, deploy, trigger_dd_extension_release, run_integration_tests, tests_completed]
runs-on: mdb-dev
steps:
- name: Notify of failing tests
uses: slackapi/slack-github-action@v1.26.0
with:
channel-id: ${{ secrets.SLACK_ENG_CHANNEL_ID }}
payload: |
{
"attachments": [
{
"color": "#FF4444",
"blocks": [
{
"type": "header",
"text": {
"type": "plain_text",
"text": "TEST RUN FAILED ON RELEASE ${{ github.event.release.tag_name }}",
"emoji": true
}
},
{
"type": "section",
"text": {
"type": "mrkdwn",
"text": " "
},
"fields": [
{
"type": "mrkdwn",
"text": "*Commit*\n<${{ github.server_url }}/${{ github.repository }}/commit/${{ github.sha }}|${{ github.sha }}>"
},
{
"type": "mrkdwn",
"text": "*Workflow Run*\n<${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}|${{ github.workflow }}>"
}
]
}
]
}
]
}
env:
SLACK_BOT_TOKEN: ${{ secrets.GH_ACTIONS_SLACK_BOT_TOKEN }}
3 changes: 1 addition & 2 deletions .github/workflows/build_deploy_staging.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,7 @@ on:
- closed
branches:
- 'main'
- 'develop'
- 'release/*'
- 'releases/*'

concurrency:
group: ${{ github.workflow_ref }}
Expand Down
12 changes: 9 additions & 3 deletions .github/workflows/tests_integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,10 @@ on:
deploy-env:
required: true
type: string
runs-on:
required: false
type: string
default: "mdb-dev"
secrets:
OPENAI_API_KEY:
required: true
Expand All @@ -25,6 +29,10 @@ on:
deploy-env:
required: true
type: string
runs-on:
required: false
type: string
default: "mdb-dev"
secrets:
OPENAI_API_KEY:
required: true
Expand All @@ -43,7 +51,7 @@ jobs:
name: ${{ inputs.deploy-env }}
url: ${{ vars.MDB_ENV_URL }}
name: Run integration tests on deploy
runs-on: mdb-dev
runs-on: ${{ inputs.runs-on }}
steps:
- uses: actions/checkout@v4
with:
Expand All @@ -58,11 +66,9 @@ jobs:
- name: Install dependencies
run: |
uv pip install -r requirements/requirements-test.txt

- name: Run Integration Tests on Deploy
run: |
make integration_tests_slow
env:
OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }}
INTERNAL_URL: ${{ vars.MINDSDB_INTERNAL_URL }}

Loading
Loading