Skip to content

Fix traefik routing #2256

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

Merged
merged 3 commits into from
Aug 4, 2025
Merged

Fix traefik routing #2256

merged 3 commits into from
Aug 4, 2025

Conversation

jmthomas
Copy link
Member

@jmthomas jmthomas commented Aug 1, 2025

closes #2210

Copy link

codecov bot commented Aug 1, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 80.26%. Comparing base (7d0d1b7) to head (50df662).
⚠️ Report is 18 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #2256      +/-   ##
==========================================
- Coverage   80.26%   80.26%   -0.01%     
==========================================
  Files         638      638              
  Lines       47628    47587      -41     
  Branches      745      744       -1     
==========================================
- Hits        38230    38196      -34     
+ Misses       9315     9309       -6     
+ Partials       83       82       -1     
Flag Coverage Δ
python 83.86% <ø> (-0.06%) ⬇️
ruby-api 84.85% <ø> (+0.14%) ⬆️
ruby-backend 82.98% <ø> (+0.01%) ⬆️

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

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

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

TELEMETRY <%= target_name %> PARAMS BIG_ENDIAN "Params set by SETPARAMS command"
# NOTE: We don't really recommend using periods in packet names
# but we're doing it here to test the routing code
TELEMETRY <%= target_name %> PARAMS.PKT BIG_ENDIAN "Params set by SETPARAMS command"
Copy link
Member Author

Choose a reason for hiding this comment

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

I could be talked out of this but it does give us a chance to test it

tools-router:
rule: PathRegexp(`/tools/.*/.*[.](ttf|otf|woff|woff2|html|js|css|png|jpg|jpeg|gif|svg|ico|json|xml|txt|pdf|zip|tar|gz|tgz|csv|tsv|md|yaml|yml|bin|doc|docx|xls|xlsx|ppt|pptx|mp4|mp3|wav|avi|mov|flv|swf|apk|ipa|deb|rpm|exe|msi|dmg|pkg|sh|bat|cmd|ps1|py|pl|rb|php|java|class|jar|war|ear|so|dll|lib|a|o|obj|pdb|pdb|lib|dylib|framework)`)
rule: PathRegexp(`^/tools/.+/.+\.[a-zA-Z0-9]+$`)
Copy link
Member Author

Choose a reason for hiding this comment

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

Key was anchoring the Regexp with ^ and then just checking for any extension with \.[a-zA-Z0-9]+$

Copy link
Member

@ryanmelt ryanmelt left a comment

Choose a reason for hiding this comment

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

Still missing right click Graph code changes

Copy link

sonarqubecloud bot commented Aug 4, 2025

Copy link
Member

@ryanmelt ryanmelt left a comment

Choose a reason for hiding this comment

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

Please verify docs still work as expected after this change and then looks good.

@jmthomas jmthomas merged commit f2fe198 into main Aug 4, 2025
29 checks passed
@jmthomas jmthomas deleted the traefik_routes branch August 4, 2025 17:01
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.

Broken links when commands or telemetry contain periods
2 participants