Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

first production build #68

Merged
merged 261 commits into from
Aug 13, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
261 commits
Select commit Hold shift + click to select a range
3f27dc4
Merge branch 'dev' of https://github.com/oslabs-beta/flake-guard into…
ashhannigan Jun 12, 2024
4e54fb6
removed unused import
ashhannigan Jun 12, 2024
cd116fc
Merge branch 'dev' into ash/frontend
ashhannigan Jun 12, 2024
46081a9
update to Oauth
Jun 12, 2024
23baa49
Merge pull request #20 from oslabs-beta/auth_tommy
ashhannigan Jun 12, 2024
142b790
work on sending and retrieving DB data
brendanxiong Jun 12, 2024
26ad8ad
only missing FG logo on home page
ashhannigan Jun 12, 2024
1b675f4
Merge pull request #21 from oslabs-beta/ash/frontend
brendanxiong Jun 12, 2024
8a30c28
comment out redundant code - may need to use later
brendanxiong Jun 12, 2024
69ab9e1
landing style
ashhannigan Jun 12, 2024
887fb4e
add test results
palomareynolds Jun 12, 2024
1a7ebf7
Merge branch 'dev' into paloma/server
palomareynolds Jun 12, 2024
e58940e
add assertion result graph
palomareynolds Jun 12, 2024
a687004
Merge pull request #22 from oslabs-beta/paloma/server
brendanxiong Jun 12, 2024
d8402f4
delete dist folder
brendanxiong Jun 12, 2024
23e78f0
add test errors box to dashboard
palomareynolds Jun 12, 2024
7dbc0bf
delete dist from paloma/server
palomareynolds Jun 12, 2024
8a5a3e2
frontend ash updates
ashhannigan Jun 12, 2024
cbcf237
Merge branch 'dev' into ash/frontend
ashhannigan Jun 12, 2024
bdb6373
Merge pull request #23 from oslabs-beta/paloma/server
ashhannigan Jun 12, 2024
485917d
Merge branch 'dev' into ash/frontend
ashhannigan Jun 12, 2024
af3c3ff
flake percentage rendering, but styling and component set up needs ad…
ashhannigan Jun 12, 2024
8acde60
Merge pull request #24 from oslabs-beta/ash/frontend
palomareynolds Jun 13, 2024
4a70b13
merge with dev
brendanxiong Jun 13, 2024
698c36f
Merge branch 'dev' into brendan
brendanxiong Jun 13, 2024
04b7975
pulled in latest changes from remote dev
willsuto Jun 13, 2024
447314f
merging dev
palomareynolds Jun 13, 2024
8cd4f1b
Merge branch 'dev' into paloma/server
palomareynolds Jun 13, 2024
55587ac
merged in changes from remote dev
willsuto Jun 13, 2024
66d916f
finish querying and processing db data
brendanxiong Jun 13, 2024
8114d8e
store and pull results from database
brendanxiong Jun 13, 2024
c48a718
Merge pull request #25 from oslabs-beta/brendan
willsuto Jun 13, 2024
902f0f4
wip
willsuto Jun 13, 2024
1da74fd
merged changes from remote dev
willsuto Jun 13, 2024
b42ad21
merged db changes from remote dev
willsuto Jun 13, 2024
9dfe5db
Merge pull request #26 from oslabs-beta/will
brendanxiong Jun 13, 2024
f0b60c7
removed analytics and updated dashboard
ashhannigan Jun 13, 2024
417b956
full temp data flow
willsuto Jun 13, 2024
b06ec04
Merge branch 'dev' into will
willsuto Jun 13, 2024
4287ccd
Merge pull request #27 from oslabs-beta/ash/frontend
willsuto Jun 13, 2024
a98a878
Merge branch 'dev' into will
willsuto Jun 13, 2024
a0e72a4
full temp data flow with merged front end changes
willsuto Jun 13, 2024
3527634
Merge pull request #29 from oslabs-beta/will
palomareynolds Jun 13, 2024
b012b42
commit changes before merging dev
palomareynolds Jun 13, 2024
ad587b3
Merge branch 'dev' into paloma/server
palomareynolds Jun 13, 2024
806890d
flake added to assertion
ashhannigan Jun 14, 2024
7270a0f
cards hover border
ashhannigan Jun 14, 2024
d862061
dashboard flake percentage fixed
ashhannigan Jun 14, 2024
12590b1
whitespaces fixed
ashhannigan Jun 14, 2024
aae8025
dashboard styling & prettier updates
ashhannigan Jun 14, 2024
68e4b34
buttons borders synced
ashhannigan Jun 14, 2024
35f8ab5
Merge pull request #30 from oslabs-beta/ash/frontend
willsuto Jun 14, 2024
f5f78af
increase bodyParser.json limit to 10mb
willsuto Jun 14, 2024
3ddefaa
Merge branch 'dev' into will
willsuto Jun 14, 2024
bcbda00
add flakiness rate
palomareynolds Jun 14, 2024
7d4a53b
add flakiness rate to the dashboard
palomareynolds Jun 14, 2024
7981b78
deleting dist
palomareynolds Jun 14, 2024
0cd57af
Merge branch 'dev' into paloma/server
palomareynolds Jun 14, 2024
974379a
Merge pull request #31 from oslabs-beta/paloma/server
willsuto Jun 14, 2024
ed1765e
Merge branch 'dev' into will
willsuto Jun 14, 2024
4be1dbc
mvp
willsuto Jun 14, 2024
ad022df
Merge branch 'dev' into will
willsuto Jun 14, 2024
508f341
buggy failed percent
ashhannigan Jun 15, 2024
2a608f7
Merge branch 'dev' into ash/frontend
ashhannigan Jun 15, 2024
39ef81e
dash
ashhannigan Jun 15, 2024
79bcebf
separated app and npm package in file structure
willsuto Jul 2, 2024
409a985
Merge pull request #32 from oslabs-beta/ash/frontend
brendanxiong Jul 2, 2024
7604e6f
commiting before merging dev
palomareynolds Jul 2, 2024
0514a5c
Merge branch 'dev' into paloma/server
palomareynolds Jul 2, 2024
07518f7
separated app and package in file structure
willsuto Jul 2, 2024
7e5a881
changed file structure to separate app and package
willsuto Jul 2, 2024
175bb1b
Merge pull request #34 from oslabs-beta/change
palomareynolds Jul 2, 2024
5a9185a
add logo
palomareynolds Jul 2, 2024
bacedac
merging dev new structure
palomareynolds Jul 2, 2024
c3b395b
add style to header
palomareynolds Jul 2, 2024
8202233
Bump ws from 8.17.0 to 8.17.1 in /flake-guard-app
dependabot[bot] Jul 3, 2024
082c02c
refactored cache with immediate eviction
willsuto Jul 3, 2024
214824a
add style to header
palomareynolds Jul 3, 2024
4649645
Merge pull request #35 from oslabs-beta/dependabot/npm_and_yarn/flake…
willsuto Jul 3, 2024
35eed3e
Merge pull request #36 from oslabs-beta/paloma/server
willsuto Jul 3, 2024
93ab144
wip
willsuto Jul 3, 2024
92b071b
Merge branch 'dev' into will
willsuto Jul 3, 2024
6a0bff9
commit before merge
ashhannigan Jul 4, 2024
a469e93
Merge branch 'dev' of https://github.com/oslabs-beta/flake-guard into…
ashhannigan Jul 4, 2024
f69b11e
wip
willsuto Jul 4, 2024
095910a
merged from will
willsuto Jul 4, 2024
dfed234
npm package refactor
willsuto Jul 4, 2024
524960f
refactored npmController
willsuto Jul 4, 2024
ad8e443
refactored server side handling of npm package data
willsuto Jul 4, 2024
0c9a437
Merge pull request #37 from oslabs-beta/will
brendanxiong Jul 4, 2024
26a13d8
updated gitignore
willsuto Jul 4, 2024
6c43b5a
Delete .DS_Store
ashhannigan Jul 4, 2024
9a0e816
Delete .DS_Store
brendanxiong Jul 4, 2024
c7c9ab3
Merge pull request #38 from oslabs-beta/ashhannigan-patch-1
willsuto Jul 4, 2024
924efd1
Remove npm dist folder
brendanxiong Jul 4, 2024
ec5c297
gitignore updates
willsuto Jul 4, 2024
26e5b53
refactoring landing page
palomareynolds Jul 4, 2024
18d6698
adding style to landing page
palomareynolds Jul 4, 2024
b77366b
Merge branch 'dev' into paloma/server
palomareynolds Jul 4, 2024
698feac
Merge branch 'dev' of https://github.com/oslabs-beta/flake-guard into…
ashhannigan Jul 4, 2024
074969e
Merge pull request #39 from oslabs-beta/paloma/server
willsuto Jul 5, 2024
d0b1ef1
merged dev
willsuto Jul 5, 2024
75a1dee
adding style to the docs page
palomareynolds Jul 6, 2024
4760954
Merge branch 'dev' into paloma/server
palomareynolds Jul 6, 2024
772bb4d
reverted landing page styling
ashhannigan Jul 6, 2024
69c1f53
frontend changes
ashhannigan Jul 6, 2024
74cd8f3
decision page architecture
willsuto Jul 7, 2024
5349908
changes to package
willsuto Jul 7, 2024
945161e
dashboard architecture continued
willsuto Jul 7, 2024
29c11aa
Merge pull request #40 from oslabs-beta/landing
willsuto Jul 7, 2024
35f768d
merged dev
willsuto Jul 7, 2024
66cce2e
commiting before merging
palomareynolds Jul 7, 2024
66efbf6
Merge pull request #41 from oslabs-beta/will
palomareynolds Jul 7, 2024
1290bff
commiting changes before merging
palomareynolds Jul 7, 2024
b479199
Merge branch 'dev' into paloma/server
palomareynolds Jul 7, 2024
8c9e1c2
server wip
willsuto Jul 7, 2024
d409c5a
error handling middleware in server
willsuto Jul 8, 2024
f11c3dc
conditional rendering of Flake Risk Arrow Based on Flake Percentage. …
ashhannigan Jul 10, 2024
04444a2
Merge pull request #42 from oslabs-beta/will
ashhannigan Jul 10, 2024
26e84f9
testing folder
ashhannigan Jul 13, 2024
a15464d
Merge pull request #43 from oslabs-beta/ash/test
willsuto Jul 13, 2024
e2ddc5b
persisting saved results in database and sending saved results to use…
willsuto Jul 15, 2024
1af23ed
Merge branch 'dev' into will
willsuto Jul 15, 2024
d7e893a
Merge pull request #44 from oslabs-beta/will
brendanxiong Jul 15, 2024
6dd4393
decision page login button functionality wip
willsuto Jul 15, 2024
790c261
Merge branch 'dev' into will
willsuto Jul 15, 2024
1593ff5
decision page login button functionality
willsuto Jul 15, 2024
c6fe3b5
Merge pull request #45 from oslabs-beta/will
brendanxiong Jul 16, 2024
98d4d15
feat: add style to the docs page
palomareynolds Jul 16, 2024
f51fbb2
Merge branch 'dev' into paloma/server
palomareynolds Jul 16, 2024
23f5e1d
comming before merging
palomareynolds Jul 16, 2024
35b562a
commiting before merging 2
palomareynolds Jul 16, 2024
d354585
commiting before trying run build npm package
palomareynolds Jul 16, 2024
d6801cf
Merge pull request #46 from oslabs-beta/paloma/server
willsuto Jul 17, 2024
291625e
Delete flake-guard-app/dist directory
willsuto Jul 17, 2024
40bcc6c
Delete flake-guard-app/package-lock.json
willsuto Jul 17, 2024
7339908
server error handling refactor
willsuto Jul 17, 2024
30a9579
removed unused front end console logs
willsuto Jul 17, 2024
c8f19b6
wip
willsuto Jul 17, 2024
941ed5d
fixed login button flashing on re-render bug
willsuto Jul 17, 2024
feadb61
added yyyy-mm-dd property to each result in user dashboard
willsuto Jul 17, 2024
873d79a
Merge pull request #47 from oslabs-beta/will
palomareynolds Jul 17, 2024
ea6827b
commit before merging
palomareynolds Jul 17, 2024
fef8fe1
non-working test configurations
ashhannigan Jul 17, 2024
6be8701
merged with updated code
ashhannigan Jul 17, 2024
7eed106
test env setup wip
willsuto Jul 18, 2024
7185f14
Merge branch 'dev' into will
willsuto Jul 18, 2024
874f3ae
test env wip
willsuto Jul 18, 2024
0b685f2
Merge pull request #48 from oslabs-beta/will
ashhannigan Jul 18, 2024
99483e6
npm attempting testing config
ashhannigan Jul 18, 2024
51fae67
npm config attempt
ashhannigan Jul 18, 2024
461932b
urlController unit tests
willsuto Jul 18, 2024
23e9f0f
server unit tests wip
willsuto Jul 18, 2024
e996a09
server unit testing full coverage
willsuto Jul 18, 2024
37caf6f
Merge branch 'dev' into will
willsuto Jul 18, 2024
f679b74
react testing library front end established
ashhannigan Jul 18, 2024
854e35b
flake-guard-npm loadconfig and types unit tests
ashhannigan Jul 19, 2024
25120f0
Merge pull request #49 from oslabs-beta/will
ashhannigan Jul 19, 2024
2d60f3b
merged and combined configurations and files for first round of setti…
ashhannigan Jul 19, 2024
5b02679
ashley react testing 7 passed test suits with 25 passing tests totali…
ashhannigan Jul 19, 2024
9e75fa4
Merge pull request #50 from oslabs-beta/ashley/reacttesting
willsuto Jul 23, 2024
72c05d3
updated testing files as of 7/22, front-end / back-end tests running …
ashhannigan Jul 23, 2024
8f5ade5
ignore updated
ashhannigan Jul 23, 2024
cab4927
Merge branch 'dev' into ashley/reacttesting
ashhannigan Jul 23, 2024
9ee0ea5
feat: add graphs to the Dashboard
palomareynolds Jul 23, 2024
16db244
pulled from paloma/server
willsuto Jul 23, 2024
d7f6305
line chart rendering data points
willsuto Jul 23, 2024
777ab95
Merge pull request #51 from oslabs-beta/ashley/reacttesting
brendanxiong Jul 23, 2024
a35161a
testing pipeline for prod CI
brendanxiong Jul 23, 2024
530ed64
remove .github/workflows directory for now
brendanxiong Jul 23, 2024
fd52635
feat: add flakiness data
palomareynolds Jul 24, 2024
0e32204
fixed bug in lineChartParser that wasnt accounting for skipped tests
willsuto Jul 24, 2024
9edb095
about to merge dev
palomareynolds Jul 24, 2024
fa15dc9
added package-lock to gitignore
palomareynolds Jul 24, 2024
2af808d
added package-lock to gitignore
palomareynolds Jul 24, 2024
7b62a1c
lineChartParser bug fix
willsuto Jul 24, 2024
1c6ef5e
before merging dev
palomareynolds Jul 24, 2024
003c14b
lineChartParser syntax fix
willsuto Jul 24, 2024
b96ed24
Merge pull request #52 from oslabs-beta/paloma/server
willsuto Jul 24, 2024
2ac1a4f
merged dev
willsuto Jul 24, 2024
d44db57
lineChartParser bug fix and merged with dev
willsuto Jul 24, 2024
64fd414
Merge pull request #53 from oslabs-beta/will
palomareynolds Jul 24, 2024
41e44c8
about to merge dev
palomareynolds Jul 24, 2024
fcf7d3b
Merge branch 'dev' into paloma/server
palomareynolds Jul 24, 2024
45e98ae
configure CI pipeline for prod
brendanxiong Jul 24, 2024
c593992
create Dockerfile
brendanxiong Jul 24, 2024
9126eb8
Remove Dockerfile
brendanxiong Jul 24, 2024
47ebe9b
add Dockerfile
brendanxiong Jul 24, 2024
4a2a9f6
Add files via upload
willsuto Jul 24, 2024
cabc3b6
feat: added pie and bar charts to the dashboard
palomareynolds Jul 24, 2024
b44d82a
Merge branch 'dev' into paloma/server
palomareynolds Jul 24, 2024
a60a639
Merge pull request #55 from oslabs-beta/paloma/server
willsuto Jul 25, 2024
b913d7e
commit prior to merging dev
willsuto Jul 25, 2024
aecb8cc
Merge branch 'dev' into will
willsuto Jul 25, 2024
89957cf
trying to build npm package
willsuto Jul 25, 2024
bcf7c99
Update README.md
ashhannigan Jul 25, 2024
b83b188
Merge pull request #56 from oslabs-beta/ashhannigan-patch-2
brendanxiong Jul 25, 2024
2a272bc
faq testing
ashhannigan Jul 25, 2024
6588140
git ignore update
ashhannigan Jul 25, 2024
0eeeb49
minor file changing with text
ashhannigan Jul 25, 2024
42da601
feat: added errors details to the dashboard
palomareynolds Jul 26, 2024
b2d7717
Merge branch 'dev' into paloma/server
palomareynolds Jul 26, 2024
f02e883
refactored npm package
willsuto Jul 26, 2024
146323e
Merge pull request #57 from oslabs-beta/paloma/server
willsuto Jul 26, 2024
6d73165
Merge branch 'dev' into will
willsuto Jul 26, 2024
93c2002
refactored npm package
willsuto Jul 26, 2024
5b1c411
Merge pull request #58 from oslabs-beta/will
palomareynolds Jul 26, 2024
013d71c
Merge branch 'dev' into ashley/reacttesting
ashhannigan Jul 27, 2024
78d3e6d
fix test result ordering in user dash by adding ORDER BY keyword to s…
willsuto Jul 27, 2024
a0dbc43
Merge branch 'dev' into will
willsuto Jul 27, 2024
c97b45f
Merge pull request #59 from oslabs-beta/will
palomareynolds Jul 27, 2024
d63f44e
adding duration chart
palomareynolds Jul 27, 2024
f7874b9
Merge branch 'dev' into paloma/server
palomareynolds Jul 27, 2024
4dc9026
Create workflow-action.yml
ashhannigan Jul 27, 2024
d047782
Update workflow-action.yml
ashhannigan Jul 27, 2024
241200e
Update workflow-action.yml
ashhannigan Jul 27, 2024
3dd95f2
test-push.yml
ashhannigan Jul 27, 2024
30086c4
meet the team basics
ashhannigan Jul 27, 2024
e407e67
Merge branch 'dev' into ashley/reacttesting
ashhannigan Jul 27, 2024
48ea841
meet the team basics
ashhannigan Jul 27, 2024
d5b4d35
landing page basic styling and info, missing tommys info fully
ashhannigan Jul 27, 2024
5809c9e
tommy linked in added
ashhannigan Jul 27, 2024
adba6bf
Merge pull request #60 from oslabs-beta/ashhannigan-patch-3
palomareynolds Jul 27, 2024
3bc871b
about to merge dev
palomareynolds Jul 27, 2024
3266bdb
Merge branch 'dev' into paloma/server
palomareynolds Jul 27, 2024
61a374c
Merge pull request #62 from oslabs-beta/ashley/meettheteam
palomareynolds Jul 27, 2024
e3ae950
Merge branch 'dev' into paloma/server
palomareynolds Jul 27, 2024
67350da
feat: added durations (ms) graph
palomareynolds Jul 27, 2024
8ea8d01
expanded button target and removed the charts tabs in the dashboard
palomareynolds Jul 27, 2024
cd2a4d4
feat: added duration ms to the dashboard
palomareynolds Jul 27, 2024
b72cc2e
minor changes
palomareynolds Jul 27, 2024
ac7b3ea
Merge pull request #64 from oslabs-beta/paloma/server
willsuto Jul 27, 2024
4b93661
file structure and naming refactor
willsuto Jul 28, 2024
522517a
Merge pull request #65 from oslabs-beta/will
palomareynolds Jul 28, 2024
1bd32f3
add node modules to gitignore
brendanxiong Aug 5, 2024
583f1d1
package-lock file
brendanxiong Aug 5, 2024
1d514fc
remove package-lock file from gitignore
brendanxiong Aug 5, 2024
d721ddb
change Dockerfile to user Typescript server
brendanxiong Aug 5, 2024
cd46930
change server to use React Router in catch all
brendanxiong Aug 5, 2024
a1f6e0f
change urlController to use flake-guard.com instead of localhost
brendanxiong Aug 5, 2024
7667459
have npm package POST request to flake-guard.com
brendanxiong Aug 5, 2024
7963e32
configure server to serve Webpack build files
brendanxiong Aug 5, 2024
714c278
remove dashes from FlakeGuard website URLs
brendanxiong Aug 6, 2024
f2503e0
change more URLs to flakeguard.com
brendanxiong Aug 6, 2024
8b8d12f
add static typing to server file
brendanxiong Aug 6, 2024
50d826b
READ.me updates
ashhannigan Aug 7, 2024
b40d1aa
README.md updates
ashhannigan Aug 7, 2024
7fdb747
Merge branch 'dev' into ashley/meettheteam
ashhannigan Aug 7, 2024
d4b57dd
Merge pull request #67 from oslabs-beta/ashley/meettheteam
brendanxiong Aug 8, 2024
c6c621b
Merge pull request #66 from oslabs-beta/devops
willsuto Aug 12, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 0 additions & 14 deletions .eslintrc.json

