Closed
Bug 723671
Opened 13 years ago
Closed 11 years ago
Status page should show DB version
Categories
(Socorro :: Webapp, task)
Tracking
(Not tracked)
VERIFIED
FIXED
58
People
(Reporter: lonnen, Assigned: adrian)
Details
The result of `select current_version from socorro_db_version` should be shown in the status page.
Reporter | ||
Comment 1•13 years ago
|
||
I think that table needs it's permissions changed so that the webapp / mware can access the info. Jberkus?
Reporter | ||
Comment 2•12 years ago
|
||
realized I should have cc'd someone a while ago.
Comment 3•11 years ago
|
||
This should be the hash of the most current migration.
Assignee: nobody → sdeckelmann
Reporter | ||
Comment 4•11 years ago
|
||
I don't think we need this anymore, and we certainly won't after we land automatic migration running [bug # needed]. Suggest wontfix.
Comment 5•11 years ago
|
||
Commits pushed to master at https://github.com/mozilla/socorro
https://github.com/mozilla/socorro/commit/04a2f22e8c1b914164dd1f83e20e939ebef173b7
Fixed bug 723671 add schema revision info to middleware
https://github.com/mozilla/socorro/commit/a2a5bd6f6254a83e41ceacfee2f63462454eee2b
Merge pull request #1435 from selenamarie/bug723671-add-migration-hash-to-status
Fixed bug 723671 add schema revision info to middleware
Updated•11 years ago
|
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Comment 6•11 years ago
|
||
Reopening for clarification :)
- I see comment 4 suggests wontfix; is this a willfix or should the code be backed out?
- if wontfix isn't applicable what are the minimal steps to test where is this hash present in /status/?
Status: RESOLVED → REOPENED
Flags: needinfo?(chris.lonnen)
Resolution: FIXED → ---
Reporter | ||
Comment 7•11 years ago
|
||
My suggestion was not taken, but that's ok. This doesn't present any UI, so the bot was a little overzealous. The landed fix exposes the value in a new mware service.
Flags: needinfo?(chris.lonnen)
Comment 8•11 years ago
|
||
(In reply to Chris Lonnen :lonnen from comment #7)
> My suggestion was not taken, but that's ok. This doesn't present any UI, so
> the bot was a little overzealous. The landed fix exposes the value in a new
> mware service.
Thanks :lonnen, smells [qa-].
Status: REOPENED → RESOLVED
Closed: 11 years ago → 11 years ago
Resolution: --- → FIXED
Whiteboard: [qa-]
Reporter | ||
Comment 9•11 years ago
|
||
The landed patch is a partial fix because it never exposes it in the UI. We need to back it out and wontfix or expose it in /status/.
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Comment 10•11 years ago
|
||
Can we assign the change to status to someone that does UI work?
Assignee | ||
Comment 11•11 years ago
|
||
I'll take that. And mind you Selena, I think I'm going to merge the service you create to the server_status service, it doesn't really make sense to have a separate service for just that value, especially since we're going to show it on the status page. :)
Assignee: sdeckelmann → adrian
Assignee | ||
Comment 12•11 years ago
|
||
Pull request: https://github.com/mozilla/socorro/pull/1453
Comment 13•11 years ago
|
||
Commit pushed to master at https://github.com/mozilla/socorro
https://github.com/mozilla/socorro/commit/4fab5fc592049d13a9372268d6f83e4495f9a323
Fixes bug 723671 - Show database version in status page, and merge the existing service with server_status. r=peterbe
Updated•11 years ago
|
Status: REOPENED → RESOLVED
Closed: 11 years ago → 11 years ago
Resolution: --- → FIXED
Reporter | ||
Comment 14•11 years ago
|
||
verified by loading https://crash-stats.allizom.org/status/, finding schema revision page.
Status: RESOLVED → VERIFIED
Target Milestone: --- → 58
Comment 15•11 years ago
|
||
Should the schema hash be presented as a url, much like Socorro and Breakpad revision?
Flags: needinfo?(chris.lonnen)
Whiteboard: [qa-]
Comment 16•11 years ago
|
||
(In reply to Matt Brandt [:mbrandt] from comment #15)
> Should the schema hash be presented as a url, much like Socorro and Breakpad
> revision?
I'd say no, we don't have anything useful to link to really. It's something fairly internal to Socorro, but we can use it to (automatically or manually) verify that schema updates were applied so it's nice to have on the status page.
Comment 17•11 years ago
|
||
Thanks for the knowledge transfer, I didn't realize this was an internal bit that didn't make sense (or not really able to) to linkify.
Flags: needinfo?(chris.lonnen)
You need to log in
before you can comment on or make changes to this bug.
Description
•