Skip to content

Release v0.91.0 Release PR#3349

Merged
sgoggins merged 141 commits intoreleasefrom
main
Nov 11, 2025
Merged

Release v0.91.0 Release PR#3349
sgoggins merged 141 commits intoreleasefrom
main

Conversation

@sgoggins
Copy link
Member

Description

  • Please include a summary of the change.

This PR fixes everything noted in the related PRS.

Notes for Reviewers

This version has been tested for 3 weeks at scale, and aside from a now known issue related to the GitHub events API, is stable.

Signed commits

  • Yes, I signed my commits.

mohsinm-dev and others added 30 commits July 27, 2025 19:38
Fix for GitHub Issue #3194 where releases collection was failing with
psycopg2.errors.UniqueViolation on releases_pkey constraint.

Root cause: GitHub API returns release IDs with trailing spaces that don't
match existing trimmed database records.

Changes:
- Add str().strip() to release_id processing in get_release_inf()
- Enhance duplicate detection in insert_release() with proper trimming
- Add early duplicate detection to prevent unnecessary database operations

Signed-off-by: mohsinm-dev <mohsin.mdev@gmail.com>
Signed-off-by: Isaac Milarsky <imilarsky@gmail.com>
Signed-off-by: Isaac Milarsky <imilarsky@gmail.com>
Signed-off-by: Isaac Milarsky <imilarsky@gmail.com>
Signed-off-by: Adrian Edwards <adredwar@redhat.com>
Signed-off-by: Isaac Milarsky <imilarsky@gmail.com>
Signed-off-by: Isaac Milarsky <imilarsky@gmail.com>
Signed-off-by: Isaac Milarsky <imilarsky@gmail.com>
Signed-off-by: Isaac Milarsky <imilarsky@gmail.com>
The code which parses the repos files interprets the first column as URL and the
second one as repo group ID, but all the examples were doing the opposite.

Signed-off-by: Mosè Giordano <m.giordano@ucl.ac.uk>
…/keys must be set