This file was deleted.

29 changes: 29 additions & 0 deletions .github/workflows/build-tests.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
# This workflow will do a clean installation of node dependencies, cache/restore them, build the source code and run tests across different versions of node
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-nodejs

name: build-tests

on:
pull_request:
branches: [ "main" ]

jobs:
build:

runs-on: ubuntu-latest

strategy:
matrix:
node-version: [20.x]
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/

steps:
- uses: actions/checkout@v4
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
cache: 'npm'
- run: npm ci
- run: npm run build --if-present
- run: npm test
44 changes: 44 additions & 0 deletions .github/workflows/workflow-action.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
# This is a basic workflow to help you get started with Actions

name: CI Workflow

# Controls when the workflow will run
on: workflow_dispatch
# Triggers the workflow on push or pull request events but only for the "dev" branch
# push:
# branches: [ "dev" ]
# pull_request:
# branches: [ "dev" ]

# Allows you to run this workflow manually from the Actions tab
# workflow_dispatch: workflow_dispatch

# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
first-job:
runs-on: ubuntu-latest
# Steps represent a sequence of tasks that will be executed as part of the job
steps:
# Runs a single command using the runners shell
- name: Print greeting
run: |
echo "Hello World!"
echo "Second line!
- name: Print goodbye
run: echo "Done - goodbye!"

# This workflow contains a single job called "build"
# build:
# # The type of runner that the job will run on
# runs-on: ubuntu-latest


# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
# - uses: actions/checkout@v4


# # Runs a set of commands using the runners shell
# - name: Run a multi-line script
# run: |
# echo Add other actions to build,
# echo test, and deploy your project.
67 changes: 57 additions & 10 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,15 +1,62 @@
# 🚀 Welcome to your new awesome project!
<img src="https://raw.githubusercontent.com/oslabs-beta/flake-guard/98d4d159ba19a2e6dad3be218258100495a82826/flake-guard-app/src/client/assets/logo.png" style="background-color: white; width: 40% ; height: 20%"/>

This project has been created using **webpack-cli**, you can now run
# 🚀 Welcome to flake guard!
### [Website](https://flake-guard.com/) [Npm*](https://flake-guard.com/) [Articles*](https://flake-guard.com/)
<div>
<img src="https://cdn.iconscout.com/icon/free/png-512/free-javascript-1-225993.png?f=webp&w=512" style="width: 40px"/>
<img src="https://cdn.iconscout.com/icon/free/png-512/free-typescript-1174965.png?f=webp&w=512" style="width: 40px"/>
<img src="https://cdn.iconscout.com/icon/free/png-512/free-react-1-282599.png?f=webp&w=512" style="width: 40px"/>
<img src ="https://cdn.iconscout.com/icon/free/png-512/free-tailwind-css-5285308-4406745.png?f=webp&w=512" style="width: 40px"/>
<img src="https://cdn.iconscout.com/icon/free/png-512/free-jest-3521517-2945020.png?f=webp&w=512" style="width: 40px"/>
<img src="https://cdn.iconscout.com/icon/free/png-512/free-npm-3521612-2945056.png?f=webp&w=512" style="width: 40px"/>

