-
Notifications
You must be signed in to change notification settings - Fork 357
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
[email protected] #3430
base: main
Are you sure you want to change the base?
[email protected] #3430
Conversation
Hello @chickenandpork, modules you maintain (rules_synology) have been updated in this PR. Please review the changes. |
Unsure if I should just post the next version or wait for this PR to confirm whether the presubmit has become acceptable |
platform: | ||
- ubuntu2204 | ||
- macos | ||
bazel: [7.x] |
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.
bazel: [7.x] | |
bazel: [7.x, 8.x] |
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 for suggestions — I’ll patch into this rev
I’ll take a look in ~12 hours |
Hello @chickenandpork, modules you maintain (rules_synology) have been updated in this PR. Please review the changes. |
Require module maintainers' approval for newly pushed changes.
Hey @fmeum having trouble still repro-ing the failures:
Builds fine, so there are other options at play here. Note that my Do we have a way to repro these tests more accurately ? |
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.
The failure comes up in the validation step (https://buildkite.com/bazel/bcr-presubmit/builds/9769#01941986-7ca5-477a-a4de-c32f9a17764f). Looks like your source archive is missing the MODULE.bazel file.
I saw that; the removal of the commented line is reverted, and since it’s diffing without a total file creation, there must be a MODULE.bazel in the tarball to diff against. We don’t see the failure in the current run because presubmit is awaiting approval. (Which is why I’ve asked if there’s a way to run the presubmit:
I don’t begrudge the need to check before permitting the test, but the delay in trying to debug the obscure error since rev 0.1.0, that’s getting frustrating — this release was an attempt to trim-back the things it was testing until it actually passes, then I could introduce the changes little by little until it breaks again as a way to bisect the failure to offer hints) |
I don't see any non-validation failures on this PR. Do you have a link to the failed run? I can try to help figure out the difference between your local and the CI environment. |
I think we'd be looking at https://buildkite.com/bazel/bcr-presubmit/builds/9716#01940d40-e586-4e9a-8d9e-9ffed8b685f5 I feels like the "ignore" logic in Noting again, of course, that the repro above (#issuecomment-2565971700) doesn't fail, so I'm getting signal that I can use resources from |
The investigation started back in https://buildkite.com/organizations/bazel/pipelines/bcr-bazel-compatibility-test/builds/72/jobs/019367bc-a6ce-4d3d-99b6-0b06aed7b344/log where the presubmit failed without indication. I don't know if this original problem is resolved because I could not repro the failure there either. I think this was before I went down the rabbit-hole of |
The main test setup in the BCR uses an anonymous root module that has your tested module as a dependency. That's why you don't see dev dependencies. You can set up a dedicated test module that can bring in additional deps: https://github.com/bazelbuild/bazel-central-registry/blob/main/docs/README.md#test-module |
So this means we cannot use dev dependencies in any BUILD.bazel
Because the failures weren't reproducible, I followed Alex Eagle's suggestion in Stack: (paraphrased): if I get something to work, I can patch in additional changes to the I've reverted the removed commented line (51d4fe3 reverts 69aec84) so maybe the "MODULE.bazel differs" check will pass us to the failure repro'd. |
https://buildkite.com/organizations/bazel/pipelines/bcr-presubmit/builds/9801/jobs/01941e5e-30e4-4cb5-b0b3-61adb101bfb4/log (like 297) suggests I'm missing The only reference to
(Basically BOTH means of ignoring test code as written up in the use of This error doesn't repro on my side because the ignored directories are ignored, but if it's visible on use as a dependency, then we need another way of ignoring it. Patch it out of existence? |
after bd52bea we see failures:
Overloading |
Does anything else reference targets under the @meteorcloudy Maybe you do? |
.bazelrc doesn't work transitively, so it has no affect when you build the project as a dependency.
and you may also need to exclude With
I was able to run |
Release: https://github.com/chickenandpork/rules_synology/releases/tag/v0.2.0
Automated by Publish to BCR