<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.webkit.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>315565</bug_id>
          
          <creation_ts>2026-05-26 05:45:30 -0700</creation_ts>
          <short_desc>[WPE][GTK] Warn in build-webkit when building Release without  assertions</short_desc>
          <delta_ts>2026-05-27 11:17:12 -0700</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>New Bugs</component>
          <version>WebKit Nightly Build</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>InRadar</keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Carlos Alberto Lopez Perez">clopez</reporter>
          <assigned_to name="Carlos Alberto Lopez Perez">clopez</assigned_to>
          <cc>webkit-bug-importer</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>2214091</commentid>
    <comment_count>0</comment_count>
    <who name="Carlos Alberto Lopez Perez">clopez</who>
    <bug_when>2026-05-26 05:45:30 -0700</bug_when>
    <thetext>Currently the EWS Release bots for GTK and WPE run with -DENABLE_ASSERTS=ON but the post-commit bots and the default builds for developers don&apos;t.

This causes issues because:
1) It is confusing for developers to see that their patch causes a assert on the EWS that they can&apos;t reproduce because the build config they have is not the same than the EWS
2) It makes our gardening efforts not aligned with the reality of the EWS. So that caused issues when we tried to use a less-forgiving algo for the EWS regarding flakies, see bug 310315 that had to be reverted because there were lot of flakies with asserts enabled that didn&apos;t accounted for.


In bug 312811 I proposed as a solution to this to enable asserts by default on DEVELOPER_MODE Release builds: for developers, for post-commit bots and for EWS bots.

But I got internal push back as some developers don&apos;t want to build by default with assertions enabled in release (makes webkit slower and more prone to crash).

So the new idea is:


 A) Don&apos;t enable asserts by default when building release using build-webkit, but instead print a 1-line warning if asserts are not enabled like this:
   &quot;Building release without assertions. Pass --enable-asserts to match the CI build&quot;. So developers are always aware that release tests on the CI run with that.

 B) Enable asserts on all the post-commit bots that run non-performance tests: https://build.webkit.org/#/builders?tags=%2BLinux&amp;tags=%2BTests&amp;tags=%2BRelease&amp;tags=-Perf

 C) Do not enable asserts on the builders that just build alone but don&apos;t run tests neither upload their built product to another testers

 D) Switch the GTK perf bot to build its own built-product without assertions instead of relying on the built product of the GTK release default one that will enable assertions: https://github.com/WebKit/WebKit/pull/63263


This bug report is for doing A)
D) is already done and B and C would be done internally on the bots config</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2214123</commentid>
    <comment_count>1</comment_count>
    <who name="Carlos Alberto Lopez Perez">clopez</who>
    <bug_when>2026-05-26 08:15:49 -0700</bug_when>
    <thetext>Pull request: https://github.com/WebKit/WebKit/pull/65678</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2215032</commentid>
    <comment_count>2</comment_count>
    <who name="EWS">ews-feeder</who>
    <bug_when>2026-05-27 11:16:16 -0700</bug_when>
    <thetext>Committed 313986@main (b5a4cbb2ccc9): &lt;https://commits.webkit.org/313986@main&gt;

Reviewed commits have been landed. Closing PR #65678 and removing active labels.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2215033</commentid>
    <comment_count>3</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2026-05-27 11:17:12 -0700</bug_when>
    <thetext>&lt;rdar://problem/178068320&gt;</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>