Skip to content
This repository was archived by the owner on May 10, 2019. It is now read-only.

CODE_VERSION not being correctly added to build; uses fallback random value #4225

@jrgm

Description

@jrgm

Do the following:

curl -s https://static.login.persona.org/v/d22163913e/production/en/browserid.js | perl -ne 'next unless /(CODE_VERSION=.*?),/; print $1, $/'
CODE_VERSION="R94gwfP"

That is a randomly generated value from secrets.weakGenerate(7) used when the ver.txt git sha cannot be found.

This leads to these warnings in the logs:

{"level":"warn","message":"Code version mis-match: /session_context expected: N33PJT2 received: R94gwfP","timestamp":"2015-10-16T23:49:39.974Z"}

Something is broken in the build process. I'm unclear what effect this has aside from log whining.

Anyone?

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