Skip to content

Phase 4 : Test suite plus alpha#3

Merged
keshav-k3 merged 7 commits into
mainfrom
develop-phase
Sep 18, 2025
Merged

Phase 4 : Test suite plus alpha#3
keshav-k3 merged 7 commits into
mainfrom
develop-phase

Conversation

@keshav-k3

Copy link
Copy Markdown
Owner
  • ✅ Basic Tests: 5 runs, 11 assertions, 0 failures
  • ✅ Comprehensive Tests: 7 runs, 28 assertions, 0 failures
  • ✅ Core Logic: Configuration, Notifications, Base classes
  • ✅ Delivery Methods: WebPush, Test mode
  • ✅ Rails Integration: Railtie, Engine, ActiveJob
  • ✅ Thread Pool Management: Working
  • ✅ Web Push Dependencies: Installed and functional

Comment thread test/pool_test.rb
# Submit multiple tasks
futures = 3.times.map do |i|
pool.submit do
sleep 0.1 # Simulate work

Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

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

Check if 0.1 is enough, tbh this is a very rare trigger case, still

config = ActionWebPush::Configuration.new
config.vapid_public_key = "test_public_key"
config.vapid_private_key = "test_private_key"
config.vapid_subject = "mailto:test@example.com"

Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

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

change all to test.com domain, example.com over use might trigger problems, check

@keshav-k3 keshav-k3 merged commit 3936b21 into main Sep 18, 2025
1 check passed
@keshav-k3 keshav-k3 added the enhancement New feature or request label Sep 18, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant