Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Minor logging changes and bugfixes #135

Merged
merged 1 commit into from
Jan 28, 2021

Conversation

NeonDaniel
Copy link
Member

Added more specific login error logging
Improved proctor checking
Log shutdown exceptions

Improved proctor checking
Log shutdown exceptions
@NeonDaniel NeonDaniel self-assigned this Jan 27, 2021
@NeonDaniel NeonDaniel merged commit e4c6294 into NeonGeckoCom:dev Jan 28, 2021
@NeonDaniel NeonDaniel deleted the FIX_MinorBugsAndLogging branch January 28, 2021 02:36
NeonDaniel added a commit that referenced this pull request Apr 27, 2021
* Add unit test badge

* Troubleshoot unproctored conversation with multiple bots responding

* Troubleshoot unproctored conversation with multiple bots responding

* Prevent handling prompts without a proctor
Force shouts to be handled synchronously

* Cleanup response pausing with queue changes

* Thread new shout handling
Add threaded prompt handling to core tests

* Revert "Add queuing, Better handling of unproctored conversations"

* Refactor "thread" to "shout_thread" for clarity

* Add participant history param for scorekeeper and other bots

* Add participant history param for scorekeeper and other bots

* Add function to shutdown bot and call on cli exit

* Fix bad revert and pull from Master (#86)

* Pull upstream (#7)

* Bug fix server stop (#22)

* Troubleshoot server stop script

* Troubleshoot server stop script

* Troubleshoot server stop script

* Troubleshoot logging

* Troubleshoot logging

* Catch @user replies in idle conversation from proctor
Handle "observer" bot type

* Prevent handling any @user shouts as a submind

* Add step for bots to notify Proctor when ready for the next prompt

* Troubleshoot bots ready for next input

* Better handle abstaining votes, update default logging

* Update logging

* Update logging

* Update logging

* Increment version

* Update logging to resolve depreciation warnings
Update next prompt logic

* #28

* Prevent logging incoming prompts for non-proctors

* Cleanup pause_response logic for unproctored conversations

* Update logging

* Introduce random wait to space out bot responses

* Catch empty shouts
explicitly vote to abstain

* Timeout NeonBot queries, fix typo in on_server check

* Fix NeonBot responses for on/off server
Annotate bus type

* Always send a string for vote_response to allow for backwards compat.

* Handle register on login attempt user not registered

* Update logging

* Troubleshoot quotes around prompt

* Remove TODO handled in klat-connector

* Outline methods for Proctor selecting respondents from the pool of bots

* Ensure facilitators always ready for all prompts

* Log login errors
Prevent facilitators being in a WAIT state

* Encapsulate bot errors in handle_incoming_shout

* Troubleshoot logging

* Troubleshoot logging for bots

* Update logging

* Catch no nick exceptions

* Add LOG for backwards compat.

* Troubleshooting LOG changes

* Logging updates

* Cleanup imports

* Update LOG for backwards compat

* Troubleshooting response selection errors on cert

* Troubleshooting selections counting as prompts on cert

* More specific logging of login errors
Fix proctor selection of bots to wait out rounds

* Troubleshooting NeonBot testing errors

* Troubleshooting NeonBot missing responses

* Troubleshooting NeonBot missing responses (if guest, don't wait for login return)

* Fix ima_dict location

* Fix respondent bot proctor shout handling

* Logging change only

* Update utils to handle starting bots with excluded bots

* #63 handle @botName incoming shouts (default ask_chatbot)
#60 return a random selection of responses generically when no response is generated

* Update ask_history handling
Encapsulate errors in bot detection

* Only ask scorekeeper on selection, not stenographer

* Ignore torchmoji directory in bot detection
Catch undefined excluded_bots exception

* Update logging and encapsulate more bot errors

* Fix logging error in startup function
Handle new case sensitivity in participant announcement

* Start proctor first to avoid problems with prompts while starting bots

* Troubleshoot subminds handling facilitator shouts

* Handle default response for timeout in NeonBot
Update unit test job name

* Update debug to handle chatbot logging

* Cleanup vote counting logic
Fix scorekeeper call to include current round selection
Reorg bot detection startup order

* Handle self-votes from ask_appraiser in core (before Proctor)

* Add unit test badge

* Update logging

* Reorg initialization order

* Troubleshoot unproctored conversation with multiple bots responding

* Troubleshoot unproctored conversation with multiple bots responding

* Prevent handling prompts without a proctor
Force shouts to be handled synchronously

* Cleanup response pausing with queue changes

* Thread new shout handling
Add threaded prompt handling to core tests

* Revert "Add queuing, Better handling of unproctored conversations"

* Refactor "thread" to "shout_thread" for clarity

* Add participant history param for scorekeeper and other bots

* Add participant history param for scorekeeper and other bots

* Add function to shutdown bot and call on cli exit

* Revert "Pull upstream (#7)" (#8)

This reverts commit 2377871.

* Fix git errors after reverting commit to Master

* Revert "Pull upstream (#7)" (#8)

This reverts commit 2377871.

* Fix git errors after reverting commit to Master

* Troubleshooting test import errors (#87)

* Threading, participant history, shutdown bots, Fix merge (#85)

* Refactor "thread" to "shout_thread" for clarity

* Add participant history param for scorekeeper and other bots

* Add participant history param for scorekeeper and other bots

* Add function to shutdown bot and call on cli exit

* Fix bad revert and pull from Master (#86)

* Pull upstream (#7)

* Bug fix server stop (#22)

* Troubleshoot server stop script

* Troubleshoot server stop script

* Troubleshoot server stop script

* Troubleshoot logging

* Troubleshoot logging

* Catch @user replies in idle conversation from proctor
Handle "observer" bot type

* Prevent handling any @user shouts as a submind

* Add step for bots to notify Proctor when ready for the next prompt

* Troubleshoot bots ready for next input

* Better handle abstaining votes, update default logging

* Update logging

* Update logging

* Update logging

* Increment version

* Update logging to resolve depreciation warnings
Update next prompt logic

* #28

* Prevent logging incoming prompts for non-proctors

* Cleanup pause_response logic for unproctored conversations

* Update logging

* Introduce random wait to space out bot responses

* Catch empty shouts
explicitly vote to abstain

* Timeout NeonBot queries, fix typo in on_server check

* Fix NeonBot responses for on/off server
Annotate bus type

* Always send a string for vote_response to allow for backwards compat.

* Handle register on login attempt user not registered

* Update logging

* Troubleshoot quotes around prompt

* Remove TODO handled in klat-connector

* Outline methods for Proctor selecting respondents from the pool of bots

* Ensure facilitators always ready for all prompts

* Log login errors
Prevent facilitators being in a WAIT state

* Encapsulate bot errors in handle_incoming_shout

* Troubleshoot logging

* Troubleshoot logging for bots

* Update logging

* Catch no nick exceptions

* Add LOG for backwards compat.

* Troubleshooting LOG changes

* Logging updates

* Cleanup imports

* Update LOG for backwards compat

* Troubleshooting response selection errors on cert

* Troubleshooting selections counting as prompts on cert

* More specific logging of login errors
Fix proctor selection of bots to wait out rounds

* Troubleshooting NeonBot testing errors

* Troubleshooting NeonBot missing responses

* Troubleshooting NeonBot missing responses (if guest, don't wait for login return)

* Fix ima_dict location

* Fix respondent bot proctor shout handling

* Logging change only

* Update utils to handle starting bots with excluded bots

* #63 handle @botName incoming shouts (default ask_chatbot)
#60 return a random selection of responses generically when no response is generated

* Update ask_history handling
Encapsulate errors in bot detection

* Only ask scorekeeper on selection, not stenographer

* Ignore torchmoji directory in bot detection
Catch undefined excluded_bots exception

* Update logging and encapsulate more bot errors

* Fix logging error in startup function
Handle new case sensitivity in participant announcement

* Start proctor first to avoid problems with prompts while starting bots

* Troubleshoot subminds handling facilitator shouts

* Handle default response for timeout in NeonBot
Update unit test job name

* Update debug to handle chatbot logging

* Cleanup vote counting logic
Fix scorekeeper call to include current round selection
Reorg bot detection startup order

* Handle self-votes from ask_appraiser in core (before Proctor)

* Add unit test badge

* Update logging

* Reorg initialization order

* Troubleshoot unproctored conversation with multiple bots responding

* Troubleshoot unproctored conversation with multiple bots responding

* Prevent handling prompts without a proctor
Force shouts to be handled synchronously

* Cleanup response pausing with queue changes

* Thread new shout handling
Add threaded prompt handling to core tests

* Revert "Add queuing, Better handling of unproctored conversations"

* Refactor "thread" to "shout_thread" for clarity

* Add participant history param for scorekeeper and other bots

* Add participant history param for scorekeeper and other bots

* Add function to shutdown bot and call on cli exit

* Revert "Pull upstream (#7)" (#8)

This reverts commit 2377871.

* Fix git errors after reverting commit to Master

* Revert "Pull upstream (#7)" (#8)

This reverts commit 2377871.

* Fix git errors after reverting commit to Master

* Troubleshooting test import errors (#87)

* Import bots by names (#73)

* Additional parameter for limiting bots import by names

* Added additional CLI parameter 'bot-names' to consider only certain bots

Co-authored-by: Daniel McKnight <34697904+NeonDaniel@users.noreply.github.com>

* Feat threaded shout handling (#89)

* First attempt at bot threading

* Move socket creation into bot thread for socketio compat.
Update testing to include threaded bot creation testing

* Cleanup debug lines

* Make shout thread a daemon

* Fix history tracking update logging (#90)

* Troubleshooting participant tracking and package logging

* Minor logging change

* Update participant history to use sets (#92)

* Grammar check integration (#88)

* Added grammar check decorator for bots output methods

* Returned erased changes

* Returned erased changes

* Removed grammar check decorators froom parent class

* Add back decorator mixin from #88 (#93)

Timeout test_start_bot fn

* Promote to Master (#94)

* Refactor "thread" to "shout_thread" for clarity

* Add participant history param for scorekeeper and other bots

* Add participant history param for scorekeeper and other bots

* Add function to shutdown bot and call on cli exit

* Fix bad revert and pull from Master (#86)

* Pull upstream (#7)

* Bug fix server stop (#22)

* Troubleshoot server stop script

* Troubleshoot server stop script

* Troubleshoot server stop script

* Troubleshoot logging

* Troubleshoot logging

* Catch @user replies in idle conversation from proctor
Handle "observer" bot type

* Prevent handling any @user shouts as a submind

* Add step for bots to notify Proctor when ready for the next prompt

* Troubleshoot bots ready for next input

* Better handle abstaining votes, update default logging

* Update logging

* Update logging

* Update logging

* Increment version

* Update logging to resolve depreciation warnings
Update next prompt logic

* #28

* Prevent logging incoming prompts for non-proctors

* Cleanup pause_response logic for unproctored conversations

* Update logging

* Introduce random wait to space out bot responses

* Catch empty shouts
explicitly vote to abstain

* Timeout NeonBot queries, fix typo in on_server check

* Fix NeonBot responses for on/off server
Annotate bus type

* Always send a string for vote_response to allow for backwards compat.

* Handle register on login attempt user not registered

* Update logging

* Troubleshoot quotes around prompt

* Remove TODO handled in klat-connector

* Outline methods for Proctor selecting respondents from the pool of bots

* Ensure facilitators always ready for all prompts

* Log login errors
Prevent facilitators being in a WAIT state

* Encapsulate bot errors in handle_incoming_shout

* Troubleshoot logging

* Troubleshoot logging for bots

* Update logging

* Catch no nick exceptions

* Add LOG for backwards compat.

* Troubleshooting LOG changes

* Logging updates

* Cleanup imports

* Update LOG for backwards compat

* Troubleshooting response selection errors on cert

* Troubleshooting selections counting as prompts on cert

* More specific logging of login errors
Fix proctor selection of bots to wait out rounds

* Troubleshooting NeonBot testing errors

* Troubleshooting NeonBot missing responses

* Troubleshooting NeonBot missing responses (if guest, don't wait for login return)

* Fix ima_dict location

* Fix respondent bot proctor shout handling

* Logging change only

* Update utils to handle starting bots with excluded bots

* #63 handle @botName incoming shouts (default ask_chatbot)
#60 return a random selection of responses generically when no response is generated

* Update ask_history handling
Encapsulate errors in bot detection

* Only ask scorekeeper on selection, not stenographer

* Ignore torchmoji directory in bot detection
Catch undefined excluded_bots exception

* Update logging and encapsulate more bot errors

* Fix logging error in startup function
Handle new case sensitivity in participant announcement

* Start proctor first to avoid problems with prompts while starting bots

* Troubleshoot subminds handling facilitator shouts

* Handle default response for timeout in NeonBot
Update unit test job name

* Update debug to handle chatbot logging

* Cleanup vote counting logic
Fix scorekeeper call to include current round selection
Reorg bot detection startup order

* Handle self-votes from ask_appraiser in core (before Proctor)

* Add unit test badge

* Update logging

* Reorg initialization order

* Troubleshoot unproctored conversation with multiple bots responding

* Troubleshoot unproctored conversation with multiple bots responding

* Prevent handling prompts without a proctor
Force shouts to be handled synchronously

* Cleanup response pausing with queue changes

* Thread new shout handling
Add threaded prompt handling to core tests

* Revert "Add queuing, Better handling of unproctored conversations"

* Refactor "thread" to "shout_thread" for clarity

* Add participant history param for scorekeeper and other bots

* Add participant history param for scorekeeper and other bots

* Add function to shutdown bot and call on cli exit

* Revert "Pull upstream (#7)" (#8)

This reverts commit 2377871.

* Fix git errors after reverting commit to Master

* Revert "Pull upstream (#7)" (#8)

This reverts commit 2377871.

* Fix git errors after reverting commit to Master

* Troubleshooting test import errors (#87)

* Import bots by names (#73)

* Additional parameter for limiting bots import by names

* Added additional CLI parameter 'bot-names' to consider only certain bots

Co-authored-by: Daniel McKnight <34697904+NeonDaniel@users.noreply.github.com>

* Feat threaded shout handling (#89)

* First attempt at bot threading

* Move socket creation into bot thread for socketio compat.
Update testing to include threaded bot creation testing

* Cleanup debug lines

* Make shout thread a daemon

* Fix history tracking update logging (#90)

* Troubleshooting participant tracking and package logging

* Minor logging change

* Update participant history to use sets (#92)

* Grammar check integration (#88)

* Added grammar check decorator for bots output methods

* Returned erased changes

* Returned erased changes

* Removed grammar check decorators froom parent class

* Add back decorator mixin from #88 (#93)

Timeout test_start_bot fn

Co-authored-by: NeonKirill <74428618+NeonKirill@users.noreply.github.com>

* Fix participant bot determination (#95)

* Update logging

* Dev (#96)

* Refactor "thread" to "shout_thread" for clarity

* Add participant history param for scorekeeper and other bots

* Add participant history param for scorekeeper and other bots

* Add function to shutdown bot and call on cli exit

* Fix bad revert and pull from Master (#86)

* Pull upstream (#7)

* Bug fix server stop (#22)

* Troubleshoot server stop script

* Troubleshoot server stop script

* Troubleshoot server stop script

* Troubleshoot logging

* Troubleshoot logging

* Catch @user replies in idle conversation from proctor
Handle "observer" bot type

* Prevent handling any @user shouts as a submind

* Add step for bots to notify Proctor when ready for the next prompt

* Troubleshoot bots ready for next input

* Better handle abstaining votes, update default logging

* Update logging

* Update logging

* Update logging

* Increment version

* Update logging to resolve depreciation warnings
Update next prompt logic

* #28

* Prevent logging incoming prompts for non-proctors

* Cleanup pause_response logic for unproctored conversations

* Update logging

* Introduce random wait to space out bot responses

* Catch empty shouts
explicitly vote to abstain

* Timeout NeonBot queries, fix typo in on_server check

* Fix NeonBot responses for on/off server
Annotate bus type

* Always send a string for vote_response to allow for backwards compat.

* Handle register on login attempt user not registered

* Update logging

* Troubleshoot quotes around prompt

* Remove TODO handled in klat-connector

* Outline methods for Proctor selecting respondents from the pool of bots

* Ensure facilitators always ready for all prompts

* Log login errors
Prevent facilitators being in a WAIT state

* Encapsulate bot errors in handle_incoming_shout

* Troubleshoot logging

* Troubleshoot logging for bots

* Update logging

* Catch no nick exceptions

* Add LOG for backwards compat.

* Troubleshooting LOG changes

* Logging updates

* Cleanup imports

* Update LOG for backwards compat

* Troubleshooting response selection errors on cert

* Troubleshooting selections counting as prompts on cert

* More specific logging of login errors
Fix proctor selection of bots to wait out rounds

* Troubleshooting NeonBot testing errors

* Troubleshooting NeonBot missing responses

* Troubleshooting NeonBot missing responses (if guest, don't wait for login return)

* Fix ima_dict location

* Fix respondent bot proctor shout handling

* Logging change only

* Update utils to handle starting bots with excluded bots

* #63 handle @botName incoming shouts (default ask_chatbot)
#60 return a random selection of responses generically when no response is generated

* Update ask_history handling
Encapsulate errors in bot detection

* Only ask scorekeeper on selection, not stenographer

* Ignore torchmoji directory in bot detection
Catch undefined excluded_bots exception

* Update logging and encapsulate more bot errors

* Fix logging error in startup function
Handle new case sensitivity in participant announcement

* Start proctor first to avoid problems with prompts while starting bots

* Troubleshoot subminds handling facilitator shouts

* Handle default response for timeout in NeonBot
Update unit test job name

* Update debug to handle chatbot logging

* Cleanup vote counting logic
Fix scorekeeper call to include current round selection
Reorg bot detection startup order

* Handle self-votes from ask_appraiser in core (before Proctor)

* Add unit test badge

* Update logging

* Reorg initialization order

* Troubleshoot unproctored conversation with multiple bots responding

* Troubleshoot unproctored conversation with multiple bots responding

* Prevent handling prompts without a proctor
Force shouts to be handled synchronously

* Cleanup response pausing with queue changes

* Thread new shout handling
Add threaded prompt handling to core tests

* Revert "Add queuing, Better handling of unproctored conversations"

* Refactor "thread" to "shout_thread" for clarity

* Add participant history param for scorekeeper and other bots

* Add participant history param for scorekeeper and other bots

* Add function to shutdown bot and call on cli exit

* Revert "Pull upstream (#7)" (#8)

This reverts commit 2377871.

* Fix git errors after reverting commit to Master

* Revert "Pull upstream (#7)" (#8)

This reverts commit 2377871.

* Fix git errors after reverting commit to Master

* Troubleshooting test import errors (#87)

* Import bots by names (#73)

* Additional parameter for limiting bots import by names

* Added additional CLI parameter 'bot-names' to consider only certain bots

Co-authored-by: Daniel McKnight <34697904+NeonDaniel@users.noreply.github.com>

* Feat threaded shout handling (#89)

* First attempt at bot threading

* Move socket creation into bot thread for socketio compat.
Update testing to include threaded bot creation testing

* Cleanup debug lines

* Make shout thread a daemon

* Fix history tracking update logging (#90)

* Troubleshooting participant tracking and package logging

* Minor logging change

* Update participant history to use sets (#92)

* Grammar check integration (#88)

* Added grammar check decorator for bots output methods

* Returned erased changes

* Returned erased changes

* Removed grammar check decorators froom parent class

* Add back decorator mixin from #88 (#93)

Timeout test_start_bot fn

* Fix participant bot determination (#95)

* Update logging

Co-authored-by: NeonKirill <74428618+NeonKirill@users.noreply.github.com>

* Add participant history param for scorekeeper and other bots

* Add function to shutdown bot and call on cli exit

* Fix bad revert and pull from Master (#86)

* Pull upstream (#7)

* Bug fix server stop (#22)

* Troubleshoot server stop script

* Troubleshoot server stop script

* Troubleshoot server stop script

* Troubleshoot logging

* Troubleshoot logging

* Catch @user replies in idle conversation from proctor
Handle "observer" bot type

* Prevent handling any @user shouts as a submind

* Add step for bots to notify Proctor when ready for the next prompt

* Troubleshoot bots ready for next input

* Better handle abstaining votes, update default logging

* Update logging

* Update logging

* Update logging

* Increment version

* Update logging to resolve depreciation warnings
Update next prompt logic

* #28

* Prevent logging incoming prompts for non-proctors

* Cleanup pause_response logic for unproctored conversations

* Update logging

* Introduce random wait to space out bot responses

* Catch empty shouts
explicitly vote to abstain

* Timeout NeonBot queries, fix typo in on_server check

* Fix NeonBot responses for on/off server
Annotate bus type

* Always send a string for vote_response to allow for backwards compat.

* Handle register on login attempt user not registered

* Update logging

* Troubleshoot quotes around prompt

* Remove TODO handled in klat-connector

* Outline methods for Proctor selecting respondents from the pool of bots

* Ensure facilitators always ready for all prompts

* Log login errors
Prevent facilitators being in a WAIT state

* Encapsulate bot errors in handle_incoming_shout

* Troubleshoot logging

* Troubleshoot logging for bots

* Update logging

* Catch no nick exceptions

* Add LOG for backwards compat.

* Troubleshooting LOG changes

* Logging updates

* Cleanup imports

* Update LOG for backwards compat

* Troubleshooting response selection errors on cert

* Troubleshooting selections counting as prompts on cert

* More specific logging of login errors
Fix proctor selection of bots to wait out rounds

* Troubleshooting NeonBot testing errors

* Troubleshooting NeonBot missing responses

* Troubleshooting NeonBot missing responses (if guest, don't wait for login return)

* Fix ima_dict location

* Fix respondent bot proctor shout handling

* Logging change only

* Update utils to handle starting bots with excluded bots

* #63 handle @botName incoming shouts (default ask_chatbot)
#60 return a random selection of responses generically when no response is generated

* Update ask_history handling
Encapsulate errors in bot detection

* Only ask scorekeeper on selection, not stenographer

* Ignore torchmoji directory in bot detection
Catch undefined excluded_bots exception

* Update logging and encapsulate more bot errors

* Fix logging error in startup function
Handle new case sensitivity in participant announcement

* Start proctor first to avoid problems with prompts while starting bots

* Troubleshoot subminds handling facilitator shouts

* Handle default response for timeout in NeonBot
Update unit test job name

* Update debug to handle chatbot logging

* Cleanup vote counting logic
Fix scorekeeper call to include current round selection
Reorg bot detection startup order

* Handle self-votes from ask_appraiser in core (before Proctor)

* Add unit test badge

* Update logging

* Reorg initialization order

* Troubleshoot unproctored conversation with multiple bots responding

* Troubleshoot unproctored conversation with multiple bots responding

* Prevent handling prompts without a proctor
Force shouts to be handled synchronously

* Cleanup response pausing with queue changes

* Thread new shout handling
Add threaded prompt handling to core tests

* Revert "Add queuing, Better handling of unproctored conversations"

* Refactor "thread" to "shout_thread" for clarity

* Add participant history param for scorekeeper and other bots

* Add participant history param for scorekeeper and other bots

* Add function to shutdown bot and call on cli exit

* Revert "Pull upstream (#7)" (#8)

This reverts commit 2377871.

* Fix git errors after reverting commit to Master

* Revert "Pull upstream (#7)" (#8)

This reverts commit 2377871.

* Fix git errors after reverting commit to Master

* Fix participant bot determination (#95)

* Update logging

* Replace clean_up_bot function and call on exit (#97)

Cleanup imports

* Troubleshooting setup requirements, ParlAI dir errors

* Use event instead of infinite loop to wait for exit (#102)

* Troubleshooting credential file cli option (#104)

* Troubleshooting credential file cli option

* Increment version

* Feat handle stop bot args (#107)

* Handle cli server argument

* Troubleshoot cli stop server argument

* More process ending troubleshooting

* More process ending troubleshooting

* Cleanup stop bots logging and waiting

* Closest Answer Finder (restored) (#106)

* Removed redundant logic

* Restored closest answer finder

* Updated requirements.txt

* UpdateD README.md

* Update README.md

* Fix lowercased names in objects (#109)

* Lowercase nicks used as indices

* Lowercase nicks vote check

* Fix lowercase names in testing (#110)

* Lowercase nicks used as indices

* Lowercase nicks vote check

* Fix case sensitivity in testing

* Fix server stop for no server arg

* Feat messagebus bot restarts (#113)

* Add bot restart via messagebus

* Troubleshooting bot restart via messagebus

* Troubleshooting bot restart via messagebus

* Troubleshooting bot restart via messagebus

* Troubleshoot bot restarts

* Troubleshoot bot restarts killing all PIDs

* Troubleshoot bot restarts track all PIDs on start

* Troubleshoot bot restarts log pids

* Troubleshoot bot restarts don't remove PIDs in iterator

* Cleanup Restart code

* Fix messagebus init for NeonBots (#115)

Cleanup messagebus in clean_up_bot

* Add a thread safety check in cleanup (#117)

* Update license in file headers (#120)

Add LICENSE.md

* Update license notices (#121)

* Update license in file headers
Add LICENSE.md

* Update license in setup.py

* Fix case sensitivity issues in _clean_options function (#122)

* Fix Recursive Shout Handling (#124)

* Update git testing and automation (#125)

* Use unique prompt id for vote counting (#129)

* Increment version to 2.0.0 (#132)

* Add support for running a bot as a prompter (#128)

* Outline changes to allow a chatbot to converse with Proctor/subminds

* Fix @proctor shouts

* Add CLI entry point for prompter bot start

* Fix typo in CLI entry point

* Remove cred_file reference from cli_start_prompter

* Prompter send a shout on initialization

* Troubleshooting first prompt

* Troubleshooting first prompt

* Handle initial prompt as a bot parameter

* Fix typo in initial prompt

* Return to prevent prompter double-handling incoming shouts

* Strip "@user" prefix in all handled cases

* Handle restart with specified bot (not restart all)

* Increment Version

* Add backwards compat for v2 bots
Add tests

* Log error if requesting a v2 bot prompter

* Use unique prompt id for vote counting (#129)

* Fix bot selection string matching (#136)

* Fix bot selection matching partial bot names ("markbot" matched by "kbot")

* Fix bot selection matching partial bot names ("markbot" matched by "kbot")

* Added more specific login error logging (#135)

Improved proctor checking
Log shutdown exceptions

* Fix @proctor prompt handling (#137)

* Fix neon bot prompter (#138)

* Add missing is_prompter param to NeonBot

* Increment version

* Update README.md (#140)

* Add Prompter bot support (#141)

* Update prompter handling for new server logic

* Update prompter response handling

* Update prompter response handling

* Troubleshooting Prompter connections

* Troubleshooting Prompter shout handling

* Fix Prompter start domain

* Fix Uncovered bug in register on login logic (#144)

Co-authored-by: NeonKirill <74428618+NeonKirill@users.noreply.github.com>
@github-actions github-actions bot mentioned this pull request Feb 7, 2025
NeonDaniel added a commit that referenced this pull request Feb 10, 2025
# Changelog

##
[2.3.1a38](https://github.com/NeonGeckoCom/chatbot-core/tree/2.3.1a38)
(2025-02-07)

[Full
Changelog](2.3.1a37...2.3.1a38)

**Merged pull requests:**

- Update deprecation warnings
[\#198](#198)
([NeonDaniel](https://github.com/NeonDaniel))

##
[2.3.1a37](https://github.com/NeonGeckoCom/chatbot-core/tree/2.3.1a37)
(2025-02-07)

[Full
Changelog](2.3.1a36...2.3.1a37)

**Merged pull requests:**

- Minor changes to prep for stable release
[\#197](#197)
([NeonDaniel](https://github.com/NeonDaniel))

##
[2.3.1a36](https://github.com/NeonGeckoCom/chatbot-core/tree/2.3.1a36)
(2025-02-03)

[Full
Changelog](2.3.1a35...2.3.1a36)

**Merged pull requests:**

- Fixed stopping logic and passing list connected cids on sync
[\#196](#196)
([NeonKirill](https://github.com/NeonKirill))

##
[2.3.1a35](https://github.com/NeonGeckoCom/chatbot-core/tree/2.3.1a35)
(2025-01-29)

[Full
Changelog](2.3.1a34...2.3.1a35)

**Merged pull requests:**

- Update MQ init for compat. with klat-connector changes
[\#195](#195)
([NeonDaniel](https://github.com/NeonDaniel))

##
[2.3.1a34](https://github.com/NeonGeckoCom/chatbot-core/tree/2.3.1a34)
(2025-01-15)

[Full
Changelog](2.3.1a33...2.3.1a34)

**Merged pull requests:**

- Fix v2 chatbot thread handling and update license notices
[\#194](#194)
([NeonDaniel](https://github.com/NeonDaniel))

##
[2.3.1a33](https://github.com/NeonGeckoCom/chatbot-core/tree/2.3.1a33)
(2025-01-15)

[Full
Changelog](2.3.1a32...2.3.1a33)

**Merged pull requests:**

- Made `cli_start_mq_bot` hang infinitely to preserve main thread
[\#193](#193)
([NeonKirill](https://github.com/NeonKirill))

##
[2.3.1a32](https://github.com/NeonGeckoCom/chatbot-core/tree/2.3.1a32)
(2025-01-14)

[Full
Changelog](2.3.1a31...2.3.1a32)

**Merged pull requests:**

- Update dependencies to allow newer releases
[\#192](#192)
([NeonDaniel](https://github.com/NeonDaniel))

##
[2.3.1a31](https://github.com/NeonGeckoCom/chatbot-core/tree/2.3.1a31)
(2025-01-05)

[Full
Changelog](2.3.1a30...2.3.1a31)

**Merged pull requests:**

- Ad-hoc Fixes
[\#191](#191)
([NeonKirill](https://github.com/NeonKirill))

##
[2.3.1a30](https://github.com/NeonGeckoCom/chatbot-core/tree/2.3.1a30)
(2025-01-03)

[Full
Changelog](2.3.1a29...2.3.1a30)

**Merged pull requests:**

- Added handling of skip\_announcement and incremented MQ version
[\#190](#190)
([NeonKirill](https://github.com/NeonKirill))

##
[2.3.1a29](https://github.com/NeonGeckoCom/chatbot-core/tree/2.3.1a29)
(2024-12-13)

[Full
Changelog](2.3.1a28...2.3.1a29)

**Merged pull requests:**

- Incremented dependencies versions
[\#189](#189)
([NeonKirill](https://github.com/NeonKirill))

##
[2.3.1a28](https://github.com/NeonGeckoCom/chatbot-core/tree/2.3.1a28)
(2024-12-04)

[Full
Changelog](2.3.1a27...2.3.1a28)

**Implemented enhancements:**

- Proctor Base Class
[\#163](#163)

**Merged pull requests:**

- Async consumers support
[\#188](#188)
([NeonKirill](https://github.com/NeonKirill))

##
[2.3.1a27](https://github.com/NeonGeckoCom/chatbot-core/tree/2.3.1a27)
(2023-12-15)

[Full
Changelog](2.3.1a26...2.3.1a27)

**Merged pull requests:**

- Init logs per-bot
[\#187](#187)
([NeonDaniel](https://github.com/NeonDaniel))

##
[2.3.1a26](https://github.com/NeonGeckoCom/chatbot-core/tree/2.3.1a26)
(2023-12-14)

[Full
Changelog](2.3.1a25...2.3.1a26)

**Merged pull requests:**

- Chatbot base class tests
[\#186](#186)
([NeonDaniel](https://github.com/NeonDaniel))

##
[2.3.1a25](https://github.com/NeonGeckoCom/chatbot-core/tree/2.3.1a25)
(2023-12-11)

[Full
Changelog](2.3.1a24...2.3.1a25)

**Merged pull requests:**

- Update neon-mq-connector dependency to stable version
[\#185](#185)
([NeonDaniel](https://github.com/NeonDaniel))

##
[2.3.1a24](https://github.com/NeonGeckoCom/chatbot-core/tree/2.3.1a24)
(2023-12-11)

[Full
Changelog](2.3.1a23...2.3.1a24)

**Merged pull requests:**

- Minor logging updates
[\#184](#184)
([NeonDaniel](https://github.com/NeonDaniel))

##
[2.3.1a23](https://github.com/NeonGeckoCom/chatbot-core/tree/2.3.1a23)
(2023-12-09)

[Full
Changelog](2.3.1a22...2.3.1a23)

**Merged pull requests:**

- Port utils from Chatbots project
[\#183](#183)
([NeonDaniel](https://github.com/NeonDaniel))

##
[2.3.1a22](https://github.com/NeonGeckoCom/chatbot-core/tree/2.3.1a22)
(2023-12-08)

[Full
Changelog](2.3.1a21...2.3.1a22)

**Merged pull requests:**

- Add `bot_config` param with `Configuration` handling
[\#181](#181)
([NeonDaniel](https://github.com/NeonDaniel))

##
[2.3.1a21](https://github.com/NeonGeckoCom/chatbot-core/tree/2.3.1a21)
(2023-12-07)

[Full
Changelog](2.3.1a20...2.3.1a21)

**Implemented enhancements:**

- Refactor ParlAI bot class and bots
[\#151](#151)

**Merged pull requests:**

- Refactoring and Unit Tests
[\#182](#182)
([NeonDaniel](https://github.com/NeonDaniel))

##
[2.3.1a20](https://github.com/NeonGeckoCom/chatbot-core/tree/2.3.1a20)
(2023-12-01)

[Full
Changelog](2.3.1a19...2.3.1a20)

**Merged pull requests:**

- ParlAI Base class fix
[\#180](#180)
([NeonDaniel](https://github.com/NeonDaniel))

##
[2.3.1a19](https://github.com/NeonGeckoCom/chatbot-core/tree/2.3.1a19)
(2023-11-30)

[Full
Changelog](2.3.1a18...2.3.1a19)

**Merged pull requests:**

- Replace missing imports in `bot_utils.py`
[\#179](#179)
([NeonDaniel](https://github.com/NeonDaniel))

##
[2.3.1a18](https://github.com/NeonGeckoCom/chatbot-core/tree/2.3.1a18)
(2023-11-30)

[Full
Changelog](2.3.1a17...2.3.1a18)

**Merged pull requests:**

- Add CLI entrypoint to init an MQ bot
[\#178](#178)
([NeonDaniel](https://github.com/NeonDaniel))

##
[2.3.1a17](https://github.com/NeonGeckoCom/chatbot-core/tree/2.3.1a17)
(2023-11-29)

[Full
Changelog](2.3.0...2.3.1a17)

**Implemented enhancements:**

- Support for MQ-based Chatbots
[\#149](#149)
([NeonKirill](https://github.com/NeonKirill))

**Fixed bugs:**

- Fix Unit Tests
[\#150](#150)

**Merged pull requests:**

- Update setup.py to resolve PyPI publication failure
[\#177](#177)
([NeonDaniel](https://github.com/NeonDaniel))
- Update automation and cleanup for release
[\#176](#176)
([NeonDaniel](https://github.com/NeonDaniel))
- Added context data on chatbot connection
[\#175](#175)
([NeonKirill](https://github.com/NeonKirill))
- Chatbots V2 API Context Support
[\#174](#174)
([NeonKirill](https://github.com/NeonKirill))
- Incremented MQ dependency to support mq callbacks
[\#173](#173)
([NeonKirill](https://github.com/NeonKirill))
- Added callback to the send\_shout\(\) - generated shout id
[\#172](#172)
([NeonKirill](https://github.com/NeonKirill))
- Fixed abstain detection
[\#171](#171)
([NeonKirill](https://github.com/NeonKirill))
- Announcements Support
[\#170](#170)
([NeonKirill](https://github.com/NeonKirill))
- Moved logger to the base class
[\#169](#169)
([NeonKirill](https://github.com/NeonKirill))
- Update dependencies \(13-04-2022\)
[\#168](#168)
([NeonKirill](https://github.com/NeonKirill))
- Chatbots MQ Communication Update
[\#167](#167)
([NeonKirill](https://github.com/NeonKirill))
- Support for MQ-based Proctored Conversations \(Subminds
Implementation\)
[\#165](#165)
([NeonKirill](https://github.com/NeonKirill))
- ParlAI troubleshooting
[\#164](#164)
([NeonKirill](https://github.com/NeonKirill))
- Generic Version Utility
[\#162](#162)
([NeonKirill](https://github.com/NeonKirill))
- Increment version to 2.3.0
[\#157](#157)
([NeonDaniel](https://github.com/NeonDaniel))
- Update core tests to test against mach server to isolate testing
[\#156](#156)
([NeonDaniel](https://github.com/NeonDaniel))
- Update versioning automation
[\#155](#155)
([NeonDaniel](https://github.com/NeonDaniel))
- Update klat-connector dependency to use pypi package
[\#154](#154)
([NeonDaniel](https://github.com/NeonDaniel))
- Unit Test Fixes and Improvements
[\#152](#152)
([NeonDaniel](https://github.com/NeonDaniel))
- Update function descriptions in README.md
[\#148](#148)
([NeonVitaliy](https://github.com/NeonVitaliy))
- Draft ParlaiBot class
[\#146](#146)
([NeonAndrii](https://github.com/NeonAndrii))
- Fix Uncovered bug in register on login logic
[\#144](#144)
([NeonDaniel](https://github.com/NeonDaniel))
- Add Prompter bot support
[\#141](#141)
([NeonDaniel](https://github.com/NeonDaniel))
- Update README.md
[\#140](#140)
([NeonKirill](https://github.com/NeonKirill))
- Fix neon bot prompter
[\#138](#138)
([NeonDaniel](https://github.com/NeonDaniel))
- Fix @proctor prompt handling
[\#137](#137)
([NeonDaniel](https://github.com/NeonDaniel))
- Fix bot selection string matching
[\#136](#136)
([NeonDaniel](https://github.com/NeonDaniel))
- Minor logging changes and bugfixes
[\#135](#135)
([NeonDaniel](https://github.com/NeonDaniel))
- Increment version to 2.0.0
[\#132](#132)
([NeonDaniel](https://github.com/NeonDaniel))
- Use unique prompt id for vote counting
[\#129](#129)
([NeonDaniel](https://github.com/NeonDaniel))
- Add support for running a bot as a prompter
[\#128](#128)
([NeonDaniel](https://github.com/NeonDaniel))
- Update git testing and automation
[\#125](#125)
([NeonDaniel](https://github.com/NeonDaniel))
- Fix Recursive Shout Handling
[\#124](#124)
([NeonDaniel](https://github.com/NeonDaniel))
- Fix case sensitivity issues in \_clean\_options function
[\#122](#122)
([NeonDaniel](https://github.com/NeonDaniel))
- Update license notices
[\#121](#121)
([NeonDaniel](https://github.com/NeonDaniel))
- Update license
[\#120](#120)
([NeonDaniel](https://github.com/NeonDaniel))
- Add a thread safety check in cleanup
[\#117](#117)
([NeonDaniel](https://github.com/NeonDaniel))
- Messagebus NeonBot fixes
[\#115](#115)
([NeonDaniel](https://github.com/NeonDaniel))
- Feat messagebus bot restarts
[\#113](#113)
([NeonDaniel](https://github.com/NeonDaniel))
- Fix server stop with no server arg
[\#111](#111)
([NeonDaniel](https://github.com/NeonDaniel))
- Fix lowercase names in testing
[\#110](#110)
([NeonDaniel](https://github.com/NeonDaniel))
- Fix lowercased names in objects
[\#109](#109)
([NeonDaniel](https://github.com/NeonDaniel))
- Feat handle stop bot args
[\#107](#107)
([NeonDaniel](https://github.com/NeonDaniel))
- Closest Answer Finder \(restored\)
[\#106](#106)
([NeonKirill](https://github.com/NeonKirill))
- Troubleshooting credential file cli option
[\#104](#104)
([NeonDaniel](https://github.com/NeonDaniel))
- Feat improved waiting for exit
[\#102](#102)
([NeonDaniel](https://github.com/NeonDaniel))
- Troubleshooting setup requirements, ParlAI dir errors
[\#99](#99)
([NeonDaniel](https://github.com/NeonDaniel))
- Replace clean\_up\_bot function and call on exit
[\#97](#97)
([NeonDaniel](https://github.com/NeonDaniel))
- Dev [\#96](#96)
([NeonDaniel](https://github.com/NeonDaniel))



\* *This Changelog was automatically generated by
[github_changelog_generator](https://github.com/github-changelog-generator/github-changelog-generator)*
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant