Skip to content

Releases: HubSpot/Singularity

Singularity 0.13.0

09 Dec 18:19
Compare
Choose a tag to compare

Changes in 0.13.0

Check out the 0.13.0 milestone to see new features / bugfixes in detail.

New Features

You can read more about these new features in our gitbook docs
-1342 - Introduce expiring machine state changes
-1219 - Starred requests persistence

Improvements

  • 1355 - Update uuid to version 3.0.0
  • 1352 - Check isEmpty on attributes for more accurate message
  • 1354 - Count losts tasks with a Meter
  • 1347 - Nicer format for disaster email
  • 1259 - Alternate compression formats and viewing compressed files in UI
  • 1348 - Add tests for SingularityUI
  • 1344 - Also grab containerId when grabbing directory

Bug Fixes

  • 1353 - To string fix for Deploy and Builder
  • 1351 - Only allow patch versions of webpack
  • 1349 - Fixes for run now dialog
  • 1345 - Fix when bounce alert banner is shown
  • 1341 - Fix custom executor command on new deploy page
  • 1343 - Fix js TypeError on task detail page
  • 1332 - Ensure quotes and new lines are escaped in echo

Documentation

  • 1350 - Docs updates and addition of missing swagger annotations

Thanks

Singularity 0.12.0

04 Nov 14:41
Compare
Choose a tag to compare

Changes in 0.12.0

Check out the 0.12.0 milestone to see new features / bugfixes in detail.

Migrations

#1283 (Change deployHistory bytes to a MEDIUMBLOB), #1316 (Expand requestHistory.createdAt column to millisecond precision), and #1319 (Make the history purger query more efficient), contain migrations.

Note: MySQL 5.6.4 or newer is required for the millisecond precision migration.

