Anonymitaet opened a new issue, #15797:
URL: https://github.com/apache/pulsar/issues/15797

   # Issues
   
   When fixing https://github.com/apache/pulsar/issues/15732, @maxsxu found 
that the doc Bot was implemented by modifying dist rather than src, which makes 
it hard to maintain and scale. 
   
   Consequently, he suggests refactoring the doc Bot along with resolving the 
following issues in Bot:
   
   ## Scenario 1
   
   ### Issue
   
   [This PR](https://github.com/apache/pulsar/pull/15789) was marked with 
doc-related labels and then removed. No doc-related label is marked for this PR.
   
   ### Expected behavior
   
   In this case, this PR should be labeled w/ `doc-label-missing`.
   
   <img width="1043" alt="image" 
src="https://user-images.githubusercontent.com/50226895/170403373-c2dd5645-274b-4dc7-968d-b0b54ff94c5c.png";>
   
   ## Scenario 2
   
   ### Issue
   
   Doc Bot only works for master change. 
   
   ### Expected behavior
   
   Doc Bot should work for all branches and label all PRs.
   
   <img width="1295" alt="image" 
src="https://user-images.githubusercontent.com/50226895/170403785-2462456f-337a-455e-9b62-b2c249c0a6b3.png";>
   
   # References
   
   - 
[Instructions](https://docs.google.com/document/d/1Qw7LHQdXWBW9t2-r-A7QdFDBwmZh6ytB4guwMoXHqc0/edit#bookmark=id.5d66olk7l4oz)
   - [Implementation 
process](https://docs.google.com/document/d/1bQfZkSu5nG1tNycpmXXtUFn-Z5-h-uqHv6IXsCEySQ8/edit#)
   - 
[Flowchart](https://lucid.app/lucidchart/2e71291d-7882-4c61-86c1-0711a007ce58/edit?beaconFlowId=CE4A5D8BF4076F72&invitationId=inv_0fe733d2-a1dd-425d-807d-ac11ad9dc39d&page=0_0#)
   - [Script 
file](https://github.com/apache/pulsar-test-infra/blob/76c227dea32f3b9be99558d4f2c22f1e70252839/doc-label-check/dist/index.js#L2617)


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to