Skip to content

feat: [OCISDEV-744] ci, core-api-test#12171

Open
mklos-kw wants to merge 1 commit intomasterfrom
feat/ocisdev-744-7
Open

feat: [OCISDEV-744] ci, core-api-test#12171
mklos-kw wants to merge 1 commit intomasterfrom
feat/ocisdev-744-7

Conversation

@mklos-kw
Copy link
Copy Markdown
Member

@mklos-kw mklos-kw commented Mar 30, 2026

Description

Related Issue

Motivation and Context

How Has This Been Tested?

  • test environment:
  • test case 1:
  • test case 2:
  • ...

Screenshots (if appropriate):

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)
  • Technical debt
  • Tests only (no source changes)

Checklist:

  • Code changes
  • Unit tests added
  • Acceptance tests added
  • Documentation ticket raised:

@update-docs
Copy link
Copy Markdown

update-docs bot commented Mar 30, 2026

Thanks for opening this pull request! The maintainers of this repository would appreciate it if you would create a changelog item based on your changes.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

So whole this file can be removed

#10339

Expected failures disappeared after upgrading curl to version that handles chunked upload body with no trailing bytes issues.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If the errors are intentional and now different i.e. errors codes appear but are not cathced by assert a change in tests is needed.

*/
public function theDownloadedPreviewContentShouldMatchWithFixturesPreviewContentFor(string $filename): void {
$expectedPreview = \file_get_contents(__DIR__ . "/../fixtures/" . $filename);
$fixturePath = __DIR__ . "/../fixtures/" . $filename;
Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Before, the preview images ~32x17px were compared by exact bytes and apparently different compilations of libjpg (ubuntu, alpine, ...) produced slight differences at per pixel values.

Moving to comparison with threshold solved the issue. Added diagnostic logs to detect what fails and why. Also to see if we do per pixel php comparison on images with not too big resolution.

@mklos-kw mklos-kw force-pushed the feat/ocisdev-744-7 branch 6 times, most recently from 9f6f50c to 18a5cea Compare March 31, 2026 12:16
@mklos-kw mklos-kw changed the title Feat/ocisdev 744 7 feat: [OCISDEV-744] ci, ore-api-test Mar 31, 2026
@mklos-kw mklos-kw marked this pull request as ready for review March 31, 2026 12:17
@mklos-kw mklos-kw self-assigned this Mar 31, 2026
@mklos-kw mklos-kw changed the title feat: [OCISDEV-744] ci, ore-api-test feat: [OCISDEV-744] ci, core-api-test Mar 31, 2026
@mklos-kw mklos-kw force-pushed the feat/ocisdev-744-7 branch from 18a5cea to 39a0084 Compare March 31, 2026 12:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[OCISDEV-730] Move CI to Github Actions

2 participants