If you have a large number of tasks in your database (e.g. more than 100k), it is possible that the last of these migrations (#1319) could be very slow when run via liquibase. If this is a concern, we recommend using pt-online-schema-change to run your migration.

In order to run your migration with pt-online-schema-change, the following command is equal to liquibase migration 14.

pt-online-schema-change \
  --user=(your db user) \
  --ask-pass \
  --alter "ADD COLUMN purged BOOLEAN NOT NULL DEFAULT false, ADD KEY purged (requestId, purged, updatedAt)" \
  --execute \
  D=(your database name),t=taskHistory

Improvements

  • #1135 Surface taskReconciliationStartedAt in SingularityState object
  • #1217 Request group level actions in the ui
  • #1221 Get count of results for blended history calls
  • #1226 Ability to have multiple readWrite groups
  • #1227 Ability to redeploy from the ui
  • #1244 Add team requests to dashboard
  • #1264 Execution timeout for tasks
  • #1268 Process status updates in separate thread
  • #1284 Show launching tasks separate from active in status
  • #1290 More thorough validation for scale changes
  • #1291 Better messages for sentry reporting
  • #1293 Cache files with md5, add more detail for cache misses
  • #1295 Clean up tests + make travis build more reliable
  • #1298 Updates to slave information and reconciling slaves
  • #1301 Add readWriteGroups to request form ui
  • #1304 More even distribution among racks
  • #1308 Get the SingularityClient up to date
  • #1310 Shortcut to task by instance number in ui
  • #1314 Add global read only groups
  • #1315 Ability to search task history by runId
  • #1320 Ability to run shell command before killing task
  • #1324 Extra filtering on fuzzy match
  • #1325 Refresh task lists appropriately
  • #1330 Show dropdown of previous command line args in run-now modal
  • #1333 Remove OOMKiller and LogWatcher Modules
  • #1338 Surface SingularityPendingRequestParent response from SingularityClient.runSingularityRequest

Bug Fixes

  • #1278 Only send email if the list of active disasters has changed
  • #1281 Make critical task lag require more than a single overdue task
  • #1282 Fix finished log link
  • #1289 Don't rely on Singularity active requests list when searching historical logs
  • #1294 Fix shell command modal file watching
  • #1297 Don't show loading forever on empty log files
  • #1303 Consider tasks with skipped healthchecks in cleaner
  • #1311 Add pending request on failed deploy as well
  • #1317 Use saveTaskCleanup() instead of createTaskCleanup() for deploys
  • #1321 Make deleteTaskHistoryBytes property do what it says it does
  • #1326 Fix js TypeError on task detail page
  • #1328 Fix props and prop types in disasters page
  • #1331 Make task destroy work from the ui

Documentation

  • #1285 Add versions in readme

Thanks

Logfetch 0.28.0

27 Sep 13:44
Compare
Choose a tag to compare

Logfetch 0.28.0 includes the following new option:

  • #1305 - Add the option to use only cached files with logcat

Logfetch 0.27.3

16 Sep 14:33
Compare
Choose a tag to compare

Logfetch 0.27.3 fixes the following bug:

  • #1289 - Don't rely on active requests list when possibly searching logs for a deleted request

Singularity 0.11.0

14 Sep 16:14
Compare
Choose a tag to compare

Changes in 0.11.0

Check out the 0.11.0 milestone to see new features / bugfixes in detail.

New Features

Improvements

  • #1272 - Show seconds in timestamps for healthchecks
  • #1271 - Update files not found message
  • #1262 - Support for setting user in default executor
  • #1248 - Reorganize task label colors
  • #1240 - Also allow DELETE/PUT when using CORS filter
  • #1137 - SingularityService configuration & DC/OS support
  • #1197 - Guarantee durationMillis is present in getExpiringBounce response
  • #1191 - Support for task id var substitution in env
  • #1169 - Support multiple docker parameters and task labels
  • #1100 - Add method for grabbing a snapshot of the master metrics to MesosClient
  • #1091 - Support overriding the log level in tests
  • #1033 - Support task history search on updatedAt
  • #1030 - Introduce the concept of a SingularityRequestGroup

Bug Fixes

  • #1273 - Resolve the correct log path based on taskAppDirectory
  • #1267 - Remove bogus label from file browser actions column
  • #1266 - Select the correct healthcheck for UI alert banner
  • #1263 - Undo click-to-copy changes
  • #1256 - Fix typo in task alerts
  • #1252 - Fix for negative durations
  • #1246 - Make duration fields string inputs again
  • #1176 - Remove the now > start check in RFC5545

Documentation

  • #1265 - Update slave-extras.md

Thanks

Logfetch 0.27.2

30 Aug 17:03
Compare
Choose a tag to compare

Logfetch 0.27.2 fixes the following bugs:

#1257 - Handle missing data in Singularity response when tailing
#1254 - Do not download empty logs

Thanks @MattCCS for the fixes!

Singularity 0.10.1

24 Aug 15:02
Compare
Choose a tag to compare

Changes in 0.10.1

This is a bug fix release.

Check out the 0.10.1 milestone to see bugfixes in detail.

UI Fixes

  • #1235 Properly handle deleted requests
  • #1236 UI updates for default config setup. After the release of 0.10.0, several users reported being unable to navigate directly to a page of the Singularity UI. This was due to an unanticipated change in how URLs were routed in the Backbone to React migration. This has been fixed in 0.10.1.
  • #1238 Use the relative path for appRoot
  • #1234 Run now UI service restoration
  • #1239 Add href to nav items
  • #1242 Sort environment variables alphabetically
  • #1232 UI development docs Backbone/Coffeescript => es6/React/Redux

Other Fixes and Improvements

  • #1188 Sort task history updates by ExtendedTaskState enum ordinal, not timestamp
  • #1189 Better cleanup of incremental actions
  • #1194 Deploy failure messages for non-task-specific failures
  • #1212 Allow searching of logs for deleted requests

Thanks

Singularity 0.10.0

19 Aug 15:52
Compare
Choose a tag to compare

Changes in 0.10.0

Check out the 0.10.0 milestone to see new features / bugfixes in detail.

UI Rewrite (Backbone/Coffeescript -> React/Redux/JS6)

This rewrite was comprised of a number of pull requests, but the consolidated diff can be seen in #1077. Other UI changes include:

  • #1195 - Request form improvements
  • #1223 - Tags input tweaks (for cmd line input)
  • #1192 - Code cleanliness improvements
  • #1225 - Fix the back button when navigating through files on the task detail page
  • #1211 - Render every row on dashboard tables
  • #1210 - Don't show the wait for replacement task option when killing tasks in certain request types
  • #1215 - Check for presence of promise before attempting to catch errors
  • #1207 - UI support for absent deploy field
  • #1209 - Name all the modals that don't already have a name
  • #1208 - Fix duration field overflowing modal in firefox
  • #1206 - Refresh the request detail page after performing actions
  • #1199 - Sentry support
  • #1200 - Aggregate Tailer fix
  • #1190 - Run now fixes
  • #1202 - Add case-sensitive paths plugin
  • #1196 - Request groups page
  • #1164 - Request and Deploy Title Copy Link
  • #1178 - Replace dashes with underscores when searching for matching hosts
  • #1186 - Add ability to show task disk resource if configured to do so
  • #1182 - Add timezone field and kill dropdowns if there are less than 5 options
  • #1185 - Add JSON Button to the Racks and Slaves pages
  • #1179 - Handle 404 properly
  • #1158 - Fix the request detail page bounce messages
  • #1165 - Improvements to task search
  • #1156 - Truncate long tags; Hover trigger to show the whole thing

Improvements

  • #1170 - Add TASK_ID environment variable with the singularity task_id
  • #1150 - Add support for timezone field for scheduled requests
  • #1138 - Docker auth config in custom executor
  • #1006 - Changes to user requested task kills in custom executor

Bug Fixes

  • #1184 - Fail differently if request data not present during deploy check
  • #1171 - Do not remove from LB if not yet added

Thanks

Logfetch 0.27.1

16 Aug 12:47
Compare
Choose a tag to compare

Logfetch 0.27.1 fixes the following bug:

  • #1220 Flush stdout in logtail after printing logs so logtail x | grep x works correctly

Thanks to @marcob for the fix!

Logfetch 0.27.0

12 Aug 19:13
Compare
Choose a tag to compare

Logfetch 0.27.0 includes the following fixes/enhancements:

  • Continue searching at the request level in the case where no tasks were found (related to #1212 )
  • Additional --show-file-info flag to show the parsed date and the file name before printing logs
  • Better handling of time range inputs. Logfetch will now make sure to grab all historical tasks based on both start and last updated at timestamps