Skip to content

Test(streak)/year-2007-boundary-validation - #779

Merged
JhaSourav07 merged 4 commits into
JhaSourav07:mainfrom
Ishanvee:test/year-2007-boundary-validation
May 27, 2026
Merged

Test(streak)/year-2007-boundary-validation#779
JhaSourav07 merged 4 commits into
JhaSourav07:mainfrom
Ishanvee:test/year-2007-boundary-validation

Conversation

@Ishanvee

Copy link
Copy Markdown
Contributor

Description

Adds a test test for ?year=2007 to confirm it triggers a 400 error.
(Adds one test case and all the existing test cases pass.)

Fixes #746

Pillar

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

Visual Preview

No visual preview as it this PR just adds a test case.

Checklist before requesting a review:

  • [X ] I have read the CONTRIBUTING.md file.
  • [X ] I have tested these changes locally (localhost:3000/api/streak?user=YOUR_USERNAME).
  • [ X] I have run npm run format and npm run lint locally and resolved all errors (CI will fail otherwise).
  • [ X] 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.
  • [X ] I have started the repo.
  • [ X] 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).
  • [X ] (Recommended) I joined the CommitPulse Discord community for contributor discussions, mentorship, and faster PR support.

@vercel

vercel Bot commented May 27, 2026

Copy link
Copy Markdown
Contributor

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

A member of the Team first needs to authorize it.

@github-actions github-actions Bot added the needs-rebase This PR has merge conflicts and needs a rebase. label May 27, 2026
@github-actions

Copy link
Copy Markdown
Contributor

⚠️ Hey @Ishanvee, this PR has merge conflicts with the main branch.

Please pull the latest changes and resolve the conflicts so we can review it!

git fetch origin
git rebase origin/main
# resolve any conflicts, then:
git push --force-with-lease

Once resolved, the needs-rebase label will be removed automatically on the next check. 🙌

@github-actions github-actions Bot added type:testing Adding, updating, or fixing tests and removed needs-rebase This PR has merge conflicts and needs a rebase. labels May 27, 2026
@JhaSourav07 JhaSourav07 added level:beginner Small changes Usually isolated fixes or simple UI/text updates. quality:exceptional Outstanding contribution with exceptional implementation quality, testing. gssoc:approved PR has been reviewed and accepted for valid contribution points labels May 27, 2026
@github-actions github-actions Bot added this to the GSSoC 2026 milestone May 27, 2026
@JhaSourav07
JhaSourav07 merged commit 5ad4bd2 into JhaSourav07:main May 27, 2026
6 of 7 checks passed
@github-actions

Copy link
Copy Markdown
Contributor

🎉 Congratulations @Ishanvee! 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! 💻✨

tamilr0727-ux pushed a commit to tamilr0727-ux/commitpulse that referenced this pull request May 29, 2026
* test(streak): add text colour parameter route tests

* chore: restore package-lock.json to upstream version

* test(streak): add boundary test for year 2007 before GitHub founding
tamilr0727-ux pushed a commit to tamilr0727-ux/commitpulse that referenced this pull request May 29, 2026
* test(streak): add text colour parameter route tests

* chore: restore package-lock.json to upstream version

* test(streak): add boundary test for year 2007 before GitHub founding
ShailiBoddula pushed a commit to ShailiBoddula/commitpulse that referenced this pull request May 29, 2026
* test(streak): add text colour parameter route tests

* chore: restore package-lock.json to upstream version

* test(streak): add boundary test for year 2007 before GitHub founding
@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
MasterJi27 pushed a commit to MasterJi27/commitpulse that referenced this pull request Jul 4, 2026
* test(streak): add text colour parameter route tests

* chore: restore package-lock.json to upstream version

* test(streak): add boundary test for year 2007 before GitHub founding
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 level:beginner Small changes Usually isolated fixes or simple UI/text updates. quality:exceptional Outstanding contribution with exceptional implementation quality, testing. type:testing Adding, updating, or fixing tests

Projects

None yet

Development

Successfully merging this pull request may close these issues.

test(api route): verify 400 response for year=2007 (before GitHub existed)

2 participants