Skip to content

[Releases] v2.8.0#5812

Merged
frascuchon merged 13 commits intomainfrom
releases/2.8.0
Mar 10, 2025
Merged

[Releases] v2.8.0#5812
frascuchon merged 13 commits intomainfrom
releases/2.8.0

Conversation

@frascuchon
Copy link
Member

No description provided.

frascuchon and others added 10 commits January 21, 2025 14:11
# Description
<!-- Please include a summary of the changes and the related issue.
Please also include relevant motivation and context. List any
dependencies that are required for this change. -->

Closes #5794
Closes #5776

This PR also fixes CI build to run server tests using PostgreSQL as DB.

**Type of change**
<!-- Please delete options that are not relevant. Remember to title the
PR according to the type of change -->

- Bug fix (non-breaking change which fixes an issue)

**How Has This Been Tested**
<!-- Please add some reference about how your feature has been tested.
-->

**Checklist**
<!-- Please go over the list and make sure you've taken everything into
account -->

- I added relevant documentation
- I followed the style guidelines of this project
- I did a self-review of my code
- I made corresponding changes to the documentation
- I confirm My changes generate no new warnings
- I have added tests that prove my fix is effective or that my feature
works
- I have added relevant notes to the CHANGELOG.md file (See
https://keepachangelog.com/)
# Description
<!-- Please include a summary of the changes and the related issue.
Please also include relevant motivation and context. List any
dependencies that are required for this change. -->

Closes #5792

**Type of change**
<!-- Please delete options that are not relevant. Remember to title the
PR according to the type of change -->

- Bug fix (non-breaking change which fixes an issue)

**How Has This Been Tested**
<!-- Please add some reference about how your feature has been tested.
-->

**Checklist**
<!-- Please go over the list and make sure you've taken everything into
account -->

- I added relevant documentation
- I followed the style guidelines of this project
- I did a self-review of my code
- I made corresponding changes to the documentation
- I confirm My changes generate no new warnings
- I have added tests that prove my fix is effective or that my feature
works
- I have added relevant notes to the CHANGELOG.md file (See
https://keepachangelog.com/)
…5689)

# Description
<!-- Please include a summary of the changes and the related issue.
Please also include relevant motivation and context. List any
dependencies that are required for this change. -->

This PR improves the `social_core` integration, making setup backends
simpler.

Improvements:
- Reading `SOCIAL_AUTH_*` environment variables
- Remove unnecessary settings attribute `enabled`
- Add more backends with no-code: `extra_backends`* (some backends may
be not fully supported, but users can create issues for that)

**Type of change**
<!-- Please delete options that are not relevant. Remember to title the
PR according to the type of change -->

- Refactor (change restructuring the codebase without changing
functionality)
- Improvement (change adding some improvement to an existing
functionality)
- Documentation update

**How Has This Been Tested**
<!-- Please add some reference about how your feature has been tested.
-->

**Checklist**
<!-- Please go over the list and make sure you've taken everything into
account -->

- I added relevant documentation
- I followed the style guidelines of this project
- I did a self-review of my code
- I made corresponding changes to the documentation
- I confirm My changes generate no new warnings
- I have added tests that prove my fix is effective or that my feature
works
- I have added relevant notes to the CHANGELOG.md file (See
https://keepachangelog.com/)

---------

Co-authored-by: Leire Aguirre <leire@argilla.io>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Paul Bauriegel <paul.bauriegel@web.de>
)

# Description
<!-- Please include a summary of the changes and the related issue.
Please also include relevant motivation and context. List any
dependencies that are required for this change. -->


**Type of change**
<!-- Please delete options that are not relevant. Remember to title the
PR according to the type of change -->

- Bug fix (non-breaking change which fixes an issue)


**How Has This Been Tested**
<!-- Please add some reference about how your feature has been tested.
-->

**Checklist**
<!-- Please go over the list and make sure you've taken everything into
account -->

- I added relevant documentation
- I followed the style guidelines of this project
- I did a self-review of my code
- I made corresponding changes to the documentation
- I confirm My changes generate no new warnings
- I have added tests that prove my fix is effective or that my feature
works
- I have added relevant notes to the CHANGELOG.md file (See
https://keepachangelog.com/)
# Description
Added a variable to set `ARGILLA_ELASTICSEARCH_SSL_VERIFY` in the helm
chart.

_BTW: I have found there's no documentation for the helm values, I'd
love to create a one anytime._
@github-actions
Copy link

The URL of the deployed environment for this PR is https://argilla-quickstart-pr-5812-ki24f765kq-no.a.run.app

@codecov
Copy link

codecov bot commented Feb 17, 2025

Codecov Report

Attention: Patch coverage is 81.22066% with 40 lines in your changes missing coverage. Please review.

Project coverage is 91.54%. Comparing base (72fef19) to head (78cb518).
Report is 14 commits behind head on main.

Files with missing lines Patch % Lines
...erver/src/argilla_server/api/handlers/v1/oauth2.py 50.00% 18 Missing ⚠️
..._server/security/authentication/oauth2/provider.py 72.72% 9 Missing ⚠️
...server/security/authentication/oauth2/_backends.py 90.27% 7 Missing ⚠️
...ver/security/authentication/oauth2/auth_backend.py 0.00% 2 Missing ⚠️
...illa-server/src/argilla_server/validators/users.py 92.59% 2 Missing ⚠️
argilla-server/src/argilla_server/jobs/queues.py 75.00% 1 Missing ⚠️
...argilla_server/security/authentication/userinfo.py 91.66% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #5812      +/-   ##
==========================================
- Coverage   91.97%   91.54%   -0.43%     
==========================================
  Files         161      159       -2     
  Lines        6928     6991      +63     
==========================================
+ Hits         6372     6400      +28     
- Misses        556      591      +35     
Flag Coverage Δ
argilla-server 91.54% <81.22%> (-0.43%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

frascuchon and others added 3 commits February 17, 2025 11:39
# Description
<!-- Please include a summary of the changes and the related issue.
Please also include relevant motivation and context. List any
dependencies that are required for this change. -->


**Type of change**
<!-- Please delete options that are not relevant. Remember to title the
PR according to the type of change -->

- Bug fix (non-breaking change which fixes an issue)

**How Has This Been Tested**
<!-- Please add some reference about how your feature has been tested.
-->

**Checklist**
<!-- Please go over the list and make sure you've taken everything into
account -->

- I added relevant documentation
- I followed the style guidelines of this project
- I did a self-review of my code
- I made corresponding changes to the documentation
- I confirm My changes generate no new warnings
- I have added tests that prove my fix is effective or that my feature
works
- I have added relevant notes to the CHANGELOG.md file (See
https://keepachangelog.com/)
We are using a redis cluster setup, but the current code uses
redis.from_url which only works for Redis Standalone. See:
https://github.com/redis/redis-py/blob/ceb12fe8b52f488bd1e0a42b9dc53161e77514d0/redis/utils.py#L33

So I added a config-option to support Redis Cluster which should not
break the current default behavior only extend it.

**Type of change**
- New feature (non-breaking change which adds functionality)
- Documentation update

**How Has This Been Tested**
<!-- Please add some reference about how your feature has been tested.
-->
AWS Redis cluster deployment

**Checklist**
- I added relevant documentation
- I followed the style guidelines of this project
- I did a self-review of my code
- I made corresponding changes to the documentation
- I confirm My changes generate no new warnings
- I have added tests that prove my fix is effective or that my feature
works
- TODO - I have added relevant notes to the CHANGELOG.md file (See
https://keepachangelog.com/)

---------

Co-authored-by: David Berenstein <david.m.berenstein@gmail.com>
<!-- Please include a summary of the changes and the related issue.
Please also include relevant motivation and context. List any
dependencies that are required for this change. -->

Closes #5815

**Type of change**
<!-- Please delete options that are not relevant. Remember to title the
PR according to the type of change -->

- New feature (non-breaking change which adds functionality)

**How Has This Been Tested**
<!-- Please add some reference about how your feature has been tested.
-->

Checked that the UI works with the Japanese language by setting the
language in the local environment. Used
[docker-compose.yaml](https://github.com/argilla-io/argilla/blob/9bc5f101790a8d901884d2ba52a60f7b8f354f38/examples/deployments/docker/docker-compose.yaml)
for backend.

**Checklist**
<!-- Please go over the list and make sure you've taken everything into
account -->

- I added relevant documentation
- I followed the style guidelines of this project
- I did a self-review of my code
- I made corresponding changes to the documentation
- I confirm My changes generate no new warnings
- I have added tests that prove my fix is effective or that my feature
works
- I have added relevant notes to the CHANGELOG.md file (See
https://keepachangelog.com/)
@frascuchon frascuchon merged commit 78cb518 into main Mar 10, 2025
22 of 26 checks passed
@frascuchon frascuchon deleted the releases/2.8.0 branch March 10, 2025 09:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants