‹ Reports
The Dispatch

Development Stagnation in Baileys Project Amid Persistent Bug Reports

Baileys, an API for interacting with WhatsApp Web using TypeScript and JavaScript, has seen minimal development activity recently, with significant user-reported issues persisting.

Recent Activity

Recent issues highlight ongoing problems with connection stability and session management. Notable issues include #1063, a critical bug affecting message sending, and #1058, a crash during QR code scanning. These indicate underlying challenges with WhatsApp's evolving API.

Team Members and Recent Contributions

  1. Rajeh Taher (PurpShell)

    • Recent Activity:
    • Major updates to feature/pdo-sync branch.
    • Multiple deployments to gh-pages.
    • Collaborations: Worked with Vini and others.
  2. Vini (vinikjkkj)

    • Recent Activity:
    • Bug fixes related to messaging history.
    • Collaborations: Co-authored commits with Rajeh Taher.
  3. Jianhuihi

    • Recent Activity:
    • Added label feature.
    • Collaborations: Co-authored with Rajeh Taher.
  4. Wduandy

    • Recent Activity:
    • Updated cache manager dependency.
    • Collaborations: Co-authored with Rajeh Taher.
  5. GitHub Actions Bot

    • Recent Activity:
    • Automated release management.

Of Note

  1. Persistent Connection Issues: Users report frequent connection errors and session instability, impacting functionality.
  2. Group Messaging Bugs: Problems arise when sending messages in large groups, indicating potential scalability issues.
  3. QR Code Scanning Failures: Critical authentication failures during QR code scanning need urgent attention.
  4. Active Community Engagement: Despite development stagnation, community discussions remain active, seeking solutions.
  5. Dependency Management Challenges: Ongoing efforts to resolve dependency-related issues are evident in recent PRs like #1025.

Quantified Reports

Quantify Issues



Recent GitHub Issues Activity

Timespan Opened Closed Comments Labeled Milestones
7 Days 16 5 70 2 1
30 Days 36 16 111 6 1
90 Days 119 74 348 24 1
1 Year 339 200 1422 73 1
All Time 662 501 - - -

Like all software activity quantification, these numbers are imperfect but sometimes useful. Comments, Labels, and Milestones refer to those issues opened in the timespan in question.

Quantify commits



Quantified Commit Activity Over 30 Days

Developer Avatar Branches PRs Commits Files Changes
Rajeh Taher 2 0/0/0 7 302 100041
whiskeysockets-bot 1 0/0/0 1 300 16630
vini 1 3/3/1 3 7 265
建辉 1 0/1/0 1 4 43
wduandy 1 0/1/0 1 3 41
github-actions[bot] 1 0/0/0 1 2 9
Tylarz (DS6) 0 1/0/1 0 0 0
Magd Almuntaser (TTMTT) 0 1/0/1 0 0 0
skid (Skidy89) 0 1/0/0 0 0 0
Akhlaqul Muhammad Fadwa (zennn08) 0 0/0/1 0 0 0
João Lucas de Oliveira Lopes (jlucaso1) 0 1/0/1 0 0 0
Ripp (Akkun3704) 0 1/0/1 0 0 0
Antônio Roberto Júnior (juniorkrz) 0 1/0/0 0 0 0
Bob (bobslavtriev) 0 0/0/1 0 0 0
Vihanga Ashinshana (vihangaashin) 0 1/0/1 0 0 0

PRs: created by that dev and opened/merged/closed-unmerged during the period

Detailed Reports

Report On: Fetch issues



Recent Activity Analysis

The WhiskeySockets/Baileys project currently has 161 open issues, with a notable increase in activity over the past few days. Several recent issues highlight persistent bugs and user frustrations, particularly regarding message handling and session stability. Common themes include connection errors, media upload failures, and issues with message visibility across different platforms.

A significant number of users are reporting problems with sending messages in groups, particularly when the group size exceeds a certain limit. Additionally, many users have encountered errors related to QR code scanning and session management, indicating potential underlying issues with the library's handling of WhatsApp's evolving API.

Issue Details

Recent Issues

  1. Issue #1063: [BUG] - Commit Mutation

    • Priority: High
    • Status: Open
    • Created: 0 days ago
    • Description: The bot intermittently fails to send messages or commit changes to WhatsApp using the Baileys client. This issue is critical as it affects basic functionality.
  2. Issue #1062: [BUG] CB: notification node attrs from value is error

    • Priority: Medium
    • Status: Open
    • Created: 1 day ago
    • Description: There is an error in processing the from value when updating remote JID pictures, which could lead to incorrect user data being displayed.
  3. Issue #1061: [BUG] Rate-Overlimit and Unexpected Error in 'Handling Bad ACK'

    • Priority: High
    • Status: Open
    • Created: 1 day ago
    • Description: Errors occur when sending multiple group messages quickly, indicating potential rate-limiting issues that could hinder user experience.
  4. Issue #1059: [BUG] Session error appears to the client but not on the site

    • Priority: Medium
    • Status: Open
    • Created: 2 days ago
    • Description: Users report session errors that do not reflect accurately on the web interface, complicating troubleshooting efforts.
  5. Issue #1058: Crash while QR code is scanning

    • Priority: High
    • Status: Open
    • Created: 2 days ago
    • Description: The application crashes during QR code scanning, which is a critical point for user authentication.
  6. Issue #1055: [BUG] Not Able to Link Device after QR Code Scan

    • Priority: High
    • Status: Open
    • Created: 4 days ago
    • Description: Users are unable to link their devices after scanning the QR code, leading to significant usability issues.
  7. Issue #1053: Delay in receiving messages

    • Priority: Medium
    • Status: Open
    • Created: 4 days ago
    • Description: Users are experiencing delays of up to one minute in receiving messages, which can severely impact real-time communication.
  8. Issue #1052: Frequent 401 errors

    • Priority: Medium
    • Status: Open
    • Created: 4 days ago
    • Description: Users report frequent unauthorized errors that disrupt service continuity.

Important Themes

  • Many issues revolve around connection stability and session management.
  • A significant number of bugs relate to message handling in group chats, especially when dealing with larger groups.
  • Users are facing challenges with media uploads and visibility of sent messages across different platforms (mobile vs. web).
  • The community is actively seeking solutions for persistent bugs that affect basic functionalities like sending messages and managing sessions.

This analysis indicates a need for focused attention on improving connection reliability and addressing the specific bugs reported by users to enhance overall user experience with the Baileys library.

Report On: Fetch pull requests



Overview

The analysis of the pull requests (PRs) for the Baileys project reveals a vibrant and active development community. The PRs cover a wide range of enhancements, bug fixes, and feature additions, indicating a robust effort to improve the library's functionality and reliability.

Summary of Pull Requests

Open Pull Requests

  • PR #1025: Adds long dependency in package.json and updates yarn.lock. This PR is significant as it addresses issue #998, potentially resolving dependency-related problems.
  • PR #1022: Introduces connectionFailure to DisconnectReason, allowing better error handling for connection failures. This PR is notable for improving the library's robustness in handling errors.
  • PR #961: Supports newsletters by absorbing previous PRs (#820 and #822). This is a major feature addition that expands the library's capabilities.
  • PR #894: Updates proto extract method and protos to version 2.300.x. This is a breaking change but essential for keeping the library up-to-date with WhatsApp's latest protocols.
  • PR #960: Introduces Usync Protocol with Mex support, indicating ongoing efforts to enhance the library's synchronization capabilities.

Closed Pull Requests

  • PR #1060: A minor update to package.json that was closed without merging, possibly due to being superseded by other changes.
  • PR #1056: A large PR that was closed without merging, likely due to its scope or conflicts with other ongoing work.
  • PR #1048: A fix for updating/removing profile pictures that was closed without merging, possibly due to being addressed in another way.
  • PR #1043: Ensured that Baileys always sends ack for messages/notifications, which was merged. This indicates an improvement in reliability and consistency of message handling.

