Skip to content
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

fix/gin middleware #206

Merged
merged 5 commits into from
May 17, 2022
Merged

fix/gin middleware #206

merged 5 commits into from
May 17, 2022

Conversation

gfyrag
Copy link
Contributor

@gfyrag gfyrag commented May 17, 2022

  • Add a workflow to automatically build docker images for special meaning branch like : * feature/XXX * features/XXX * feat/XXX * fix/XXX * hotfix/XXX
  • Fix release pipeline.
  • Fix scope handling. The http context of the authenticated request was not properly forward to the next handlers. So, even if the request was authenticated, the next handlers doesn't see actual scopes of the agent.

…ng branch like :

* feature/XXX
* features/XXX
* feat/XXX
* fix/XXX
* hotfix/XXX
@codecov
Copy link

codecov bot commented May 17, 2022

Codecov Report

Merging #206 (99bb03c) into main (546daec) will decrease coverage by 0.03%.
The diff coverage is 0.00%.

@@            Coverage Diff             @@
##             main     #206      +/-   ##
==========================================
- Coverage   66.37%   66.33%   -0.04%     
==========================================
  Files          70       70              
  Lines        3533     3535       +2     
==========================================
  Hits         2345     2345              
- Misses        968      970       +2     
  Partials      220      220              
Impacted Files Coverage Δ
cmd/container.go 56.63% <0.00%> (-0.30%) ⬇️
pkg/api/routes/routes.go 86.44% <0.00%> (-1.50%) ⬇️

Continue to review full report at Codecov.

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

tags: ghcr.io/numary/ledger:${{ github.sha }}
build-args: |
APP_SHA=${{ github.sha }}
VERSION=${{ github.sha }}
Copy link
Member

Choose a reason for hiding this comment

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

I think add 'SEGMENT_WRITE_KEY' ?

The http context of the authenticated request was not properly forward to the next handlers.
So, even if the request was authenticated, the next handlers doesn't see actual scopes of the agent.
@gfyrag gfyrag merged commit ab5b305 into main May 17, 2022
@gfyrag gfyrag deleted the fix/gin-middleware branch May 17, 2022 11:49
flemzord pushed a commit that referenced this pull request Jun 7, 2023
flemzord pushed a commit that referenced this pull request Sep 20, 2023
flemzord pushed a commit that referenced this pull request Dec 4, 2023
flemzord pushed a commit that referenced this pull request Sep 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants