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

feat: multithreaded bulk import #1043

Open
wants to merge 165 commits into
base: feat/bulk-import-1
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
165 commits
Select commit Hold shift + click to select a range
7b11610
docs(README.md): Added Viraj Kanwade to contributors (#996)
virajkanwade May 20, 2024
dd8cd54
fix(README.md): fix typo in contributors (#995)
virajkanwade May 20, 2024
e0a8b37
fix: mysql migration for multitenancy (#997)
sattvikc May 23, 2024
563a90a
feat: Changes for multitenancy dashboard (#963)
prateek3255 May 24, 2024
2f49538
adding dev-v9.1.0 tag to this commit to ensure building
sattvikc May 24, 2024
7d462ad
adding dev-v9.1.0 tag to this commit to ensure building
sattvikc May 24, 2024
b1f0fa6
fix: circle ci
sattvikc May 24, 2024
d884fd4
adding dev-v9.1.0 tag to this commit to ensure building
sattvikc May 24, 2024
0100c83
fix: tests
sattvikc May 24, 2024
0cea065
adding dev-v9.1.0 tag to this commit to ensure building
sattvikc May 24, 2024
a6bd57b
fix: tests
sattvikc May 24, 2024
c4ab7e7
adding dev-v9.1.0 tag to this commit to ensure building
sattvikc May 24, 2024
4ba0a23
fix: tests
sattvikc May 24, 2024
e66ad7c
adding dev-v9.1.0 tag to this commit to ensure building
sattvikc May 24, 2024
83726a0
docs(README.md): Added Anurag Srivastava to contributors (#1003)
anuragmerndev Jun 7, 2024
7cf0a46
Update release.md
rishabhpoddar Jun 9, 2024
dad8f53
Update release.md
rishabhpoddar Jun 27, 2024
a3fa8cd
reformats code
rishabhpoddar Jul 8, 2024
3985f9f
reformates code
rishabhpoddar Jul 8, 2024
5f1b31e
Merge branch '9.0' into 9.1
rishabhpoddar Jul 8, 2024
d7789ca
feat: multitenancy dashboard (#1004)
sattvikc Jul 9, 2024
5e124a7
fix: migration in changelog
sattvikc Jul 9, 2024
dfac52b
adding dev-v9.1.0 tag to this commit to ensure building
sattvikc Jul 10, 2024
85ad25d
adds extra check to release prep
rishabhpoddar Jul 10, 2024
cab6326
fix: telemetry for non sql (#1012)
sattvikc Jul 10, 2024
ab38d88
adding dev-v9.1.0 tag to this commit to ensure building
sattvikc Jul 10, 2024
6057985
Merge branch '9.1' of https://github.com/supertokens/supertokens-core…
rishabhpoddar Jul 10, 2024
5594bbc
fix: gradle.properties in tests (#1013)
sattvikc Jul 10, 2024
ccc387b
adding dev-v9.1.0 tag to this commit to ensure building
sattvikc Jul 10, 2024
5f61061
fix: HideFromDashboard annotation (#1014)
sattvikc Jul 15, 2024
3fd29ab
adding dev-v9.1.0 tag to this commit to ensure building
sattvikc Jul 15, 2024
ca2a90d
updates release checklist
rishabhpoddar Jul 15, 2024
6c0ec50
modifies release template
rishabhpoddar Jul 18, 2024
bb00dec
fix: make canLinkAccountsHelper check if the login methods of the pri…
porcellus Jul 24, 2024
2f99bf9
adding dev-v9.1.1 tag to this commit to ensure building
sattvikc Jul 24, 2024
43a5a68
fix: simplifying email verification token creation (#1016)
tamassoltesz Jul 24, 2024
54ff0e3
adding dev-v9.1.1 tag to this commit to ensure building
rishabhpoddar Jul 24, 2024
bd57cc2
Update release.md
rishabhpoddar Aug 5, 2024
d7412e4
Update release.md
rishabhpoddar Aug 5, 2024
d4fb18e
fix: pathrouter for tenant id stop words (#1022)
sattvikc Aug 8, 2024
f0dfd83
adding dev-v9.1.2 tag to this commit to ensure building
sattvikc Aug 8, 2024
4204a06
fix: 500 error to return actual message (#1023)
sattvikc Aug 8, 2024
0212af6
adding dev-v9.1.2 tag to this commit to ensure building
sattvikc Aug 8, 2024
3a5365a
fix: tests (#1024)
sattvikc Aug 8, 2024
bbc0984
adding dev-v9.1.2 tag to this commit to ensure building
sattvikc Aug 8, 2024
796b9de
fix: cicd tests (#1025)
sattvikc Aug 8, 2024
57cd78d
adding dev-v9.1.2 tag to this commit to ensure building
sattvikc Aug 8, 2024
0bfcf90
Update release.md
rishabhpoddar Aug 10, 2024
b63ed0d
feat: add security feature (#1026)
sattvikc Aug 20, 2024
8d7801a
adding dev-v9.2.0 tag to this commit to ensure building
sattvikc Aug 20, 2024
cb439e5
fix: feature test fix (#1027)
sattvikc Aug 20, 2024
8912d2b
adding dev-v9.2.0 tag to this commit to ensure building
sattvikc Aug 20, 2024
c7f7186
fix: stats (#1033)
sattvikc Sep 2, 2024
95d2fdd
adding dev-v9.2.1 tag to this commit to ensure building
sattvikc Sep 2, 2024
728d1b8
fix: index for MAU (#1034)
sattvikc Sep 4, 2024
635254a
adding dev-v9.2.2 tag to this commit to ensure building
sattvikc Sep 4, 2024
dd4b21a
fix: flaky tests (#1035)
sattvikc Sep 5, 2024
df55b5f
adding dev-v9.2.2 tag to this commit to ensure building
sattvikc Sep 5, 2024
d91003c
adding dev-v9.2.2 tag to this commit to ensure building
sattvikc Sep 6, 2024
6f9568a
Update README.md
rishabhpoddar Sep 17, 2024
0d70735
feat: multithreaded bulk import
tamassoltesz Sep 20, 2024
b78541e
fix: changelog update
tamassoltesz Sep 20, 2024
0c0dea8
fix: add new test
tamassoltesz Sep 25, 2024
67c42e9
fix: fixing unreliable mutithreaded bulk import with mysql
tamassoltesz Sep 27, 2024
72706f9
chore: merging master to feature branch
tamassoltesz Oct 1, 2024
807f617
fix: review fixes
tamassoltesz Oct 1, 2024
f7cc349
fix: fixing failing tests
tamassoltesz Oct 2, 2024
1ec5dde
feat: bulkimport flow tests
tamassoltesz Oct 3, 2024
e83c9b4
feat: OAuth provider support (#1010)
rishabhpoddar Oct 4, 2024
df6d395
adding dev-v9.3.0 tag to this commit to ensure building
sattvikc Oct 4, 2024
21c8d15
fix: cron (#1055)
sattvikc Oct 4, 2024
4996f22
adding dev-v9.3.0 tag to this commit to ensure building
sattvikc Oct 4, 2024
616cee0
fix: migration (#1056)
sattvikc Oct 4, 2024
e1f462c
adding dev-v9.3.0 tag to this commit to ensure building
sattvikc Oct 4, 2024
53a861b
fix: let create client accept client id in the body
sattvikc Oct 8, 2024
1ecf114
fix: validating firstFactors not to contain special chars (#1050)
tamassoltesz Oct 9, 2024
bdb6f4b
fix: docker readonly fs (#1058)
tamassoltesz Oct 9, 2024
7b22988
adding dev-v9.2.3 tag to this commit to ensure building
sattvikc Oct 9, 2024
142e500
fix: fix failing cli options test (#1059)
tamassoltesz Oct 9, 2024
0480bfd
adding dev-v9.2.3 tag to this commit to ensure building
sattvikc Oct 9, 2024
b2b67ee
fix: fix failing tests because of wrong temp location (#1060)
tamassoltesz Oct 9, 2024
8060af5
adding dev-v9.2.3 tag to this commit to ensure building
sattvikc Oct 9, 2024
56359ad
fix: refresh token rotation and client secret
sattvikc Oct 10, 2024
7ed8c3e
fix: introspect and revoke token
sattvikc Oct 10, 2024
541e2e4
fix: typo
sattvikc Oct 10, 2024
e1025ec
fix: basic implicit flow test
sattvikc Oct 10, 2024
eacddae
fix: refresh token mapping persistence
sattvikc Oct 11, 2024
2c14844
feat: bulk import cron starter api
tamassoltesz Oct 12, 2024
3183ff6
fix: compute exp
sattvikc Oct 13, 2024
93ceade
fix: cron related
sattvikc Oct 14, 2024
7f20e78
fix: storage test
sattvikc Oct 14, 2024
f212500
fix: remove prints
sattvikc Oct 14, 2024
9213fd4
fix: updates user active when issuing tokens
sattvikc Oct 14, 2024
ec75e62
fix: rename to oauthprovider and add client crud tests
sattvikc Oct 15, 2024
618c591
fix: login request tests
sattvikc Oct 15, 2024
3492ca2
fix: typo
sattvikc Oct 16, 2024
e54cd5f
fix: revocation tests
sattvikc Oct 16, 2024
d0d13f0
fix: tweaking params for faster import
tamassoltesz Oct 17, 2024
1d076b5
fix: tests
tamassoltesz Oct 17, 2024
717d129
fix: handling null
sattvikc Oct 18, 2024
c551647
fix: rename st and oauth refresh tokents to external and internal
tamassoltesz Oct 21, 2024
fd17adb
fix: fetch the clientId/secret from the auth header if present
porcellus Oct 22, 2024
226329c
feat: allow listing instead if revoke listing in oauth2
tamassoltesz Oct 22, 2024
8f9c59c
chore: merge upstream branch
tamassoltesz Oct 23, 2024
ac3cf84
fix: fix typo from last commit
porcellus Oct 23, 2024
11229d9
fix: various fixes
tamassoltesz Oct 23, 2024
170dac6
Merge branch 'feat/oauth/remaining-changes' into feat/oauth/allow-list
tamassoltesz Oct 23, 2024
e94ffed
fix: tests and error fixes
tamassoltesz Oct 24, 2024
9e3ccc4
fix: more test and indexes
tamassoltesz Oct 25, 2024
d85f5eb
fix: changelog
tamassoltesz Oct 25, 2024
2caa02d
fix: one more index plus changelog
tamassoltesz Oct 25, 2024
a4b1cf0
fix: add client_credentials and implicit flow tokens to oauth_sessions
porcellus Oct 25, 2024
887234d
fix: review fixes
tamassoltesz Oct 25, 2024
f2747a2
fix: creating oauthsession for not existing client of app results in …
tamassoltesz Oct 25, 2024
8f80b8c
fix: always set sessionHandle appropriately for oauth sessions
porcellus Oct 26, 2024
2abfb68
Merge pull request #1067 from supertokens/feat/oauth/allow-list
porcellus Oct 27, 2024
be09a1b
Merge pull request #1065 from supertokens/feat/oauth/remaining-changes
porcellus Oct 27, 2024
c40dc91
Merge remote-tracking branch 'origin/master' into 9.3
porcellus Oct 27, 2024
a90ad34
adding dev-v9.3.0 tag to this commit to ensure building
porcellus Oct 27, 2024
eb9cfe4
ci: add oauth provider image to test job
porcellus Oct 27, 2024
eb66b6d
adding dev-v9.3.0 tag to this commit to ensure building
porcellus Oct 27, 2024
3509235
test: fix ci test failures and naming consistency
porcellus Oct 27, 2024
63862d4
Merge pull request #1068 from supertokens/test/fix_ci_runs
porcellus Oct 27, 2024
170c283
adding dev-v9.3.0 tag to this commit to ensure building
porcellus Oct 27, 2024
1edeff2
adding dev-v9.3.0 tag to this commit to ensure building
porcellus Oct 27, 2024
5c9fb1c
fix: simplifying jti + comma handling in db
tamassoltesz Oct 28, 2024
25ce26e
Merge pull request #1069 from supertokens/fix/oauth/jti-listing
porcellus Oct 28, 2024
e147e03
adding dev-v9.3.0 tag to this commit to ensure building
porcellus Oct 28, 2024
190c3f0
test: try and improve flaky tests
porcellus Oct 28, 2024
072cb48
test: try and improve flaky tests
porcellus Oct 28, 2024
eff6a6f
Merge pull request #1070 from supertokens/ci/flaky_test_improvement
porcellus Oct 28, 2024
8944bfd
adding dev-v9.3.0 tag to this commit to ensure building
porcellus Oct 28, 2024
edcffc0
ci: try automatically re-running tests
porcellus Oct 28, 2024
a8c2011
ci: try automatically re-running tests
porcellus Oct 28, 2024
d0131bd
ci: try automatically re-running tests
porcellus Oct 28, 2024
173f1c7
ci: try automatically re-running tests
porcellus Oct 28, 2024
c9a9cd7
ci: try automatically re-running tests
porcellus Oct 28, 2024
8dc6806
ci: try automatically re-running tests
porcellus Oct 28, 2024
6d32f48
ci: try automatically re-running tests
porcellus Oct 28, 2024
96bf20a
ci: try automatically re-running tests
porcellus Oct 28, 2024
130b779
ci: try automatically re-running tests
porcellus Oct 28, 2024
3ec3861
test: try and improve flaky tests
porcellus Oct 29, 2024
4fa6968
chore: changelog consistency with plugin
porcellus Oct 29, 2024
d7fab0c
feat: make deep-links work
porcellus Oct 29, 2024
09db63e
feat: make deep links work (#1071)
porcellus Oct 29, 2024
20bf94e
adding dev-v9.3.0 tag to this commit to ensure building
sattvikc Oct 29, 2024
3b32bfe
Merge remote-tracking branch 'origin/9.3' into test-cicd/rerun_failed
porcellus Oct 29, 2024
8b6adb4
test: try and improve flaky tests
porcellus Oct 29, 2024
759319c
test: try and improve flaky tests
porcellus Oct 29, 2024
2368fc3
test: try and improve flaky tests
porcellus Oct 29, 2024
3a959ca
test: try and improve flaky tests
porcellus Oct 29, 2024
c9f5d23
test: try and improve flaky tests
porcellus Oct 29, 2024
ea482d9
test: try and improve flaky tests
porcellus Oct 29, 2024
6c14a13
test: try and improve flaky tests
porcellus Oct 29, 2024
0eee097
test: try and improve flaky tests
porcellus Oct 29, 2024
0adb4e6
test: try and improve flaky tests
porcellus Oct 29, 2024
f859e3b
test: try and improve flaky tests
porcellus Oct 29, 2024
b1657a0
test: try and improve flaky tests
porcellus Oct 29, 2024
b1363fc
test: try and improve flaky tests
porcellus Oct 29, 2024
d745cb6
test: try and improve flaky tests
porcellus Oct 29, 2024
bb8ede4
Merge pull request #1072 from supertokens/test-cicd/rerun_failed
porcellus Oct 29, 2024
f9dea95
adding dev-v9.3.0 tag to this commit to ensure building
porcellus Oct 29, 2024
8070d45
checkpoint
tamassoltesz Nov 5, 2024
d2ec5cb
fix: remove vacuuming
tamassoltesz Nov 5, 2024
8ff6eea
chore: merging master to feature branch
tamassoltesz Nov 5, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
15 changes: 10 additions & 5 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,22 +5,27 @@ jobs:
test:
docker:
- image: rishabhpoddar/supertokens_core_testing
- image: rishabhpoddar/oauth-server-cicd
- image: mongo
environment:
MONGO_INITDB_ROOT_USERNAME: root
MONGO_INITDB_ROOT_PASSWORD: root
resource_class: large
parallelism: 4
parameters:
plugin:
type: string
steps:
- checkout
- run: mkdir ~/junit
- run: echo $'\n[mysqld]\ncharacter_set_server=utf8mb4\nmax_connections=10000' >> /etc/mysql/mysql.cnf
- run: apt-get -y -q install postgresql-9.5 postgresql-client-9.5 postgresql-contrib-9.5 sudo
- run: apt-get update && apt-get -y -q install postgresql-9.5 postgresql-client-9.5 postgresql-contrib-9.5 sudo
- run: echo "host all all 0.0.0.0/0 md5" >> /etc/postgresql/9.5/main/pg_hba.conf
- run: echo "listen_addresses='*'" >> /etc/postgresql/9.5/main/postgresql.conf
- run: sed -i 's/^#*\s*max_connections\s*=.*/max_connections = 10000/' /etc/postgresql/9.5/main/postgresql.conf
- run: (cd .circleci/ && ./doTests.sh << parameters.plugin >>)
- store_test_results:
path: ~/junit
- slack/status

mark-passed:
Expand All @@ -44,7 +49,7 @@ workflows:
tags:
only: /dev-v[0-9]+(\.[0-9]+)*/
branches:
ignore: /.*/
only: /test-cicd\/.*/
- test:
plugin: mongodb
name: test-mongodb
Expand All @@ -54,7 +59,7 @@ workflows:
tags:
only: /dev-v[0-9]+(\.[0-9]+)*/
branches:
ignore: /.*/
only: /test-cicd\/.*/
- test:
plugin: postgresql
name: test-postgresql
Expand All @@ -64,7 +69,7 @@ workflows:
tags:
only: /dev-v[0-9]+(\.[0-9]+)*/
branches:
ignore: /.*/
only: /test-cicd\/.*/
- test:
plugin: mysql
name: test-mysql
Expand All @@ -74,7 +79,7 @@ workflows:
tags:
only: /dev-v[0-9]+(\.[0-9]+)*/
branches:
ignore: /.*/
only: /test-cicd\/.*/
- mark-passed:
context:
- slack-notification
Expand Down
22 changes: 20 additions & 2 deletions .circleci/doTests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,8 @@ then
exit 1
fi

mkdir -p ~/junit

someTestsRan=false
while read -u 10 line
do
Expand Down Expand Up @@ -134,6 +136,7 @@ do
cd ../../
git clone [email protected]:supertokens/supertokens-root.git
cd supertokens-root
rm gradle.properties

update-alternatives --install "/usr/bin/java" "java" "/usr/java/jdk-15.0.1/bin/java" 2
update-alternatives --install "/usr/bin/javac" "javac" "/usr/java/jdk-15.0.1/bin/javac" 2
Expand Down Expand Up @@ -161,9 +164,24 @@ do
fi
cd ../
echo $SUPERTOKENS_API_KEY > apiPassword

./startTestingEnv --cicd

if [[ $? -ne 0 ]]
TEST_EXIT_CODE=$?

if [ -d ~/junit ]
then
echo "Copying output from core"
cp ~/supertokens-root/supertokens-core/build/test-results/test/*.xml ~/junit/

if [[ $pluginToTest != "sqlite" ]]
then
echo "Copying output from plugin"
cp ~/supertokens-root/supertokens-$pluginToTest-plugin/build/test-results/test/*.xml ~/junit/
fi
fi

if [[ $TEST_EXIT_CODE -ne 0 ]]
then
echo ""
echo ""
Expand Down Expand Up @@ -195,7 +213,7 @@ do
echo ""
echo ""

cd ../
cd ..
rm -rf supertokens-root

if [[ $currPinnedDb == "sqlite" ]]
Expand Down
1 change: 0 additions & 1 deletion .github/ISSUE_TEMPLATE/bug.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ labels: 'bug'

(A clear and concise description of what the bug is)


## Useful informations

(Write what happened. Add screenshots, stacktraces, videos, anything that can help)
Expand Down
3 changes: 2 additions & 1 deletion .github/ISSUE_TEMPLATE/feature.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,5 @@ labels: 'enhancement'

## Implementation details

(Please outline any details about how this feature would e implemented. If you don't know, you can just skip this section.)
(Please outline any details about how this feature would e implemented. If you don't know, you can just skip this
section.)
Loading
Loading