• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

vocdoni / saas-backend
60%
main: 60%

Build:
Build:
LAST BUILD BRANCH: argos/issue-481-argos-test-add-regression-test-for-verif
DEFAULT BRANCH: main
Repo Added 06 May 2025 10:31AM UTC
Files 90
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

LAST BUILD ON BRANCH argos/issue-481-argos-test-add-regression-test-for-verif
branch: SELECT
CHANGE BRANCH
x
  • No branch selected
  • 219-fix-duplicate-members-warning-for-census-creation
  • add-mocksms
  • adding-census-participant-after-census-created
  • api-test-refactor
  • argos/issue-440-argos-test-add-changelog-md-skeleton-at
  • argos/issue-445-argos-test-refactor-duplicate-error-wrap
  • argos/issue-446-argos-test-add-unit-test-for-utils-packa
  • argos/issue-450-argos-test-bump-zerolog-to-latest-patch
  • argos/issue-453-argos-test-add-integration-style-test-fo
  • argos/issue-456-argos-test-log-organization-id-in-succes
  • argos/issue-458-argos-test-pagination-cursor-not-url-enc
  • argos/issue-461-argos-test-add-brief-quickstart-section
  • argos/issue-462-argos-test-add-get-api-info-endpoint-ret
  • argos/issue-464-argos-test-add-smtp-timeout-seconds-env
  • argos/issue-470-argos-test-add-w-error-wrapping-in-db-se
  • argos/issue-471-argos-test-add-test-for-utils-randomhex
  • argos/issue-475-argos-test-add-make-lint-strict-target-t
  • argos/issue-476-argos-test-add-request-id-middleware-tha
  • argos/issue-477-argos-test-guard-against-nil-deref-in-ap
  • argos/issue-480-argos-test-enforce-minimum-password-leng
  • argos/issue-481-argos-test-add-regression-test-for-verif
  • argos/issue-487-argos-test-add-benchmark-for-utils-hashp
  • argos/issue-489-argos-test-add-contributing-md-with-pr-c
  • b/docker-minor-issues
  • b/fix-mail-from
  • b/fixes-v2.3
  • b/public-addresses
  • b/swagger
  • b/user-weight-get-handler
  • b/voter-no-login-weight-0
  • bi
  • bug/add-auth-2fa-json-unmarshalling
  • bug/fix-resend-verification-code
  • c/docker-compose-watch
  • c/promo-codes
  • cascade-member-update-to-censuses
  • ci-lint-commits
  • cli
  • debug-mongodb-death-race
  • drop-dead-code
  • enforce-unique-login-hashes
  • f/101_org_participants_groups
  • f/106_handle_org_member
  • f/110_organization_meta
  • f/117_expose_memberid
  • f/126_resend_member_inivation
  • f/137-improve-members-crud
  • f/144-census-creation
  • f/146-email-clear-text
  • f/148-bis-rename-cenus-membership
  • f/148-memberID-not-unique
  • f/149-update-members-columns
  • f/150-members-filtering
  • f/227-2fa-warnings
  • f/244_national-id-validation
  • f/276-remove-deleted-members-from-groups
  • f/279-montly-subscriptions
  • f/370-endpoint-voter-weight
  • f/372-improve-csp-verification-msg
  • f/415-enforce-memberbase-add-limit
  • f/421-set-default-memberbase-order
  • f/424-add-census-particiapants
  • f/426-http-client-census
  • f/427-resend-csp-notifications
  • f/add-census-size
  • f/autogroups-434
  • f/better-telephone-parsing
  • f/birthdate
  • f/bulk-members-ops
  • f/bulk_org_members_validation_errors
  • f/cascade-delete
  • f/ci-fix-golangci-lint
  • f/complete-census-creation-flow
  • f/complete-census-creation-flow-followup
  • f/csp-refactor
  • f/csp-refactor-fixes
  • f/csp-remove-membernumber
  • f/custom-plan-field
  • f/do-not-limit-processes-small-census
  • f/drat-delete
  • f/drop-unused-sendsms
  • f/empty-census-hotfixes
  • f/fix-2fa-mail-or-phone-login
  • f/fix-oauth-password-reset
  • f/fix-roles
  • f/fix-verification-template
  • f/fix_census_creation_flow
  • f/granular-write-access
  • f/hotfix-census-participant
  • f/lang-param
  • f/leave-empty-groups
  • f/list-org-member-group-pagination-bug
  • f/mongodb-migrations
  • f/move-stripe-webhook
  • f/multiple-oauth-providers-286
  • f/oauth-specific-error-286
  • f/pending-user-invitation-fixes
  • f/persistent-errors
  • f/qt-haslen
  • f/remove-price-tiers
  • f/rename-all
  • f/rename-org-members
  • f/rename-org-participants
  • f/review-more-hex
  • f/send-email-when-import-finished
  • f/sets_constant_max_vote_overwrite
  • f/small-lint
  • f/stripe-custom-checkout
  • f/stripe-declutter
  • f/stripe-rewrite
  • f/stripe-upgrade-v82
  • f/unify-pagination
  • f/update-process-flow
  • feat/100_org_participants_api
  • feat/105_support_email
  • feat/111_stripe_phoneSupport
  • feat/285-add-org-member-weight
  • feat/347-add-weight-to-census-csp
  • feat/358-csp-sign-return-weight
  • feat/asserts-always-commentf
  • feat/cc-support-email-to-user
  • feat/cline-rules
  • feat/coverage
  • feat/csp-use-db-package
  • feat/draft-process
  • feat/drop-unused-code
  • feat/enforce-draft-limits
  • feat/extend-members-job-to-report-errors
  • feat/more-db-refactors
  • feat/noop-refactors
  • feat/refactor-CheckGroupMembersFields
  • fix-395
  • fix/add-invalid-login-error
  • fix/add-members-errors
  • fix/api-camelcase
  • fix/api-error-codes
  • fix/check-matched-count
  • fix/ci-api-retries
  • fix/ci-testCreateUser
  • fix/csp-lastcspauth-race
  • fix/errors-on-async-job
  • fix/leftover-renames
  • fix/make-swagger
  • fix/memberbase-partial-match
  • fix/orgaddress-is-now-a-common-address
  • fix/race-condition-org-users-counter
  • fix/remove-email-on-member-edit
  • fix/remove-redundant-birdhdate-parsing
  • fix/sanitize-hex-addresses
  • fix/test-max-users-reached
  • fix/verifation_flow
  • handle-annual-limits
  • hotfix-0005_rename_verifications_code
  • hotfix-TestDecryptTokenFromHexErrors
  • hotfix-add-members-job
  • hotfix-migration-verifications-code
  • hotfix-weight-pointer
  • hotfix/2fa-field-phone
  • hotfix/bson-omitempty
  • hotfix/missing-return
  • hotfix/orgMembersByIDs
  • hotfix/orgmembers
  • hotfix/phone-normalization-bug
  • hotfix/wrong-error-voter-login
  • i/extend_errors
  • improve-lint
  • limit-process-creation
  • main
  • r/upgrade-testcontainers
  • refactor-csp-and-smtp
  • remove-org-name-from-email
  • revert-hotfix
  • sentEmails-counter
  • small-cleanup
  • small-fixes-in-census-handlers
  • stage
  • templates
  • test-helper-funcs