The non-interactive Docker compose workflow requires all the variables
`AUGUR_GIT{LA,HU}B_{USERNAME,API_KEY}` to be set even if they are going to be
unused, otherwise you get stuck waiting for [the prompt](https://github.com/chaoss/augur/blob/b0bb3b80402ee5fcd84bec7334e58a41f9f5ec8a/scripts/install/config.sh#L18-L29)
```
You entered a blank line, are you sure?
```

Signed-off-by: Mosè Giordano <m.giordano@ucl.ac.uk>
docker compose: Make it crystal clear that all the GitHub/GitLab user/keys must be set
Set default to 0. 

Signed-off-by: Sean P. Goggins <outdoors@acm.org>
add date filter to contributer resolution logic queries
Signed-off-by: Sean P. Goggins <s@goggins.com>
Signed-off-by: Sean P. Goggins <s@goggins.com>
Year not recognized without month and date.

Signed-off-by: Sean P. Goggins <outdoors@acm.org>
Signed-off-by: Adrian Edwards <adredwar@redhat.com>
Fix examples of repos CSV files
`git reset --hard <remote>` isn't a correct command, the argument of `git reset` must be a tree-ish, which a remote name alone isn't.

In some cases this command fails with
```
fatal: ambiguous argument 'origin': unknown revision or path not in the working tree.
Use '--' to separate paths from revisions, like this:
'git <command> [<revision>...] -- [<file>...]'
```

Signed-off-by: Mosè Giordano <765740+giordano@users.noreply.github.com>
Signed-off-by: Adrian Edwards <adredwar@redhat.com>
Fix `git reset` command to include remote default branch
Signed-off-by: Adrian Edwards <adredwar@redhat.com>
Signed-off-by: Adrian Edwards <adredwar@redhat.com>
Signed-off-by: Adrian Edwards <adredwar@redhat.com>
Signed-off-by: Adrian Edwards <adredwar@redhat.com>
Signed-off-by: Adrian Edwards <adredwar@redhat.com>
Signed-off-by: Adrian Edwards <adredwar@redhat.com>
MoralCode and others added 18 commits November 10, 2025 15:30
…ead-only components of the config

Signed-off-by: Adrian Edwards <adredwar@redhat.com>
Signed-off-by: Adrian Edwards <adredwar@redhat.com>
Signed-off-by: Adrian Edwards <adredwar@redhat.com>
Generated-by: Gpt-5 via cursor
Signed-off-by: Adrian Edwards <adredwar@redhat.com>
Signed-off-by: Adrian Edwards <adredwar@redhat.com>
Signed-off-by: Adrian Edwards <adredwar@redhat.com>
Signed-off-by: Adrian Edwards <adredwar@redhat.com>
…r each thing

This is a tuple so it can potentially scale up without impacting the method signature

Signed-off-by: Adrian Edwards <adredwar@redhat.com>
Signed-off-by: Adrian Edwards <adredwar@redhat.com>
Signed-off-by: Adrian Edwards <adredwar@redhat.com>
Signed-off-by: Adrian Edwards <adredwar@redhat.com>
Signed-off-by: Adrian Edwards <adredwar@redhat.com>
…add_value

Signed-off-by: Adrian Edwards <adredwar@redhat.com>
Signed-off-by: Adrian Edwards <adredwar@redhat.com>
Signed-off-by: Adrian Edwards <adredwar@redhat.com>
Signed-off-by: Adrian Edwards <adredwar@redhat.com>
Signed-off-by: Adrian Edwards <adredwar@redhat.com>
replace worker vmem config item with individual process counts
logger.info(f"The API is available at '{api_response.json()['route']}'")

processes = start_celery_worker_processes(float(worker_vmem_cap), disable_collection)
processes = start_celery_worker_processes((core_worker_count, secondary_worker_count, facade_worker_count), disable_collection)

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[pylint] reported by reviewdog 🐶
W0621: Redefining name 'processes' from outer scope (line 479) (redefined-outer-name)

Refactor config manager to use a hierarchical pattern.
Discussed extensively in maintainer meetings the past two weeks, and docker build issues are now resolved.
return Mock()


def test_jsonconfig_readonly_flags(mock_logger):

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[pylint] reported by reviewdog 🐶
W0621: Redefining name 'mock_logger' from outer scope (line 9) (redefined-outer-name)

assert cfg.empty is False


def test_jsonconfig_empty_true_false(mock_logger):

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[pylint] reported by reviewdog 🐶
W0621: Redefining name 'mock_logger' from outer scope (line 9) (redefined-outer-name)

assert JsonConfig({"A": {}}, mock_logger).empty is False


def test_jsonconfig_retrieve_has_get(mock_logger):

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[pylint] reported by reviewdog 🐶
W0621: Redefining name 'mock_logger' from outer scope (line 9) (redefined-outer-name)

("add_value", ("X", "y", 2), {"ignore_existing": False}),
],
)
def test_jsonconfig_mutations_raise_not_writable(mock_logger, callable_name, args, kwargs):

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[pylint] reported by reviewdog 🐶
W0621: Redefining name 'mock_logger' from outer scope (line 9) (redefined-outer-name)




def test_fetching_real_defaults(mock_logger, mock_session):

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[pylint] reported by reviewdog 🐶
W0621: Redefining name 'mock_logger' from outer scope (line 9) (redefined-outer-name)




def test_fetching_real_defaults(mock_logger, mock_session):

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[pylint] reported by reviewdog 🐶
W0621: Redefining name 'mock_session' from outer scope (line 13) (redefined-outer-name)

@sgoggins sgoggins requested a review from MoralCode November 11, 2025 15:33
@sgoggins sgoggins marked this pull request as ready for review November 11, 2025 15:34
@sgoggins sgoggins added this to the v0.91.0 Release milestone Nov 11, 2025
@sgoggins sgoggins requested a review from Ulincsys November 11, 2025 23:34
Copy link
Contributor

@MoralCode MoralCode left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

seems to work on my machine

@sgoggins sgoggins merged commit a886e28 into release Nov 11, 2025
22 of 23 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

admin Administrative/housekeeping/community tasks bug-fix Fixes a bug containers Related to augur in containers, container images, or the compose file, either in podman or in docker dependencies Pull requests that update a dependency file python Pull requests that update Python code workers Related to data workers

Projects

Status: Main

Development

Successfully merging this pull request may close these issues.