{ "id": "176145", "key": "TIMOB-28414", "fields": { "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false }, "project": { "id": "10153", "key": "TIMOB", "name": "Titanium SDK/CLI", "projectCategory": { "id": "10100", "description": "Titanium and related SDKs used in application development", "name": "Client" } }, "fixVersions": [], "resolution": null, "resolutiondate": null, "created": "2021-04-07T16:19:18.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [], "versions": [ { "id": "21191", "name": "Release 9.3.2", "archived": false, "released": true, "releaseDate": "2021-02-11" } ], "issuelinks": [], "assignee": { "name": "cwilliams", "key": "cwilliams", "displayName": "Christopher Williams", "active": true, "timeZone": "America/New_York" }, "updated": "2021-04-09T17:26:46.000+0000", "status": { "description": "The issue is open and ready for the assignee to start work on it.", "name": "Open", "id": "1", "statusCategory": { "id": 2, "key": "new", "colorName": "blue-gray", "name": "To Do" } }, "components": [ { "id": "13103", "name": "CLI", "description": "Node-based command line interface" } ], "attachment": [], "flagged": false, "summary": "CLI: Cannot find releases anymore", "creator": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "subtasks": [], "reporter": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "environment": "macOS 11.2.3\r\nTitanium SDK 5.2.3\r\nNode.js 12.22.0\r\n", "comment": { "comments": [ { "id": "458538", "author": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "body": "[~hknoechel] is this constantly occurring for you? I'm able to find builds ok with that command with both Titanium CLI 5.2.3 and 5.3.0. Although I am running on mac, are you on linux? So https://github.com/appcelerator/titanium_mobile/pull/12697 would probably apply\r\n\r\nI don't think the artifacts from the action builds can be used as they aren't exactly the same as the CI builds uploaded to Jenkins:\r\n\r\n* Artifacts only have a [maximum retention period of 90 days |https://docs.github.com/en/actions/reference/usage-limits-billing-and-administration#artifact-and-log-retention-policy]\r\n* Currently they are not \"indexed\" in any manner like the builds uploaded to S3, so there is no way to perform the branch lookup.\r\n\r\nGiven the retention period issue I don't think it's possible to move to artifacts for the branch builds.\r\n\r\nThe GA releases however have been moved to reference GitHub releases rather than the ones stored on S3, so they will be downloaded from there, although the mobilesdk server is still involved in some manner to redirect correctly. I believe ultimately they will be referenced directly in some manner in the future", "updateAuthor": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "created": "2021-04-07T17:01:47.000+0000", "updated": "2021-04-07T17:04:10.000+0000" }, { "id": "458539", "author": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "body": "Yep, occurring since about 1-2 weeks and for both \"ti sdk install -b 10_0_X\" and \"ti sdk install 9.3.2.GA\"", "updateAuthor": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "created": "2021-04-07T17:03:50.000+0000", "updated": "2021-04-07T17:03:50.000+0000" }, { "id": "458542", "author": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "body": "If you run {{ti sdk -r}} do you see the releases listed? The mobilesdk server performs a 302 redirect to the json file so is there anything like a proxy that might block that, you could also try cURL-ing the URL directly to see if it's a connectivity issue {{curl -L https://f4df0833a1352ef193633d85356e6e80ffcdcdb7.cloudapp-enterprise.appcelerator.com/api/mobilesdk/branches/X}} should return a response with a branches array and a defaultBranch, {{curl -L https://f4df0833a1352ef193633d85356e6e80ffcdcdb7.cloudapp-enterprise.appcelerator.com/api/mobilesdk/releases/X}} should return the releases", "updateAuthor": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "created": "2021-04-07T17:15:50.000+0000", "updated": "2021-04-07T17:17:56.000+0000" }, { "id": "458543", "author": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "body": "Yes, the \"-r\" option lets me all all results", "updateAuthor": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "created": "2021-04-07T17:20:28.000+0000", "updated": "2021-04-07T17:20:28.000+0000" }, { "id": "458557", "author": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "body": "Given that those work fine, I'm going to guess that for some reason the builds are being filtered out [here|https://github.com/appcelerator/titanium/blob/5701d17fba351981cc71cf12bf583cfab14b0228/lib/commands/sdk.js#L1410-L1423], which makes no sense to me as you're running mac. Maybe try add some logging around there (I think {{which ti}} should help you find the right place) and see if the branch builds are being returned correctly and if they're then being filtered out?", "updateAuthor": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "created": "2021-04-09T11:44:37.000+0000", "updated": "2021-04-09T11:44:37.000+0000" } ], "maxResults": 5, "total": 5, "startAt": 0 } } }