Skip to content

test: add massive scaling tests for urls utilities#5407

Merged
JhaSourav07 merged 1 commit into
JhaSourav07:mainfrom
deepsikha-dash:issue-4428-urls-massive-scaling
Jun 12, 2026
Merged

test: add massive scaling tests for urls utilities#5407
JhaSourav07 merged 1 commit into
JhaSourav07:mainfrom
deepsikha-dash:issue-4428-urls-massive-scaling

Conversation

@deepsikha-dash

Copy link
Copy Markdown
Contributor

Description

Adds massive scaling tests for utils/urls.ts.

Fixes #4428

Pillar

  • 🎨 Pillar 1 — New Theme Design
  • 📐 Pillar 2 — Geometric SVG Improvement
  • 🕐 Pillar 3 — Timezone Logic Optimization
  • 🛠️ Other (Bug fix, refactoring, docs)

Visual Preview

N/A

Checklist before requesting a review:

  • I have read the CONTRIBUTING.md file.
  • I have tested these changes locally (localhost:3000/api/streak?user=YOUR_USERNAME).
  • I have run npm run format and npm run lint locally and resolved all errors (CI will fail otherwise).
  • My commits follow the Conventional Commits format (e.g., feat(themes): ..., fix(calculate): ...).
  • I have updated README.md if I added a new theme or URL parameter.
  • I have started the repo.
  • I have made sure that i have only one commit to merge in this PR.
  • The SVG output matches the CommitPulse "premium quality" aesthetic standard (no raw elements, smooth animations, correct fonts).
  • (Recommended) I joined the CommitPulse Discord community for contributor discussions, mentorship, and faster PR support.

@vercel

vercel Bot commented Jun 12, 2026

Copy link
Copy Markdown
Contributor

@deepsikha-dash is attempting to deploy a commit to the jhasourav07's projects Team on Vercel.

A member of the Team first needs to authorize it.

Comment thread utils/urls.massive-scaling.test.ts Fixed
@deepsikha-dash deepsikha-dash force-pushed the issue-4428-urls-massive-scaling branch from 59331fd to d680680 Compare June 12, 2026 15:13
@Aamod-Dev Aamod-Dev added level:beginner Small changes Usually isolated fixes or simple UI/text updates. type:testing Adding, updating, or fixing tests quality:clean PR follows clean coding practices, proper formatting, documentation, and maintainability standards. mentor:Aamod007 labels Jun 12, 2026

@Aamod-Dev Aamod-Dev left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Thanks for the PR. The test additions look solid and are well-contained within a single file. Applied labels: \level:beginner\ for single-file scope, \ ype:testing\ for test focus, and \quality:clean\ for readability.

@Aamod-Dev Aamod-Dev left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Thanks for adding the extreme bounds testing for the URL utilities! Testing massive arrays and extreme parameter encodings ensures our API query strings won't crash the server under heavy simulation load.

Your code is completely perfect! However, the CI pipeline is currently failing due to an unrelated divergence in lib/svg/themes.test.ts on the main branch.

Simply run git pull --rebase origin main and force push your branch to sync up, and we'll get a green build.

Labels Applied:

  • level:advanced: Query string parameter bounds scaling.
  • type:testing: Massive parameter limits.
  • quality:clean: Excellent isolation of metrics.
  • mentor:Aamod007

@Aamod-Dev Aamod-Dev added GSSoc26 GSSoC 2026 level:advanced Complex contributions involving architecture, optimization, or significant feature work type:feature New features, additions, or enhancements type:performance Code changes that improve performance/speed and removed GSSoc26 labels Jun 12, 2026

@Aamod-Dev Aamod-Dev left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Thanks for the contribution. I went through the changes and the overall approach looks good.

@Aamod-Dev Aamod-Dev removed the level:beginner Small changes Usually isolated fixes or simple UI/text updates. label Jun 12, 2026
@JhaSourav07 JhaSourav07 added the gssoc:approved PR has been reviewed and accepted for valid contribution points label Jun 12, 2026
@JhaSourav07 JhaSourav07 merged commit 6e5ed1b into JhaSourav07:main Jun 12, 2026
14 of 15 checks passed
@github-actions

Copy link
Copy Markdown
Contributor

🎉 Congratulations @deepsikha-dash! Your PR has been successfully merged. 🚀

Thank you for contributing to CommitPulse. Your work helps us build a better tool for the community.

⚠️ Important for GSSoC Contributors:
You are strictly advised to join our Discord Server as it is mandatory for all GSSoC participants. All important announcements, point claims, and community discussions happen there.

Keep building! 💻✨

@github-actions github-actions Bot added this to the GSSoC 2026 milestone Jun 12, 2026
@JhaSourav07 JhaSourav07 added gssoc:approved PR has been reviewed and accepted for valid contribution points and removed gssoc:approved PR has been reviewed and accepted for valid contribution points labels Jun 17, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

gssoc:approved PR has been reviewed and accepted for valid contribution points GSSoC 2026 level:advanced Complex contributions involving architecture, optimization, or significant feature work mentor:Aamod007 quality:clean PR follows clean coding practices, proper formatting, documentation, and maintainability standards. type:feature New features, additions, or enhancements type:performance Code changes that improve performance/speed type:testing Adding, updating, or fixing tests

Projects

None yet

Development

Successfully merging this pull request may close these issues.

test(urls-massive-scaling): verify Massive Data Sets and Extreme High Bounds Scaling (Variation 2)

4 participants