Skip to content

Conversation

Xiangs18
Copy link
Contributor

No description provided.

@Xiangs18 Xiangs18 changed the title Update test.yml Update test.yml and fix failed tests Jun 24, 2025
@Xiangs18
Copy link
Contributor Author

@MrCreosote Any idea what might be causing the Sample Service connection refused?

https://github.com/kbase/workspace_deluxe/actions/runs/15863570581/job/44725978140?pr=751#step:6:832

@MrCreosote
Copy link
Member

Not off the top of my head, you'll need to check the sample service logs

Copy link

codecov bot commented Jul 1, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 87.78%. Comparing base (53d4239) to head (b2c1dc0).
Report is 27 commits behind head on develop.

Additional details and impacted files
@@            Coverage Diff             @@
##             develop     #751   +/-   ##
==========================================
  Coverage      87.78%   87.78%           
  Complexity      5328     5328           
==========================================
  Files            228      228           
  Lines          17598    17598           
  Branches        2585     2585           
==========================================
  Hits           15448    15448           
  Misses          1694     1694           
  Partials         456      456           
🚀 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.

@Xiangs18 Xiangs18 requested a review from MrCreosote July 1, 2025 21:30
Comment on lines 19 to 34
# sample service dependencies
python-arango = "==5.0.0"
apscheduler = "==3.6.3"
apscheduler = "==3.11.0"
maps = "==5.1.1"
cacheout = "==0.11.2"
pyyaml = "==5.3"
jsonschema = "==3.2.0"
pint = "==0.10.1"
pint = "==0.17"
python-ranges = "==0.1.3"
pygtrie = "==2.3.2"
jinja2 = "==2.11.2"
gevent = "==20.5.0"
gunicorn = "==20.0.4"
gevent = "==24.11.1"
gunicorn = "==20.1.0"
kafka-python = "==2.0.1"
greenlet = "==0.4.16"
greenlet = "==3.1.1"
typing-extensions = "*"
Copy link
Member

Choose a reason for hiding this comment

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

These are all the same as what's current in sample service?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

yes

Copy link
Member

Choose a reason for hiding this comment

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

Looking at https://github.com/kbase/sample_service/blob/develop/Pipfile:

apscheduler = "==3.9.1"
cacheout = "==0.13.1"
pyyaml = "==6.0"
python-ranges = "==0.2.0"
pygtrie = "==2.4.2"
jinja2 = "==3.1.1"
kafka-python = "==2.0.2"
types-pyyaml = "==6.0.7"
types-requests = "==2.27.20"
shell = "==1.0.1"

.. are different. Am I looking in the wrong place?

Copy link
Contributor Author

@Xiangs18 Xiangs18 Jul 1, 2025

Choose a reason for hiding this comment

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

The dependency updates I made align with those currently used in the Sample Service, except for apscheduler. I can downgrade it to version 3.9.1 if preferred, but the original version is clearly causing issues.

Copy link
Member

Choose a reason for hiding this comment

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

So why is the pipfile in develop different?

Copy link
Member

Choose a reason for hiding this comment

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

Fixed. Now I'm not sure if I left something out...

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I've double-checked - it should be correct now.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Can you add those notes as comments into the pipfile please?

Done

Copy link
Member

Choose a reason for hiding this comment

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

Please just put the justifications for the deviations directly in the pipfile

Copy link
Contributor Author

Choose a reason for hiding this comment

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

added

@Xiangs18 Xiangs18 requested a review from MrCreosote July 1, 2025 21:51
@Xiangs18
Copy link
Contributor Author

Xiangs18 commented Jul 9, 2025

Self-note: The file /lib/biokbase/log.py already exists in Handle Service v1.0.7, so there's no need to retrieve it separately from https://raw.githubusercontent.com/kbase/sdkbase2 - it's the same file.

@Xiangs18 Xiangs18 requested a review from MrCreosote July 10, 2025 23:16
@Xiangs18 Xiangs18 merged commit 325125b into develop Jul 11, 2025
15 checks passed
@Xiangs18 Xiangs18 deleted the dev-update_ci_test branch July 11, 2025 19:22
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.

2 participants