Skip to content

TT-15793 added workflow to suggest which branches to target#89

Merged
sredxny merged 32 commits into
mainfrom
TT-15793-implement-intelligent-merge-branches
Nov 4, 2025
Merged

TT-15793 added workflow to suggest which branches to target#89
sredxny merged 32 commits into
mainfrom
TT-15793-implement-intelligent-merge-branches

Conversation

@sredxny

@sredxny sredxny commented Oct 27, 2025

Copy link
Copy Markdown
Contributor

No description provided.

sredny buitrago added 25 commits October 27, 2025 17:14
- Remove 8 unused JIRA scripts (add_comment, api, batch-fetch, format_analysis_comment, search, update_field, update_label, update_versions)
- Keep only essential scripts: get-fixedversion.js, jira-api.js, add-pr-comment.js, github-api.js, match-branches.js
- Add debug logging to jira-api.js to track environment variable availability
- Add environment variable exports in branch_suggestion.yml for Visor subprocess access
- Add documentation for branch suggestion workflow
- Reduced from 12 scripts to 5 essential scripts
Comment thread .github/workflows/branch-suggestion.yml Outdated
@sredxny
sredxny marked this pull request as ready for review November 3, 2025 19:13
@sredxny sredxny changed the title added workflow to suggest which branches to target TT-15793 added workflow to suggest which branches to target Nov 3, 2025
Comment thread .github/workflows/branch-suggestion.yml Outdated
Comment on lines +27 to +37
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: '20'

- name: Install dependencies
working-directory: branch-suggestion
run: npm install

- name: Install Visor
run: npm install -g @probelabs/visor

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

shall we make this a docker based github action with node and visor preinstalled?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I guess we can do it if we are going to use it other places as well? otherwise would be another component to take care of

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

for the records, I made it but it was slower due the docker build and then installation of visor, it took like 7 min while the current approach is just seconds, then reverting this change

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We could have the docker build run once and have it in ci-tools, wdyt?

@jeffy-mathew

Copy link
Copy Markdown
Contributor

🚀

Co-authored-by: Jeffy Mathew <jeffy.mathew100@gmail.com>
@sredxny
sredxny force-pushed the TT-15793-implement-intelligent-merge-branches branch from 91e80f7 to b991996 Compare November 4, 2025 15:53
@sredxny
sredxny merged commit c06e095 into main Nov 4, 2025
4 of 6 checks passed
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.

2 participants