Skip to content

disable traceid gen in unsecure context - #11349

Merged
SchrodingersGat merged 2 commits into
inventree:masterfrom
matmair:fix-unsecure-context
Feb 16, 2026
Merged

SchrodingersGat merged 2 commits into
inventree:masterfrom
matmair:fix-unsecure-context

Conversation

@matmair

@matmair matmair commented Feb 16, 2026

Copy link
Copy Markdown
Member

Fixes #11318

@matmair matmair added this to the 1.2.1 milestone Feb 16, 2026
@matmair matmair self-assigned this Feb 16, 2026
@matmair matmair added bug Identifies a bug which needs to be addressed backport Apply this label to a PR to enable auto-backport action User Interface Related to the frontend / User Interface backport-to-1.2.x labels Feb 16, 2026

@SchrodingersGat SchrodingersGat left a comment •

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Great find. I had literally just narrowed in on this function, this is a good clean fix.

@netlify

netlify Bot commented Feb 16, 2026 •

Copy link
Copy Markdown

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

Name Link
🔨 Latest commit c7af793
🔍 Latest deploy log https://app.netlify.com/projects/inventree-web-pui-preview/deploys/69939fbe04a9c90008f0b180

@matmair

matmair commented Feb 16, 2026

Copy link
Copy Markdown
Member Author

@SchrodingersGat I introduced it on the ride back from FOSDEM ;-) can we try pushing a release after this is merged? Should fix a lot of the complaints in #11318 and probably #11284 too

@SchrodingersGat

Copy link
Copy Markdown
Member

I can confirm that the new code works in an insecure context with a fixed IP address 👍

@matmair

matmair commented Feb 16, 2026

Copy link
Copy Markdown
Member Author

I do not see how this failing check is related; can we merge and release to reduce issue tracker noise?

@SchrodingersGat
SchrodingersGat merged commit b8cf2db into inventree:master Feb 16, 2026
24 of 25 checks passed
@SchrodingersGat
SchrodingersGat deleted the fix-unsecure-context branch February 16, 2026 23:46
github-actions Bot pushed a commit that referenced this pull request Feb 16, 2026
@github-actions

Copy link
Copy Markdown
Contributor

💚 All backports created successfully

Status Branch Result
✅ 1.2.x

Questions ?

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

SchrodingersGat pushed a commit that referenced this pull request Feb 16, 2026
(cherry picked from commit b8cf2db)

Co-authored-by: Matthias Mair <[email protected]>
@SchrodingersGat

Copy link
Copy Markdown
Member

Docker build errors are currently blocking pushing the docker image:

https://github.com/inventree/InvenTree/actions/runs/22080917297

Not sure yet what is going on - @matmair have you made any recent changes to the docker build workflow?

@matmair

matmair commented Feb 17, 2026

Copy link
Copy Markdown
Member Author

@matmair

matmair commented Feb 17, 2026

Copy link
Copy Markdown
Member Author

might be moby/buildkit#6477

@SchrodingersGat

Copy link
Copy Markdown
Member

docker/buildx#3576

@SchrodingersGat

Copy link
Copy Markdown
Member

Finally is building now, took a few attempts

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport Apply this label to a PR to enable auto-backport action bug Identifies a bug which needs to be addressed User Interface Related to the frontend / User Interface

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Web UI stuck on /web/logged-in after login, no redirect to main app

2 participants