Skip to content

Commit

Permalink
Update progress for Javier
Browse files Browse the repository at this point in the history
  • Loading branch information
Incogdino committed Feb 9, 2025
1 parent 84c788b commit 297cae2
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 2 deletions.
20 changes: 20 additions & 0 deletions students/Incogdino/knowledge.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,23 @@ According to my current understanding:
- Testing is done by first creating a wrapper with the component to be tested.
- The `$nextTick()` function of the vm of the wrapper is then called which waits for the next DOM update flush.
- The generated HTML is then compared with the snapshot that is generated.

### DevOps
Markbind utilises several workflow files:
1. `pr-message-reminder.yml` - Extracts out the PR description and checks if a proposed commit message is included.
2. TODO

[Github Actions](https://docs.github.com/en/actions/writing-workflows) is used when writing workflows.
- Workflows are defined using YAML
- They are trigered by events that is used to automate checks
- Workflows can make use of GitHub Actions context variables to gain information about the workflow runs, variables, runner environements, jobs and steps.

`github` context is freuqently used for retrieving useful information of the current workflow run. Some examples used(but not limited to) include :
- `github.actor` is used to detect the username of the user that triggered the workflow event. It can also be used to detect bots who trigger the events.
- `github.event_name` is used to detect the name of the event that triggered the workflow. In the context of markbind, this is often used to check if the triggered workflow is of a particular event (such as pull request) before running the script.

A [potential limitation](https://www-sciencedirect-com.libproxy1.nus.edu.sg/science/article/pii/S0164121224003315) arises when using `github.actor` to detect bot accounts. That is, if the bot is a github account that is automated by a user. In this case, github currently has no way to detect such accounts.
- Proposed potential workaround: Manually identify the human bot accounts.

### Bots
Markbind uses the [all-contributor](https://allcontributors.org/) bot to add contributors to automate the process of adding contributors to the project
7 changes: 5 additions & 2 deletions students/Incogdino/progress.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,8 @@
| 0 | Authored PR: [Update copy plugin #2580](https://github.com/MarkBind/markbind/pull/2580) |
| 2 | Authored PR: [Fix broken annotation label #2586](https://github.com/MarkBind/markbind/pull/2586) |
| 3 | Reviewed issue: [Boxes: give a way to omit the icon #2559](https://github.com/MarkBind/markbind/issues/2559) |
| 3 | Reviewing issue: [Inconsistent behavior with mcq questions allowing multiple correct answers #2587](https://github.com/MarkBind/markbind/issues/2587) |
| 3 | Reviewing issue: [Better feedback when hovering labels #2588](https://github.com/MarkBind/markbind/issues/2588) |
| 3 | Reviewing issue: [Better feedback when hovering labels #2588](https://github.com/MarkBind/markbind/issues/2588) |
| 3 | Authored PR: [UG -> Add mcq question with multiple correct answers #2591](https://github.com/MarkBind/markbind/pull/2591) |
| 4 | Authored PR: [Remove PR message workflow check for bots #2598](https://github.com/MarkBind/markbind/pull/2598) |
| 4 | Reviewing issue: [Provide a search feature for icons #2553](https://github.com/MarkBind/markbind/issues/2553) |
| 4 | Reviewing issue: [Vue Migration (Vue 2 -> Vue 3) #2597](https://github.com/MarkBind/markbind/issues/2597) |

0 comments on commit 297cae2

Please sign in to comment.