Skip to content

ember-source-channel-url is returning outdated URLs for beta & release #16765

Closed

Description

@kategengler

https://s3.amazonaws.com/builds.emberjs.com/beta.json (used by ember-source-channel-url and built on Travis by this repo) shows

{
  "version": "3.2.1-beta+a8d4767e",
  "buildType": "beta",
  "SHA": "a8d4767e0f1fa29897a3fc0b188e15bcf72dc64c",
  "assetPath": "/beta/shas/a8d4767e0f1fa29897a3fc0b188e15bcf72dc64c.tgz"
}

but the latest beta branch build on Travis built beta/shas/1dd7cd601539b5c68a795fcefbef6c1af6ea4349.tgz (https://travis-ci.org/emberjs/ember.js/jobs/393927258#L1303)

Similarly, https://s3.amazonaws.com/builds.emberjs.com/release.json shows 3.1.2-sha but the latest release is 3.2.1.

https://s3.amazonaws.com/builds.emberjs.com/canary.json looks correct

h/t @rwjblue

Activity

  1. rwjblue commented on Jun 21, 2018

    @rwjblue
    Member

    Should be fixed by 3f053be.

  2. kategengler commented on Jun 21, 2018

    @kategengler
    MemberAuthor

    Both are correct now, thanks!

  3. kategengler commented on Jun 26, 2018

    @kategengler
    MemberAuthor

    Beta is back to 3.0.0-beta-sha, release is 3.1.3-sha

  4. kategengler commented on Jun 26, 2018

    @kategengler
    MemberAuthor

    I think is happened because release-n branches were built https://travis-ci.org/emberjs/ember.js/builds/396648149

    For now, I am going to rebuild beta & release to fix it. I think long term we need a better way to ensure that the data in the JSON files is correct.

  5. kategengler commented on Jun 26, 2018

    @kategengler
    MemberAuthor

    For beta and release, if we leave out BUILD_TYPE from the .travis.yml, I think that would solve some of the problem

    publisher.currentBranch = function() {
    return (
    process.env.BUILD_TYPE ||
    {
    master: 'canary',
    beta: 'beta',
    release: 'release',
    'lts-2-4': 'lts-2-4',
    }[this.CURRENT_BRANCH]
    );

    But I think, as it is, if someone rebuilds an older build, it will overwrite those files.

  6. mike-north commented on Jul 10, 2018

    @mike-north
    Contributor

    Not sure if this is related, but the https://www.emberjs.com/builds/beta/ page is showing an outdated ember-data beta

  7. ef4 commented on Jul 10, 2018

    @ef4
    Contributor

    @kategengler https://s3.amazonaws.com/builds.emberjs.com/release.json is currently showing 2.18.2-release+dee83e87

    Probably a patch release of LTS overwrote the real release channel?

    This is probably causing lots of addons to get different test coverage results than they expect. In my case it is causing build failures because the release channel should be new enough to work without jQuery, but we're actually get an old enough Ember that it needs jQuery.

  8. kategengler commented on Jul 10, 2018

    @kategengler
    MemberAuthor

    Yes -- I've been checking ~1x per day to make sure they are right. The temp fix is to rerun the relevant branch.

    This is tricky to fix because the fix needs to be applied to every possible old branch that was at one time incorrect. My other thought would be to remove permission to write those files from the existing s3 keys and make new s3 keys that can write those files, only making them available on release & newer.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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