GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — PIP 176: Refactor Doc Bot · Issue #15797 · apache/pulsar

PIP 176: Refactor Doc Bot #15797

New issue
Copy link
New issue
Copy link
Closed
Closed
PIP 176: Refactor Doc Bot#15797
Copy link
Assignees
maxsxu
Labels
StaledocYour PR contains doc changes, no matter whether the changes are in markdown or code files.

Description

@Anonymitaet
Anonymitaet
opened on May 26, 2022
Issue body actions

PIP

PIP 176: Refactor Doc Bot to Improve Efficiency of Managing Doc

Issues (new)

  • P0: doc bot check is pending or waiting and documentation label check is changed to label check after it is set to required.

This blocks many PRs, eg. #16298, #16023

This might be caused by GitHub Action limitations https://stackoverflow.com/questions/52200096/github-pull-request-waiting-for-status-to-be-reported

Can you please take a look at it at your earliest convenience? Thank you!

  • P1: when the PR description is empty and the PR author selects labels from Labels, the doc bot should work normally.

  • P2: configure the doc bot to other branches except for master
    - [x] 2.10. Obsever the results and set for other branches if it works well
    - [ ] 2.9
    - [ ] 2.8
    - [ ] 2.7

Issues can't be resolved

  • P2: Doc Bot is triggered after updating PR title. (can not be resolved now due to GitHub limitations)

Issues (old)

When fixing #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 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.

image

Scenario 2

Issue

Doc Bot only works for master change.

Expected behavior

Doc Bot should work for all branches and label all PRs.

image

Scenario 3

Issue

Bot labels this PR with several doc labels.

Expected behavior

Bot should label a PR with only a doc label.

image

Improvements

Set documentation label check as one of the GitHub checks.

References

Pulsar Bot

  • Instructions
  • Implementation process
  • Flowchart
  • Script file

Activity

  1. maxsxu commented on May 26, 2022

    @maxsxu
    maxsxu
    on May 26, 2022
    Contributor
    More actions

    Thanks @Anonymitaet brings this out.

    More context from the previous maintainer:

    Current doc-label-check inspired from https://github.com/harupy/auto-labeling. During the doc bot development, just been modifying the compiled dist/index.js to quickly satisfy requirements.

    So from all perspectives, refactoring is necessary. I'll be working on this to make the doc Bot more maintainable and scalable.

    Reacted by Anonymitaet
  2. Anonymitaet commented on May 27, 2022

    @Anonymitaet
    Anonymitaet
    on May 27, 2022
    MemberAuthor
    More actions

    @maxsxu I've added more improvements as we discussed just now

    Reacted by Max Xu
  3. Anonymitaet
    added
    docYour PR contains doc changes, no matter whether the changes are in markdown or code files.
    workflow
    on May 30, 2022
  4. Anonymitaet
    changed the title [-]Refactor doc Bot[/-] [+]PIP 176: Refactor Doc Bot[/+] on Jun 10, 2022
  5. maxsxu commented on Jun 11, 2022

    @maxsxu
    maxsxu
    on Jun 11, 2022
    Contributor
    More actions

    The new documentation bot has been implemented at apache/pulsar-test-infra#43

  6. Anonymitaet
    assigned
    maxsxu
    on Jun 13, 2022
  7. github-actions commented on Aug 7, 2022

    @github-actions
    github-actionsBot
    on Aug 7, 2022
    More actions

    The issue had no activity for 30 days, mark with Stale label.

  8. github-actions
    added
    Stale
    on Aug 7, 2022
  9. tisonkun commented on Dec 6, 2022

    @tisonkun
    tisonkun
    on Dec 6, 2022
    Member
    More actions

    Closed as done.

  10. tisonkun
    closed this as completedon Dec 6, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

  • @maxsxu
    maxsxu

Labels

StaledocYour PR contains doc changes, no matter whether the changes are in markdown or code files.

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

    You are visitor 01402775 — GeezerVison does not store the pages you look up.
    Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.