```
npm run build
```
</div>

or
### Flake-Guard is a free, open-source tool that allows developers to run Jest tests to automatically detect, report, and manage flaky tests in software development.
---
*flaky test
: a test that sometimes passes and sometimes fails for the same code, often due to nondeterministic factors like timing issues, network variability, or reliance on external systems.*

```
yarn build
```
**By identifying and handling these inconsistent tests, Flake-Guard helps maintain test reliability.**

# DEMO SECTION WITH VIDEO

### end of demo section
---
# Getting Started
Installation:
```npm i flake-guard```

Installation as dev dependency:
```npm i flake-guard --save-dev```

To run FlakeGuard, simply execute the command
```npx flake-guard <filename> ```
. *change `<filename>` to the name of the test file that you want to examine.

👁️FlakeGuard will analyze your E2E tests for flakiness by executing multiple test runs and analyzing the results. _The default number of test runs is 10_, but this can be adjusted as described below.

In general, there is a time versus accuracy tradeoff. More test executions increase accuracy but reduce speed.

## Configuration:
To adjust FlakeGuard configuration variables, you can create a file in the root directory of your project called
fg.config.json
. Below are the defaults, which can be overridden in your local 'fg.config.json' file.

# [Flake-guard.com](https://Flake-guard.com)
## Tracked Dashboard Metrics
<div>
<img src="flake-guard-app/src/client/assets/graphs.png" style="height: 20%; ">
</div>

## Contribution Guidelines
---
# Authors
| Name (First, Last) | Connect with us |
| ------------- |:-------------:|
| Ashley Hannigan | [LinkedIn](https://www.linkedin.com/in/ashley-hannigan-88-/) `,` [Github](https://github.com/ashhannigan)
| Brendan Xiong | [LinkedIn](https://www.linkedin.com/in/brendanxiong/) `,` [Github](https://github.com/brendanxiong)
| Tommy Martinez | [LinkedIn](https://www.linkedin.com/in/tommy-martinez/) `,` [Github](https://github.com/tmm150)
| Paloma Reynolds | [LinkedIn](https://www.linkedin.com/in/palomareynolds/)`,` [Github](https://github.com/palomareynolds)
| Will Suto | [LinkedIn](https://www.linkedin.com/in/willsuto/) `,` [Github](https://github.com/willsuto)

to bundle your application
12 changes: 0 additions & 12 deletions dist/index.html

This file was deleted.

2 changes: 0 additions & 2 deletions dist/main.js

This file was deleted.

1 change: 0 additions & 1 deletion dist/service-worker.js

This file was deleted.

File renamed without changes.
File renamed without changes.
32 changes: 32 additions & 0 deletions flake-guard-app/.eslintrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
{
"extends": "./node_modules/gts/",
"rules": {
"node/no-unpublished-require": [
"error",
{
"allowModules": [
"html-webpack-plugin",
"mini-css-extract-plugin",
"workbox-webpack-plugin"
]
}
]
},
"plugins": ["react", "@typescript-eslint", "prettier", "jest"],
"settings": {
"react": {
"version": "detect"
}
},
"overrides": [
// Different options based on file extensions.
{
"parser": "babel-eslint",
"files": ["**.js"]
},
{
"parser": "@typescript-eslint/parser",
"files": ["**.ts"]
}
]
}
5 changes: 3 additions & 2 deletions .gitignore → flake-guard-app/.gitignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
node_modules
.env
.DS_Store
/build/
/dist/
build/
coverage/
dist/
File renamed without changes.
13 changes: 13 additions & 0 deletions flake-guard-app/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
FROM node:20.12

WORKDIR /usr/src/app

COPY . /usr/src/app/

RUN npm install
RUN npm install -g ts-node
RUN npm run build

EXPOSE 3000

ENTRYPOINT ["ts-node", "./src/server/server.ts"]
8 changes: 8 additions & 0 deletions flake-guard-app/babel.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
module.exports = {
presets: [
['@babel/preset-env', {targets: {node: 'current'}}],
'@babel/preset-typescript',
// ['@babel/preset-react', {runtime: 'automatic'}],
],
};

File renamed without changes.
File renamed without changes.
Binary file added flake-guard-app/image-1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added flake-guard-app/image.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Loading