-
Notifications
You must be signed in to change notification settings - Fork 845
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
PR File Patch / Varoius Bug Fixes #2790
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Signed-off-by: Sean Goggins <outdoors@acm.org>
scipy 1.13.0 breaks a lot of stuff
Signed-off-by: Sean P. Goggins <gogginss@missouri.edu>
Signed-off-by: Markus Hauru <mhauru@turing.ac.uk>
Signed-off-by: Isaac Milarsky <imilarsky@gmail.com>
Fix Facade Task Signature to Take `repo_git` instead of `repo_id`
Signed-off-by: Andrew Brain <andrewbrain2019@gmail.com>
Rollback transaction when query throws exception
Signed-off-by: Gary White Jr <7660110+GaryPWhite@users.noreply.github.com>
Signed-off-by: Gary White Jr <7660110+GaryPWhite@users.noreply.github.com>
add podman compose file
handle rate limiting and more repo load messages
Fix some typos and broken links in the docs
added `sudo apt-get install libpq-dev` as it wasn't installed by default on a new instance Signed-off-by: Sean P. Goggins <outdoors@acm.org>
Signed-off-by: Andrew Brain <andrewbrain2019@gmail.com>
Add full collection for messages
```bash Traceback (most recent call last): File "/home/ubuntu/github/virtualenvs/hosted/lib/python3.11/site-packages/celery/app/trace.py", line 451, in trace_task R = retval = fun(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^ File "/home/ubuntu/github/virtualenvs/hosted/lib/python3.11/site-packages/celery/app/trace.py", line 734, in __protected_call__ return self.run(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/ubuntu/github/augur/augur/tasks/github/pull_requests/files_model/tasks.py", line 18, in process_pull_request_files pull_request_files_model(repo.repo_id, logger, augur_db, manifest.key_auth) File "/home/ubuntu/github/augur/augur/tasks/github/pull_requests/files_model/core.py", line 68, in pull_request_files_model pr_file_rows += [{ ^^ File "/home/ubuntu/github/augur/augur/tasks/github/pull_requests/files_model/core.py", line 68, in <listcomp> pr_file_rows += [{ ^^ File "/home/ubuntu/github/augur/augur/tasks/github/util/gh_graphql_entities.py", line 344, in __iter__ coreData['totalCount'] ~~~~~~~~^^^^^^^^^^^^^^ TypeError: 'NoneType' object is not subscriptable ```
```python if coreData is not None: self.logger.info(f"... core data obtained") else: self.logger.info(f"Helen, the ghost in our machine, did not get a numerical result for core data (value): {data} \n Zero value assigned.") coreData['totalCount'] = 0 except KeyError as e: self.logger.error("Could not extract paginate result because there was no data returned") self.logger.error( ''.join(traceback.format_exception(None, e, e.__traceback__))) self.logger.info(f"Graphql paramters: {params}") return ```
```python try: if coreData is not None: if coreData.get('totalCount') is not None: self.logger.info("... core data obtained") else: self.logger.info(f"Helen, the ghost in our machine, did not get a numerical result for core data (value): {data} \n Zero value assigned.") coreData['totalCount'] = 0 else: self.logger.error("Core data is None, cannot proceed with operations on it.") except KeyError as e: self.logger.error("Could not extract paginate result because there was no data returned") self.logger.error(''.join(traceback.format_exception(None, e, e.__traceback__))) ```
Signed-off-by: Sean P. Goggins <s@goggins.com>
ABrain7710
previously approved these changes
May 13, 2024
Signed-off-by: Andrew Brain <andrewbrain2019@gmail.com>
Signed-off-by: Andrew Brain <andrewbrain2019@gmail.com>
sgoggins
commented
May 14, 2024
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
OK
sgoggins
added
deployed version
Live problems with deployed versions
API
Related to Augur's metrics API
CHAOSS
Issues that relate directly to our goal of being a good reference implementation of CHAOSS metrics
documentation
Updates documentation
docker
Related to our Docker images
CLI
Related to Augur's CLI
database
Related to Augur's unifed data model
discussion
Seeking active feedback, usually for items under active development
admin
Administrative/housekeeping/community tasks
bug-fix
Fixes a bug
add-feature
Adds new features
labels
May 14, 2024
Signed-off-by: Sean P. Goggins <s@goggins.com>
Signed-off-by: Andrew Brain <andrewbrain2019@gmail.com>
IsaacMilarky
approved these changes
May 20, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
add-feature
Adds new features
admin
Administrative/housekeeping/community tasks
API
Related to Augur's metrics API
bug-fix
Fixes a bug
CHAOSS
Issues that relate directly to our goal of being a good reference implementation of CHAOSS metrics
CLI
Related to Augur's CLI
database
Related to Augur's unifed data model
deployed version
Live problems with deployed versions
discussion
Seeking active feedback, usually for items under active development
docker
Related to our Docker images
documentation
Updates documentation
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
The purpose of this patch is primarily to reduce the number of errors associated with pull request file retrieval on GitHub. A number of specific errors are corrected as indicated by the extensive commit comments in this PR.
Yes, I signed my commits.