Problem/Motivation

Performance tests for navigation began failing here: #3490841: Create hook_runtime_requirements() and hook_runtime_requirements_alter() after a rebase.
That issue does not change stylesheets or how they are built.

It was last changed here #3425081: Integrate Navigation with Workspaces but that is passing and so is HEAD so I'm not sure that is the cause.

Steps to reproduce

Proposed resolution

add 200 bytes headroom to the Performance test.
$this->assertLessThan(90000, $performance_data->getStylesheetBytes());

Remaining tasks

Is this the right approach?
How much headroom do we want?

User interface changes

N/A

Introduced terminology

N/A

API changes

N/A

Data model changes

N/A

Release notes snippet

Issue fork drupal-3500293

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

nicxvan created an issue. See original summary.

nicxvan’s picture

Issue summary: View changes

Credit

nicxvan’s picture

Issue summary: View changes
nicxvan’s picture

Status: Active » Needs review
catch’s picture

Quick fix is fine but also we should use #3477191: Add PerformanceTestTrait::assertMetrics() so it is easier to write performance tests in this test - it was the one performance test that didn't get converted in that issue.

dww’s picture

Thanks for that pointer, @catch. Let’s see what we can do to make this stable again.

dww’s picture

Status: Needs review » Reviewed & tested by the community

Per Slack, catch is okay to commit this now and do the conversion in a follow up. I or nicxvan will open that follow-up momentarily, but catch only has 29 minutes to connnit this m, so here’s a quick RTBC. There’s a pipeline in the linked issue that shows this change allows that to pass. This is a trivial change. Ready!

Thanks,
-Derek

  • catch committed 928a5cbd on 11.x
    Issue #3500293 by nicxvan, dww, catch: Add headroom to the navigation...

  • catch committed a584a8f6 on 11.1.x
    Issue #3500293 by nicxvan, dww, catch: Add headroom to the navigation...
catch’s picture

Version: 11.x-dev » 11.1.x-dev
Status: Reviewed & tested by the community » Fixed

Committed/pushed to 11.x and cherry-picked to 11.1.x, thanks!

dww’s picture

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.