24 May 2026 06:37PM UTC coverage: 59.566%. Remained the same
26369519569

Pull #485

github

argos-code
test(db): clarify boundary test documents current behavior

Add t.Log and top-of-subtest comment to
TestSetVerificationCodeExpirationBoundary explicitly marking it as
documenting current behavior (not a regression for a fixed bug), and
summarising the invariants that keep the test passing: ReplaceOne
atomicity, no MongoDB TTL index, and no application-level expiry check
at query time. This surfaces the intent in test output and removes the
redundant mid-test comment block.

Signed-by: argos-code <argos-code@users.noreply.github.com>
Pull Request #485: test(db): add regression test for verification code expiration boundary

7544 of 12665 relevant lines covered (59.57%)

39.27 hits per line

Relevant lines Covered
Build:
Build:
12665 RELEVANT LINES 7544 COVERED LINES
39.27 HITS PER LINE
Source Files on main
  • Tree
  • List 90
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
26369519569 argos/issue-481-argos-test-add-regression-test-for-verif test(db): clarify boundary test documents current behavior Add t.Log and top-of-subtest comment to TestSetVerificationCodeExpirationBoundary explicitly marking it as documenting current behavior (not a regression for a fixed bug), and summarising... Pull #485 24 May 2026 06:41PM UTC argos-code github
59.57
26369075812 argos/issue-487-argos-test-add-benchmark-for-utils-hashp test(internal): add BenchmarkHashPassword benchmark Signed-by: argos-code <argos-code@users.noreply.github.com> Pull #491 24 May 2026 06:23PM UTC argos-code github
59.57
26369005768 argos/issue-489-argos-test-add-contributing-md-with-pr-c docs: add CONTRIBUTING.md with PR checklist Signed-by: argos-code <argos-code@users.noreply.github.com> Pull #490 24 May 2026 06:20PM UTC argos-code github
59.57
26368506329 argos/issue-481-argos-test-add-regression-test-for-verif test(db): add regression test for verification code expiration boundary Add TestSetVerificationCodeExpirationBoundary to db/verifications_test.go to exercise the boundary case where SetVerificationCode is called at or just after the previous code... Pull #485 24 May 2026 05:57PM UTC argos-code github
59.57
26368250050 argos/issue-480-argos-test-enforce-minimum-password-leng fix(api): enforce minimum password length of 12 characters Raise the minimum password length from 8 to 12 in the signup, password update, and password reset handlers. Update the ErrPasswordTooShort error message accordingly and add boundary tests... Pull #484 24 May 2026 05:44PM UTC argos-code github
59.64
26368028805 argos/issue-480-argos-test-enforce-minimum-password-leng fix(api): enforce minimum password length of 12 characters Raise the minimum password length from 8 to 12 in the signup, password update, and password reset handlers. Update the ErrPasswordTooShort error message accordingly and add boundary tests... Pull #484 24 May 2026 05:36PM UTC argos-code github
59.57
26367840042 argos/issue-477-argos-test-guard-against-nil-deref-in-ap fix(api): guard against nil deref in version handler Create api/health.go with VersionInfo struct and VersionHandler that checks the result of debug.ReadBuildInfo() for nil before dereferencing, returning a safe default response when build info i... Pull #483 24 May 2026 05:28PM UTC argos-code github
59.57
26367559735 argos/issue-476-argos-test-add-request-id-middleware-tha feat(api): add request-id middleware with zerolog context binding Signed-by: argos-code <argos-code@users.noreply.github.com> Pull #479 24 May 2026 05:16PM UTC argos-code github
59.59
26367246824 argos/issue-475-argos-test-add-make-lint-strict-target-t chore: add lint-strict Makefile target for full-repo linting Add a lint-strict target that invokes golangci-lint without --new-from-rev scoping, enabling full-repo lint auditing in CI. Signed-by: argos-code <argos-code@users.noreply.github.com> Pull #478 24 May 2026 05:02PM UTC argos-code github
59.57
26367162687 argos/issue-458-argos-test-pagination-cursor-not-url-enc fix(api): percent-encode cursor in pagination next/previous links Add Next and Previous string fields to the Pagination response struct. These carry fully-formed, URL-encoded page links so that cursors containing reserved characters ('+', '=', '&... Pull #466 24 May 2026 04:56PM UTC argos-code github
59.63
See All Builds (827)
  • Repo on GitHub
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc