Skip to content

Merge to main to release version 5.5.1 - #3742

Open
briehl wants to merge 30 commits into
mainfrom
develop
Open

Merge to main to release version 5.5.1#3742
briehl wants to merge 30 commits into
mainfrom
develop

Conversation

@briehl

@briehl briehl commented Aug 12, 2026

Copy link
Copy Markdown
Member

No description provided.

dauglyon and others added 30 commits July 7, 2026 12:45
setCookie fell back to a hardcoded DEFAULT_TOKEN_LIFE of 14 days when
no expiration was supplied. With the login token lifetime moving from
two weeks to four weeks, that fallback would silently keep cookies at
the old 14-day value.

The production login and logout paths already pass an explicit expires
sourced from the auth service, so they are unaffected. The only caller
relying on the fallback was the localhost dev token-injection dialog.

- Remove DEFAULT_TOKEN_LIFE and require an integer expires in setCookie
  (throws otherwise), so cookie expiry must always come from the auth
  service rather than a hardcoded client-side lifetime.
- Dev token-injection dialog now fetches the token's real expiration via
  getTokenInfo and passes it through; invalid tokens are reported.
- Update authSpec setCookie call to pass an explicit expires.
Update dependencies and fix tests (part 1)
Dependency updates + Integration tests (part 2)
Dep updates july 2026 - Python (part 3)
Remove non-functional integration test GHA workflow and references to it
Remove hardcoded 14-day token lifetime from auth cookie handling
PTV-1930 fix datatable error when data is missing from FeatureClusters object
@sonarqubecloud

Copy link
Copy Markdown

@briehl
briehl requested a review from ialarmedalien August 12, 2026 13:47
-
name: Set up Docker Buildx
uses: docker/setup-buildx-action@master
uses: docker/setup-buildx-action@v4
-
name: Log in to the Container registry
uses: docker/login-action@master
uses: docker/login-action@v4
-
name: Build narrative image
uses: docker/build-push-action@master
uses: docker/build-push-action@v7
name: Build version image
uses: docker/build-push-action@master
if: ${{ github.base_ref }} == 'main' || ${{ github.base_ref }} == 'develop'
uses: docker/build-push-action@v7
-
name: Log in to the Container registry
uses: docker/login-action@master
uses: docker/login-action@v4
-
name: Log in to the Container registry
uses: docker/login-action@master
uses: docker/login-action@v4
name: Send to Codecov
id: send_to_codecov
uses: codecov/codecov-action@main
uses: codecov/codecov-action@v7
Comment thread Dockerfile

WORKDIR /kb/dev_container/narrative

RUN curl -sL https://deb.nodesource.com/setup_24.x | bash - && \
Comment thread Dockerfile

WORKDIR /kb/dev_container/narrative

RUN curl -sL https://deb.nodesource.com/setup_24.x | bash - && \
Comment thread Dockerfile
WORKDIR /kb/dev_container/narrative

RUN curl -sL https://deb.nodesource.com/setup_24.x | bash - && \
apt-get install -y nodejs
@codecov

codecov Bot commented Aug 12, 2026

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 46.66667% with 8 lines in your changes missing coverage. Please review.
✅ Project coverage is 25.95%. Comparing base (fe5f7bc) to head (362ccef).
⚠️ Report is 1 commits behind head on main.

Files with missing lines Patch % Lines
kbase-extension/static/kbase/js/narrativeLogin.js 0.00% 5 Missing ⚠️
.../function_output/kbaseExpressionFeatureClusters.js 0.00% 2 Missing ⚠️
kbase-extension/static/kbase/js/api/auth.js 83.33% 1 Missing ⚠️
Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##             main    #3742      +/-   ##
==========================================
- Coverage   25.96%   25.95%   -0.02%     
==========================================
  Files         461      461              
  Lines       46691    46701      +10     
==========================================
- Hits        12122    12119       -3     
- Misses      34569    34582      +13     
Files with missing lines Coverage Δ
...tic/kbase/js/common/cellComponents/tabs/infoTab.js 100.00% <100.00%> (ø)
kbase-extension/static/kbase/js/api/auth.js 92.55% <83.33%> (-0.86%) ⬇️
.../function_output/kbaseExpressionFeatureClusters.js 0.99% <0.00%> (-0.01%) ⬇️
kbase-extension/static/kbase/js/narrativeLogin.js 42.37% <0.00%> (-1.49%) ⬇️

... and 10 files with indirect coverage changes


Continue to review full report in Codecov by Harness.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update fe5f7bc...362ccef. Read the comment docs.

🚀 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.

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