Patch-upload test passes but the same change from merge-request initiated test fails

Created on 31 August 2020, over 4 years ago
Updated 6 January 2025, 3 months ago

Problem/Motivation

The same change that passes test when uploaded as a patch fails when initiated from merge-request.
Complicating factors:
- sub-module with additional composer dependencies, including another contrib
- sub-module test with compile-time dependency on the contrib module

Example is in Salesforce issue queue, which has a submodule salesforce_jwt, which defines a test class that uses a trait from Key module.
Merge request here, which is a whitespace-only change: https://git.drupalcode.org/project/salesforce/-/merge_requests/3
Passing test coverage demonstrated here: https://www.drupal.org/pift-ci-job/1807380
Test issue here, with failing tests: https://www.drupal.org/project/salesforce/issues/3168388
screenshot attached

Steps to reproduce

- create an issue fork for a module which has on-commit tests with cross-contrib dependencies
- push new code to the issue fork
- create a merge-request for the issue fork, which fails tests
- upload same change as a patch, which passes tests

Proposed resolution

Use the same system to build and test (?) or help me figure out why my commits are passing but my patches are failing.

Remaining tasks

identify whether this is a systemic or local issue

User interface changes

none

API changes

none

Data model changes

none

🐛 Bug report
Status

Closed: outdated

Version

3.0

Component

Tests

Created by

🇺🇸United States AaronBauman Philadelphia

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024