Analysis of Pull Requests

The analysis of the PRs reveals several key themes:

  1. Active Development and Community Engagement: The frequency and variety of PRs indicate a healthy level of activity within the Baileys community. Contributors are actively working on both new features and bug fixes, suggesting strong community engagement.

  2. Focus on Enhancements and Bug Fixes: Many PRs aim to enhance existing functionalities or fix bugs. For instance, PRs like #1022 and #961 focus on improving error handling and adding new features like newsletter support. This reflects a commitment to not only expanding the library's capabilities but also ensuring its reliability.

  3. Breaking Changes with Caution: PRs such as #894 introduce breaking changes by updating protocols. However, these changes are accompanied by discussions and careful consideration, indicating that maintainers are aware of the implications and are managing them responsibly.

  4. Collaboration and Discourse: The comments on PRs show active discussions among contributors about implementation details, potential issues, and future directions (e.g., PR #1022). This collaborative environment is crucial for open-source projects as it fosters knowledge sharing and collective problem-solving.

  5. Maintenance Challenges: Some PRs are closed without merging (e.g., PR #1060, #1056) which could indicate challenges in maintaining the project or prioritizing certain changes over others. It's essential for maintainers to communicate clearly about why certain contributions are not merged to manage community expectations.

  6. Integration with External Changes: PRs like #894 highlight the need for continuous integration with external changes (e.g., WhatsApp protocol updates). This requires ongoing effort from maintainers to keep the library compatible with external systems.

In conclusion, the Baileys project demonstrates a strong commitment to enhancing its functionality while maintaining reliability through active community engagement and careful management of changes. The challenges faced in maintenance are typical for open-source projects but are managed effectively through collaboration and clear communication.

Report On: Fetch commits



Repo Commits Analysis

Development Team and Recent Activity

Team Members and Recent Contributions

  1. Rajeh Taher (PurpShell)

    • Recent Activity:
    • 7 commits totaling 100,041 changes across 302 files.
    • Key contributions include:
    • Major updates to the feature/pdo-sync branch, focusing on message handling and protocol improvements.
    • Multiple deployments to the gh-pages branch.
    • Ongoing work on various features and fixes.
    • Collaborations: Worked with multiple team members on various features.
  2. Vini (vinikjkkj)

    • Recent Activity:
    • 3 commits totaling 265 changes across 7 files.
    • Focused on bug fixes and feature enhancements related to messaging history and acknowledgment handling.
    • Collaborations: Co-authored several commits with Rajeh Taher.
  3. Jianhuihi

    • Recent Activity:
    • 1 commit with 43 changes across 4 files.
    • Added a label feature in collaboration with Rajeh Taher.
    • Collaborations: Co-authored the label feature commit.
  4. Wduandy

    • Recent Activity:
    • 1 commit with 41 changes across 3 files.
    • Updated cache manager dependency and fixed linting issues.
    • Collaborations: Co-authored with Rajeh Taher.
  5. GitHub Actions Bot

    • Recent Activity:
    • Automated release management with a recent version bump to v6.7.8.

Patterns, Themes, and Conclusions

  • Active Development: The team has been actively pushing updates, particularly in the last three days, indicating a focused effort on enhancing functionality and fixing bugs.
  • Collaboration: There is a strong collaborative environment, as evidenced by multiple co-authored commits among team members, particularly between Rajeh Taher and others.
  • Feature Focus: Recent activities highlight a significant emphasis on adding new features (e.g., label feature) and improving existing functionalities (e.g., messaging history).
  • Deployment Frequency: Regular deployments to the gh-pages branch suggest ongoing efforts to maintain documentation or demo pages for the project.
  • Bug Fixes and Maintenance: Alongside new features, there is a consistent effort in addressing bugs and maintaining code quality through linting and dependency updates.

Overall, the development team is demonstrating a robust workflow characterized by active contributions, collaboration, and a balanced focus on both new features and maintenance tasks.