Skip to content

Fix files changes filtering in CI#11714

Merged
frouioui merged 4 commits intovitessio:mainfrom
planetscale:fix-static-check-ci-go-filter
Nov 21, 2022
Merged

Fix files changes filtering in CI#11714
frouioui merged 4 commits intovitessio:mainfrom
planetscale:fix-static-check-ci-go-filter

Conversation

@frouioui
Copy link
Member

@frouioui frouioui commented Nov 15, 2022

Description

This Pull Request fixes the issue described in #11745. go.sum and go.mod are now two distinct filters in the workflows.

Related Issue(s)

Fixes #11745

Checklist

  • "Backport to:" labels have been added if this change should be back-ported
  • Tests were added or are not required
  • Documentation was added or is not required

Signed-off-by: Florent Poinsard <florent.poinsard@outlook.fr>
@vitess-bot
Copy link
Contributor

vitess-bot bot commented Nov 15, 2022

Review Checklist

Hello reviewers! 👋 Please follow this checklist when reviewing this Pull Request.

General

  • Ensure that the Pull Request has a descriptive title.
  • If this is a change that users need to know about, please apply the release notes (needs details) label so that merging is blocked unless the summary release notes document is included.

If a new flag is being introduced:

  • Is it really necessary to add this flag?
  • Flag names should be clear and intuitive (as far as possible)
  • Help text should be descriptive.
  • Flag names should use dashes (-) as word separators rather than underscores (_).

If a workflow is added or modified:

  • Each item in Jobs should be named in order to mark it as required.
  • If the workflow should be required, the maintainer team should be notified.

Bug fixes

  • There should be at least one unit or end-to-end test.
  • The Pull Request description should include a link to an issue that describes the bug.

Non-trivial changes

  • There should be some code comments as to why things are implemented the way they are.

New/Existing features

  • Should be documented, either by modifying the existing documentation or creating new documentation.
  • New features should have a link to a feature request issue or an RFC that documents the use cases, corner cases and test cases.

Backward compatibility

  • Protobuf changes should be wire-compatible.
  • Changes to _vt tables and RPCs need to be backward compatible.
  • vtctl command output order should be stable and awk-able.
  • RPC changes should be compatible with vitess-operator
  • If a flag is removed, then it should also be removed from VTop, if used there.

Signed-off-by: Florent Poinsard <florent.poinsard@outlook.fr>
Signed-off-by: Florent Poinsard <florent.poinsard@outlook.fr>
@frouioui frouioui marked this pull request as draft November 16, 2022 18:00
@frouioui frouioui marked this pull request as ready for review November 16, 2022 18:17
@frouioui frouioui requested a review from deepthi November 16, 2022 18:17
@deepthi
Copy link
Collaborator

deepthi commented Nov 16, 2022

We have only 2 code owners for /test/. We should add a few more - maybe @deepthi and @mattlord at the directory level + @harshit-gangal for the java files.

@frouioui
Copy link
Member Author

We have only 2 code owners for /test/. We should add a few more - maybe @deepthi and @mattlord at the directory level + @harshit-gangal for the java files.

@deepthi Done: #11762

Signed-off-by: Florent Poinsard <florent.poinsard@outlook.fr>
@frouioui frouioui force-pushed the fix-static-check-ci-go-filter branch from 81bf582 to 3c3025b Compare November 17, 2022 00:32
@frouioui frouioui merged commit 813e757 into vitessio:main Nov 21, 2022
@frouioui frouioui deleted the fix-static-check-ci-go-filter branch November 21, 2022 06:59
@vitess-bot
Copy link
Contributor

vitess-bot bot commented Nov 21, 2022

I was unable to backport this Pull Request to the following branches: release-14.0, release-15.0.

frouioui added a commit to planetscale/vitess that referenced this pull request Nov 21, 2022
* test go.sum modification

Signed-off-by: Florent Poinsard <florent.poinsard@outlook.fr>

* test filter with different go.mod and go.sum rules

Signed-off-by: Florent Poinsard <florent.poinsard@outlook.fr>

* use different filters for go.mod and go.sum everywhere

Signed-off-by: Florent Poinsard <florent.poinsard@outlook.fr>

* clean up go.sum

Signed-off-by: Florent Poinsard <florent.poinsard@outlook.fr>

Signed-off-by: Florent Poinsard <florent.poinsard@outlook.fr>
frouioui added a commit to planetscale/vitess that referenced this pull request Nov 21, 2022
* test go.sum modification

Signed-off-by: Florent Poinsard <florent.poinsard@outlook.fr>

* test filter with different go.mod and go.sum rules

Signed-off-by: Florent Poinsard <florent.poinsard@outlook.fr>

* use different filters for go.mod and go.sum everywhere

Signed-off-by: Florent Poinsard <florent.poinsard@outlook.fr>

* clean up go.sum

Signed-off-by: Florent Poinsard <florent.poinsard@outlook.fr>

Signed-off-by: Florent Poinsard <florent.poinsard@outlook.fr>
@dbussink dbussink mentioned this pull request Nov 21, 2022
3 tasks
@rsajwani rsajwani mentioned this pull request Nov 26, 2022
24 tasks
frouioui added a commit that referenced this pull request Nov 28, 2022
* test go.sum modification

Signed-off-by: Florent Poinsard <florent.poinsard@outlook.fr>

* test filter with different go.mod and go.sum rules

Signed-off-by: Florent Poinsard <florent.poinsard@outlook.fr>

* use different filters for go.mod and go.sum everywhere

Signed-off-by: Florent Poinsard <florent.poinsard@outlook.fr>

* clean up go.sum

Signed-off-by: Florent Poinsard <florent.poinsard@outlook.fr>

Signed-off-by: Florent Poinsard <florent.poinsard@outlook.fr>

Signed-off-by: Florent Poinsard <florent.poinsard@outlook.fr>
frouioui added a commit that referenced this pull request Nov 28, 2022
* Fix files changes filtering in CI (#11714)

* test go.sum modification

Signed-off-by: Florent Poinsard <florent.poinsard@outlook.fr>

* test filter with different go.mod and go.sum rules

Signed-off-by: Florent Poinsard <florent.poinsard@outlook.fr>

* use different filters for go.mod and go.sum everywhere

Signed-off-by: Florent Poinsard <florent.poinsard@outlook.fr>

* clean up go.sum

Signed-off-by: Florent Poinsard <florent.poinsard@outlook.fr>

Signed-off-by: Florent Poinsard <florent.poinsard@outlook.fr>

* fix format issue in .github/workflows/cluster_endtoend_18.yml

Signed-off-by: Florent Poinsard <florent.poinsard@outlook.fr>

Signed-off-by: Florent Poinsard <florent.poinsard@outlook.fr>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

go.sum changes not detected by the files changed filter in CI

2 participants