Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Reproducible builds #25958

Copy link
Copy link
Closed
Closed
Copy link
@lstrojny

Description

@lstrojny
Issue body actions
Q A
Bug report? yes
Feature request? yes
BC Break report? -
RFC? -
Symfony version x.y.z

Reproducible builds are all the craze right now (exhibit a: https://reproducible-builds.org/). The basic premise is: code generation, compilation, heck, builds in general should behave deterministically, meaning: given the same set of inputs return the same output.

The main pain point with Symfony comes from the cache warmup process. console cache:warmup
will return a different results on two consecutive builds. The three main problem areas I've found so far:

  • Container IDs are randomly generated
  • Names and symbols of lazy proxies are randomly generated
  • Compiled twig templates are randomly generated

Before we start digging deeper into this, first question: is that something Symfony wants to properly support or is that something that should somehow live outside of Symfony?

Demo project

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      Morty Proxy This is a proxified and sanitized view of the page, visit original site.