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

ci: merge staging to master #339

Merged
merged 2 commits into from
Nov 29, 2024
Merged

ci: merge staging to master #339

merged 2 commits into from
Nov 29, 2024

Conversation

MatrixAI-Bot
Copy link
Member

This is an automatic PR generated by the CI/CD pipeline. This will be automatically fast-forward merged if successful.

@MatrixAI-Bot MatrixAI-Bot self-assigned this Nov 28, 2024
@MatrixAI-Bot
Copy link
Member Author

Pipeline Attempt on 12061525762 for 2b4c00c

https://github.com/MatrixAI/Polykey-CLI/actions/runs/12061525762

@tegefaulkes
Copy link
Contributor

@aryanjassal its failing on tests you added recently. You need to dig into this.

@aryanjassal
Copy link
Member

aryanjassal commented Nov 29, 2024

I pulled the repo and tried to run the tests, and they all passed. It could be due to fastcheck discovering an edge case.

@aryanjassal
Copy link
Member

This is happening due to fastcheck generating - as the vault name, and commander trying to parse any values starting with - as an option. I can update the vault regex to disallow -, or use quotation marks around the vault name.

The first option is the easiest, and the second option will take some time as this change needs to be implemented across all tests, but would be more robust in the future. Which one should I implement, @tegefaulkes?

@MatrixAI-Bot
Copy link
Member Author

Pipeline Attempt on 12078305328 for c6f7614

https://github.com/MatrixAI/Polykey-CLI/actions/runs/12078305328

@MatrixAI-Bot
Copy link
Member Author

Pipeline Succeeded on 12078305328 for c6f7614

https://github.com/MatrixAI/Polykey-CLI/actions/runs/12078305328

@MatrixAI-Bot MatrixAI-Bot merged commit c6f7614 into master Nov 29, 2024
25 checks passed
@CMCDragonkai
Copy link
Member

This is happening due to fastcheck generating - as the vault name, and commander trying to parse any values starting with - as an option. I can update the vault regex to disallow -, or use quotation marks around the vault name.

The first option is the easiest, and the second option will take some time as this change needs to be implemented across all tests, but would be more robust in the future. Which one should I implement, @tegefaulkes?

I would say that yes, if quoted, it's a legal name, if not quoted, it's not a legal name. So in some cases, the fast check generation should be more precise, or you should be expecting a parse error in those scenarios.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

4 participants