Added latest commit hash to the footer of the configure.js component, links to latest commit on github. Related to task T1760.
Details
- Reviewers
bytesofman - Group Reviewers
Restricted Project
ensure cashtab is rebased with latest version of master
cd web/cashtab
npm start
in separate terminal run git rev-parse HEAD
take note of latest commit hash
ensure link on configure page matches latest commit hash
Diff Detail
- Repository
- rABC Bitcoin ABC
- Branch
- auto-add-latest-commit-hash
- Lint
Lint Passed - Unit
No Test Coverage - Build Status
Buildable 17179 Build 34189: Build Diff cashtab-tests Build 34188: arc lint + arc unit
Event Timeline
Failed tests logs:
====== CashTab Unit Tests: Configure without a wallet ====== Error: expect(received).toMatchSnapshot() Snapshot name: `Configure without a wallet 1` - Snapshot - 0 + Received + 16 @@ -275,6 +275,22 @@ type="link" > Documentation </a> ] + <br /> + <div + className="sc-hSdWYo kDMVEG" + > + <p + className="sc-eHgmQL gPThIU" + > + Latest Commit: + <br /> + <a + className="sc-dxgOiQ jbuVAx" + href="https://github.com/Bitcoin-ABC/bitcoin-abc/commit/undefined" + type="link" + /> + </p> + </div> </div> at Object.<anonymous> (/work/web/cashtab/src/components/Configure/__tests__/Configure.test.js:24:18) at Object.asyncJestTest (/work/web/cashtab/node_modules/jest-jasmine2/build/jasmineAsyncInstall.js:106:37) at /work/web/cashtab/node_modules/jest-jasmine2/build/queueRunner.js:45:12 at new Promise (<anonymous>) at mapper (/work/web/cashtab/node_modules/jest-jasmine2/build/queueRunner.js:28:19) at /work/web/cashtab/node_modules/jest-jasmine2/build/queueRunner.js:75:41 at processTicksAndRejections (node:internal/process/task_queues:94:5) ====== CashTab Unit Tests: Configure with a wallet ====== Error: expect(received).toMatchSnapshot() Snapshot name: `Configure with a wallet 1` - Snapshot - 0 + Received + 16 @@ -313,6 +313,22 @@ type="link" > Documentation </a> ] + <br /> + <div + className="sc-hSdWYo kDMVEG" + > + <p + className="sc-eHgmQL gPThIU" + > + Latest Commit: + <br /> + <a + className="sc-dxgOiQ jbuVAx" + href="https://github.com/Bitcoin-ABC/bitcoin-abc/commit/undefined" + type="link" + /> + </p> + </div> </div> at Object.<anonymous> (/work/web/cashtab/src/components/Configure/__tests__/Configure.test.js:35:18) at Object.asyncJestTest (/work/web/cashtab/node_modules/jest-jasmine2/build/jasmineAsyncInstall.js:106:37) at /work/web/cashtab/node_modules/jest-jasmine2/build/queueRunner.js:45:12 at new Promise (<anonymous>) at mapper (/work/web/cashtab/node_modules/jest-jasmine2/build/queueRunner.js:28:19) at /work/web/cashtab/node_modules/jest-jasmine2/build/queueRunner.js:75:41 at processTicksAndRejections (node:internal/process/task_queues:94:5)
Each failure log is accessible here:
CashTab Unit Tests: Configure without a wallet
CashTab Unit Tests: Configure with a wallet
Currently the latest commit hash read by running git rev-parse HEAD leads to a 404 on github, changes needed prior to review.
Responding to feedback, hash displayed in footer now links to https://reviews.bitcoinabc.org
Looks good. A couple of minor changes.
- Only display the first 9 characters of the commit hash
- Change text "Latest Commit:" to "Source: "
Hopefully these changes get it to be on the same line. If not, display fewer characters, as few as 9.
Failed tests logs:
====== CashTab Unit Tests: Configure without a wallet ====== Error: expect(received).toMatchSnapshot() Snapshot name: `Configure without a wallet 1` - Snapshot - 1 + Received + 1 @@ -286,11 +286,11 @@ > Latest Commit: <br /> <a className="sc-dxgOiQ jbuVAx" - href="https://github.com/Bitcoin-ABC/bitcoin-abc/commit/undefined" + href="https://reviews.bitcoinabc.org/" type="link" /> </p> </div> </div> at Object.<anonymous> (/work/web/cashtab/src/components/Configure/__tests__/Configure.test.js:24:18) at Object.asyncJestTest (/work/web/cashtab/node_modules/jest-jasmine2/build/jasmineAsyncInstall.js:106:37) at /work/web/cashtab/node_modules/jest-jasmine2/build/queueRunner.js:45:12 at new Promise (<anonymous>) at mapper (/work/web/cashtab/node_modules/jest-jasmine2/build/queueRunner.js:28:19) at /work/web/cashtab/node_modules/jest-jasmine2/build/queueRunner.js:75:41 at processTicksAndRejections (node:internal/process/task_queues:94:5) ====== CashTab Unit Tests: Configure with a wallet ====== Error: expect(received).toMatchSnapshot() Snapshot name: `Configure with a wallet 1` - Snapshot - 1 + Received + 1 @@ -324,11 +324,11 @@ > Latest Commit: <br /> <a className="sc-dxgOiQ jbuVAx" - href="https://github.com/Bitcoin-ABC/bitcoin-abc/commit/undefined" + href="https://reviews.bitcoinabc.org/" type="link" /> </p> </div> </div> at Object.<anonymous> (/work/web/cashtab/src/components/Configure/__tests__/Configure.test.js:35:18) at Object.asyncJestTest (/work/web/cashtab/node_modules/jest-jasmine2/build/jasmineAsyncInstall.js:106:37) at /work/web/cashtab/node_modules/jest-jasmine2/build/queueRunner.js:45:12 at new Promise (<anonymous>) at mapper (/work/web/cashtab/node_modules/jest-jasmine2/build/queueRunner.js:28:19) at /work/web/cashtab/node_modules/jest-jasmine2/build/queueRunner.js:75:41 at processTicksAndRejections (node:internal/process/task_queues:94:5)
Each failure log is accessible here:
CashTab Unit Tests: Configure without a wallet
CashTab Unit Tests: Configure with a wallet
Failed tests logs:
====== CashTab Unit Tests: Configure without a wallet ====== TypeError: Cannot read property 'slice' of undefined at Configure (/work/web/cashtab/src/components/Configure/Configure.js:695:56) at renderWithHooks (/work/web/cashtab/node_modules/react-test-renderer/cjs/react-test-renderer.development.js:6016:18) at mountIndeterminateComponent (/work/web/cashtab/node_modules/react-test-renderer/cjs/react-test-renderer.development.js:8744:13) at beginWork (/work/web/cashtab/node_modules/react-test-renderer/cjs/react-test-renderer.development.js:9966:16) at performUnitOfWork (/work/web/cashtab/node_modules/react-test-renderer/cjs/react-test-renderer.development.js:13800:12) at workLoopSync (/work/web/cashtab/node_modules/react-test-renderer/cjs/react-test-renderer.development.js:13728:5) at renderRootSync (/work/web/cashtab/node_modules/react-test-renderer/cjs/react-test-renderer.development.js:13691:7) at performSyncWorkOnRoot (/work/web/cashtab/node_modules/react-test-renderer/cjs/react-test-renderer.development.js:13404:18) at /work/web/cashtab/node_modules/react-test-renderer/cjs/react-test-renderer.development.js:2537:26 at unstable_runWithPriority (/work/web/cashtab/node_modules/scheduler/cjs/scheduler.development.js:646:12) at runWithPriority (/work/web/cashtab/node_modules/react-test-renderer/cjs/react-test-renderer.development.js:2486:10) at flushSyncCallbackQueueImpl (/work/web/cashtab/node_modules/react-test-renderer/cjs/react-test-renderer.development.js:2532:9) at flushSyncCallbackQueue (/work/web/cashtab/node_modules/react-test-renderer/cjs/react-test-renderer.development.js:2519:3) at scheduleUpdateOnFiber (/work/web/cashtab/node_modules/react-test-renderer/cjs/react-test-renderer.development.js:13004:9) at updateContainer (/work/web/cashtab/node_modules/react-test-renderer/cjs/react-test-renderer.development.js:16454:3) at Object.create (/work/web/cashtab/node_modules/react-test-renderer/cjs/react-test-renderer.development.js:17149:3) at Object.<anonymous> (/work/web/cashtab/src/components/Configure/__tests__/Configure.test.js:18:32) at Object.asyncJestTest (/work/web/cashtab/node_modules/jest-jasmine2/build/jasmineAsyncInstall.js:106:37) at /work/web/cashtab/node_modules/jest-jasmine2/build/queueRunner.js:45:12 at new Promise (<anonymous>) at mapper (/work/web/cashtab/node_modules/jest-jasmine2/build/queueRunner.js:28:19) at /work/web/cashtab/node_modules/jest-jasmine2/build/queueRunner.js:75:41 at processTicksAndRejections (node:internal/process/task_queues:94:5) ====== CashTab Unit Tests: Configure with a wallet ====== TypeError: Cannot read property 'slice' of undefined at Configure (/work/web/cashtab/src/components/Configure/Configure.js:695:56) at renderWithHooks (/work/web/cashtab/node_modules/react-test-renderer/cjs/react-test-renderer.development.js:6016:18) at mountIndeterminateComponent (/work/web/cashtab/node_modules/react-test-renderer/cjs/react-test-renderer.development.js:8744:13) at beginWork (/work/web/cashtab/node_modules/react-test-renderer/cjs/react-test-renderer.development.js:9966:16) at performUnitOfWork (/work/web/cashtab/node_modules/react-test-renderer/cjs/react-test-renderer.development.js:13800:12) at workLoopSync (/work/web/cashtab/node_modules/react-test-renderer/cjs/react-test-renderer.development.js:13728:5) at renderRootSync (/work/web/cashtab/node_modules/react-test-renderer/cjs/react-test-renderer.development.js:13691:7) at performSyncWorkOnRoot (/work/web/cashtab/node_modules/react-test-renderer/cjs/react-test-renderer.development.js:13404:18) at /work/web/cashtab/node_modules/react-test-renderer/cjs/react-test-renderer.development.js:2537:26 at unstable_runWithPriority (/work/web/cashtab/node_modules/scheduler/cjs/scheduler.development.js:646:12) at runWithPriority (/work/web/cashtab/node_modules/react-test-renderer/cjs/react-test-renderer.development.js:2486:10) at flushSyncCallbackQueueImpl (/work/web/cashtab/node_modules/react-test-renderer/cjs/react-test-renderer.development.js:2532:9) at flushSyncCallbackQueue (/work/web/cashtab/node_modules/react-test-renderer/cjs/react-test-renderer.development.js:2519:3) at scheduleUpdateOnFiber (/work/web/cashtab/node_modules/react-test-renderer/cjs/react-test-renderer.development.js:13004:9) at updateContainer (/work/web/cashtab/node_modules/react-test-renderer/cjs/react-test-renderer.development.js:16454:3) at Object.create (/work/web/cashtab/node_modules/react-test-renderer/cjs/react-test-renderer.development.js:17149:3) at Object.<anonymous> (/work/web/cashtab/src/components/Configure/__tests__/Configure.test.js:29:32) at Object.asyncJestTest (/work/web/cashtab/node_modules/jest-jasmine2/build/jasmineAsyncInstall.js:106:37) at /work/web/cashtab/node_modules/jest-jasmine2/build/queueRunner.js:45:12 at new Promise (<anonymous>) at mapper (/work/web/cashtab/node_modules/jest-jasmine2/build/queueRunner.js:28:19) at /work/web/cashtab/node_modules/jest-jasmine2/build/queueRunner.js:75:41 at processTicksAndRejections (node:internal/process/task_queues:94:5)
Each failure log is accessible here:
CashTab Unit Tests: Configure without a wallet
CashTab Unit Tests: Configure with a wallet
Run npm test before pushing up the amended diff to make sure it will pass teamcity; also can debug with the error log info from npm test
Failed tests logs:
====== CashTab Unit Tests: Configure without a wallet ====== Error: expect(received).toMatchSnapshot() Snapshot name: `Configure without a wallet 1` - Snapshot - 1 + Received + 1 @@ -289,10 +289,10 @@ <a className="sc-dxgOiQ jbuVAx" href="https://reviews.bitcoinabc.org/" type="link" > - 2078cb854 + 21902c8e8 </a> </p> </div> </div> at Object.<anonymous> (/work/web/cashtab/src/components/Configure/__tests__/Configure.test.js:24:18) at Object.asyncJestTest (/work/web/cashtab/node_modules/jest-jasmine2/build/jasmineAsyncInstall.js:106:37) at /work/web/cashtab/node_modules/jest-jasmine2/build/queueRunner.js:45:12 at new Promise (<anonymous>) at mapper (/work/web/cashtab/node_modules/jest-jasmine2/build/queueRunner.js:28:19) at /work/web/cashtab/node_modules/jest-jasmine2/build/queueRunner.js:75:41 at processTicksAndRejections (node:internal/process/task_queues:94:5) ====== CashTab Unit Tests: Configure with a wallet ====== Error: expect(received).toMatchSnapshot() Snapshot name: `Configure with a wallet 1` - Snapshot - 1 + Received + 1 @@ -327,10 +327,10 @@ <a className="sc-dxgOiQ jbuVAx" href="https://reviews.bitcoinabc.org/" type="link" > - 2078cb854 + 21902c8e8 </a> </p> </div> </div> at Object.<anonymous> (/work/web/cashtab/src/components/Configure/__tests__/Configure.test.js:35:18) at Object.asyncJestTest (/work/web/cashtab/node_modules/jest-jasmine2/build/jasmineAsyncInstall.js:106:37) at /work/web/cashtab/node_modules/jest-jasmine2/build/queueRunner.js:45:12 at new Promise (<anonymous>) at mapper (/work/web/cashtab/node_modules/jest-jasmine2/build/queueRunner.js:28:19) at /work/web/cashtab/node_modules/jest-jasmine2/build/queueRunner.js:75:41 at processTicksAndRejections (node:internal/process/task_queues:94:5)
Each failure log is accessible here:
CashTab Unit Tests: Configure without a wallet
CashTab Unit Tests: Configure with a wallet
Failed tests logs:
====== CashTab Unit Tests: Configure without a wallet ====== Error: expect(received).toMatchSnapshot() Snapshot name: `Configure without a wallet 1` - Snapshot - 2 + Received + 1 @@ -283,16 +283,15 @@ > <p className="sc-eHgmQL gPThIU" > Source: - <br /> <a className="sc-dxgOiQ jbuVAx" href="https://reviews.bitcoinabc.org/" type="link" > - 2078cb854 + 4b0345d45 </a> </p> </div> </div> at Object.<anonymous> (/work/web/cashtab/src/components/Configure/__tests__/Configure.test.js:24:18) at Object.asyncJestTest (/work/web/cashtab/node_modules/jest-jasmine2/build/jasmineAsyncInstall.js:106:37) at /work/web/cashtab/node_modules/jest-jasmine2/build/queueRunner.js:45:12 at new Promise (<anonymous>) at mapper (/work/web/cashtab/node_modules/jest-jasmine2/build/queueRunner.js:28:19) at /work/web/cashtab/node_modules/jest-jasmine2/build/queueRunner.js:75:41 at processTicksAndRejections (node:internal/process/task_queues:94:5) ====== CashTab Unit Tests: Configure with a wallet ====== Error: expect(received).toMatchSnapshot() Snapshot name: `Configure with a wallet 1` - Snapshot - 2 + Received + 1 @@ -321,16 +321,15 @@ > <p className="sc-eHgmQL gPThIU" > Source: - <br /> <a className="sc-dxgOiQ jbuVAx" href="https://reviews.bitcoinabc.org/" type="link" > - 2078cb854 + 4b0345d45 </a> </p> </div> </div> at Object.<anonymous> (/work/web/cashtab/src/components/Configure/__tests__/Configure.test.js:35:18) at Object.asyncJestTest (/work/web/cashtab/node_modules/jest-jasmine2/build/jasmineAsyncInstall.js:106:37) at /work/web/cashtab/node_modules/jest-jasmine2/build/queueRunner.js:45:12 at new Promise (<anonymous>) at mapper (/work/web/cashtab/node_modules/jest-jasmine2/build/queueRunner.js:28:19) at /work/web/cashtab/node_modules/jest-jasmine2/build/queueRunner.js:75:41 at processTicksAndRejections (node:internal/process/task_queues:94:5)
Each failure log is accessible here:
CashTab Unit Tests: Configure without a wallet
CashTab Unit Tests: Configure with a wallet
Failed tests logs:
====== CashTab Unit Tests: Configure without a wallet ====== Error: expect(received).toMatchSnapshot() Snapshot name: `Configure without a wallet 1` - Snapshot - 1 + Received + 1 @@ -288,10 +288,10 @@ <a className="sc-dxgOiQ jbuVAx" href="https://reviews.bitcoinabc.org/" type="link" > - 4b0345d45 + 2f0545500 </a> </p> </div> </div> at Object.<anonymous> (/work/web/cashtab/src/components/Configure/__tests__/Configure.test.js:24:18) at Object.asyncJestTest (/work/web/cashtab/node_modules/jest-jasmine2/build/jasmineAsyncInstall.js:106:37) at /work/web/cashtab/node_modules/jest-jasmine2/build/queueRunner.js:45:12 at new Promise (<anonymous>) at mapper (/work/web/cashtab/node_modules/jest-jasmine2/build/queueRunner.js:28:19) at /work/web/cashtab/node_modules/jest-jasmine2/build/queueRunner.js:75:41 at processTicksAndRejections (node:internal/process/task_queues:94:5) ====== CashTab Unit Tests: Configure with a wallet ====== Error: expect(received).toMatchSnapshot() Snapshot name: `Configure with a wallet 1` - Snapshot - 1 + Received + 1 @@ -326,10 +326,10 @@ <a className="sc-dxgOiQ jbuVAx" href="https://reviews.bitcoinabc.org/" type="link" > - 4b0345d45 + 2f0545500 </a> </p> </div> </div> at Object.<anonymous> (/work/web/cashtab/src/components/Configure/__tests__/Configure.test.js:35:18) at Object.asyncJestTest (/work/web/cashtab/node_modules/jest-jasmine2/build/jasmineAsyncInstall.js:106:37) at /work/web/cashtab/node_modules/jest-jasmine2/build/queueRunner.js:45:12 at new Promise (<anonymous>) at mapper (/work/web/cashtab/node_modules/jest-jasmine2/build/queueRunner.js:28:19) at /work/web/cashtab/node_modules/jest-jasmine2/build/queueRunner.js:75:41 at processTicksAndRejections (node:internal/process/task_queues:94:5)
Each failure log is accessible here:
CashTab Unit Tests: Configure without a wallet
CashTab Unit Tests: Configure with a wallet
Failed tests logs:
====== CashTab Unit Tests: Configure without a wallet ====== Error: expect(received).toMatchSnapshot() Snapshot name: `Configure without a wallet 1` - Snapshot - 1 + Received + 1 @@ -288,10 +288,10 @@ <a className="sc-dxgOiQ jbuVAx" href="https://reviews.bitcoinabc.org/" type="link" > - 4b0345d45 + f1a259ab5 </a> </p> </div> </div> at Object.<anonymous> (/work/web/cashtab/src/components/Configure/__tests__/Configure.test.js:24:18) at Object.asyncJestTest (/work/web/cashtab/node_modules/jest-jasmine2/build/jasmineAsyncInstall.js:106:37) at /work/web/cashtab/node_modules/jest-jasmine2/build/queueRunner.js:45:12 at new Promise (<anonymous>) at mapper (/work/web/cashtab/node_modules/jest-jasmine2/build/queueRunner.js:28:19) at /work/web/cashtab/node_modules/jest-jasmine2/build/queueRunner.js:75:41 at processTicksAndRejections (node:internal/process/task_queues:94:5) ====== CashTab Unit Tests: Configure with a wallet ====== Error: expect(received).toMatchSnapshot() Snapshot name: `Configure with a wallet 1` - Snapshot - 1 + Received + 1 @@ -326,10 +326,10 @@ <a className="sc-dxgOiQ jbuVAx" href="https://reviews.bitcoinabc.org/" type="link" > - 4b0345d45 + f1a259ab5 </a> </p> </div> </div> at Object.<anonymous> (/work/web/cashtab/src/components/Configure/__tests__/Configure.test.js:35:18) at Object.asyncJestTest (/work/web/cashtab/node_modules/jest-jasmine2/build/jasmineAsyncInstall.js:106:37) at /work/web/cashtab/node_modules/jest-jasmine2/build/queueRunner.js:45:12 at new Promise (<anonymous>) at mapper (/work/web/cashtab/node_modules/jest-jasmine2/build/queueRunner.js:28:19) at /work/web/cashtab/node_modules/jest-jasmine2/build/queueRunner.js:75:41 at processTicksAndRejections (node:internal/process/task_queues:94:5)
Each failure log is accessible here:
CashTab Unit Tests: Configure without a wallet
CashTab Unit Tests: Configure with a wallet
Failed tests logs:
====== CashTab Unit Tests: Configure without a wallet ====== Error: expect(received).toMatchSnapshot() Snapshot name: `Configure without a wallet 1` - Snapshot - 1 + Received + 1 @@ -288,10 +288,10 @@ <a className="sc-dxgOiQ jbuVAx" href="https://reviews.bitcoinabc.org/" type="link" > - f1a259ab5 + abf54764c </a> </p> </div> </div> at Object.<anonymous> (/work/web/cashtab/src/components/Configure/__tests__/Configure.test.js:24:18) at Object.asyncJestTest (/work/web/cashtab/node_modules/jest-jasmine2/build/jasmineAsyncInstall.js:106:37) at /work/web/cashtab/node_modules/jest-jasmine2/build/queueRunner.js:45:12 at new Promise (<anonymous>) at mapper (/work/web/cashtab/node_modules/jest-jasmine2/build/queueRunner.js:28:19) at /work/web/cashtab/node_modules/jest-jasmine2/build/queueRunner.js:75:41 at processTicksAndRejections (node:internal/process/task_queues:94:5) ====== CashTab Unit Tests: Configure with a wallet ====== Error: expect(received).toMatchSnapshot() Snapshot name: `Configure with a wallet 1` - Snapshot - 1 + Received + 1 @@ -326,10 +326,10 @@ <a className="sc-dxgOiQ jbuVAx" href="https://reviews.bitcoinabc.org/" type="link" > - f1a259ab5 + abf54764c </a> </p> </div> </div> at Object.<anonymous> (/work/web/cashtab/src/components/Configure/__tests__/Configure.test.js:35:18) at Object.asyncJestTest (/work/web/cashtab/node_modules/jest-jasmine2/build/jasmineAsyncInstall.js:106:37) at /work/web/cashtab/node_modules/jest-jasmine2/build/queueRunner.js:45:12 at new Promise (<anonymous>) at mapper (/work/web/cashtab/node_modules/jest-jasmine2/build/queueRunner.js:28:19) at /work/web/cashtab/node_modules/jest-jasmine2/build/queueRunner.js:75:41 at processTicksAndRejections (node:internal/process/task_queues:94:5)
Each failure log is accessible here:
CashTab Unit Tests: Configure without a wallet
CashTab Unit Tests: Configure with a wallet