-
Notifications
You must be signed in to change notification settings - Fork 866
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
PHP: Implemented correct return type guessing for a function that returns an array #6697
PHP: Implemented correct return type guessing for a function that returns an array #6697
Conversation
@troizet Could you change the target branch to |
@junichi11 it would be better to not use feature branches since they cause everything to be built and tested twice. The NB 20 release should not be far away, we are at the last rc most likely, so conflicts should be hopefully unlikely now. |
There are conflicts between this change and the php-nb21-features branch. |
Ah I see, I think I misunderstood the plan. |
74b5e54
to
bfc5ccd
Compare
@junichi11 Made a rebase to the |
ok, I understood it correctly after all. So the problem with branches in the main repo is that CI will think it is a main branch and run all tests (and that is a lot of tests) every time the branch updates. This comes additionally to the tests which run in the PR. you can check it here: https://github.com/apache/netbeans/actions?query=branch%3Aphp-nb21-features the second problem is that it will add about 800mb per branch to the cache: https://github.com/apache/netbeans/actions/caches, and we have to stay below 10gb if possible. So if we really want to use branches beyond master and delivery in the main repo, we have to make some changes how things currently work in CI. edit: going to figure something out |
Does it mean that all test will be run regardless of labels?
Should we remove caches of the feature branch manually at the moment?
I would like to use the feature branch with the following cases.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you for your work.
right. Since a merge to master for example will run all tests. Any branch of the main repo behaves like a primary branch right now - since we typically don't use extra branches (except for cnd which is work in progress), everything happens in clones until its ready.
no need atm. We are still good cache size wise. It would automatically remove the least used cache first if it has storage issues.
lets move the discussion to #6710 so that we don't use this PR here for off-topic discussions. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks a lot!
Thank you, guys! Merging. |
Code example:
Navigator
Documentation tooltip
phpDoc generation
Code example:
Overriding method