Skip to content

Token save fix - #12491

Merged
SchrodingersGat merged 1 commit into
inventree:masterfrom
SchrodingersGat:token-fix
Jul 28, 2026
Merged

Token save fix#12491
SchrodingersGat merged 1 commit into
inventree:masterfrom
SchrodingersGat:token-fix

Conversation

@SchrodingersGat

Copy link
Copy Markdown
Member
  • Only update 'last_seen' field
  • Prevent concurrent token usage from re-issuing the token

- Only update 'last_seen' field
@SchrodingersGat SchrodingersGat added this to the 1.5.0 milestone Jul 28, 2026
@SchrodingersGat SchrodingersGat added bug Identifies a bug which needs to be addressed api Relates to the API backport Apply this label to a PR to enable auto-backport action backport-to-1.4.x labels Jul 28, 2026
@netlify

netlify Bot commented Jul 28, 2026

Copy link
Copy Markdown

Deploy Preview for inventree-web-pui-preview canceled.

Name Link
🔨 Latest commit 5620d6e
🔍 Latest deploy log https://app.netlify.com/projects/inventree-web-pui-preview/deploys/6a68a65bd909c5000890cd0d

@codecov

codecov Bot commented Jul 28, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 86.75%. Comparing base (1cee1bd) to head (5620d6e).
⚠️ Report is 1 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master   #12491      +/-   ##
==========================================
- Coverage   86.76%   86.75%   -0.01%     
==========================================
  Files        1444     1444              
  Lines       96064    96092      +28     
  Branches    11213    11213              
==========================================
+ Hits        83346    83364      +18     
- Misses      12654    12664      +10     
  Partials       64       64              
Flag Coverage Δ
backend 90.76% <100.00%> (-0.02%) ⬇️

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

Components Coverage Δ
Backend Apps 92.17% <100.00%> (+<0.01%) ⬆️
Backend General 93.53% <ø> (ø)
Frontend 79.70% <ø> (ø)
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@SchrodingersGat
SchrodingersGat merged commit e918d84 into inventree:master Jul 28, 2026
60 of 61 checks passed
@SchrodingersGat
SchrodingersGat deleted the token-fix branch July 28, 2026 13:50
@github-actions

Copy link
Copy Markdown
Contributor

💚 All backports created successfully

Status Branch Result
1.4.x

Questions ?

Please refer to the Backport tool documentation and see the Github Action logs for details

SchrodingersGat added a commit that referenced this pull request Jul 28, 2026
- Only update 'last_seen' field

(cherry picked from commit e918d84)

Co-authored-by: Oliver <oliver.henry.walters@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

api Relates to the API backport Apply this label to a PR to enable auto-backport action backport-to-1.4.x bug Identifies a bug which needs to be addressed

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant