chat-demo-legacy's People
chat-demo-legacy's Issues
Update user details on rename command
- Rename profile name (#125).
- Update prior messages.
- Make the notification transient.
Refactor authorisation in dev endpoints
There's currently a direct dependency on adapter. This can be refactored using reader monad.
Investigate resource cleanup tasks
Seeing failures on cleanup-stacks, leaving some remaining resources.
Create and destroy dev environments per PR
Refactor fixtures and library code for requests
- Reusable fixtures for repos and request/response processing.
- Maybe some shared types or library code for request processing, to (a) provide a common structure (parse request -> process request -> generate response) and (b) DRY up code if possible.
- Need some middleware for handling exceptions – which might include a switch to fp-ts RTE monad.
Don't build Docker image when no release required
Maybe use prepublishOnly
script from npm plugin, or exec plugin to build.
Tidy up dev env artifacts
- Docker image tags don't get removed
The Pulumi stack is never deleted(fixed with #110)
Add "joined rooms" feature
- On visiting a new room, user is given the option to "join"
- User can only post to "joined" rooms
- There is a list of joined rooms in a sidebar
- A room can be made "private", in which case: (a) joining must be approved, and (b) discussion cannot be viewed until joined
- A room can be made "public:read", in which case: (a) joining must be approved, but (b) discussions can be viewed without joining
- A room can be made "public:write", in which case anyone can immediately join
- Renaming a room updates the menu
Create prod environment
Dependency Dashboard
This issue lists Renovate updates and detected dependencies. Read the Dependency Dashboard docs to learn more.
Rate-Limited
These updates are currently rate-limited. Click on a checkbox below to force their creation now.
- fix(deps): update all non-major dependencies (
@pulumi/aws
,@pulumi/digitalocean
,@pulumi/pulumi
,@pulumi/random
,@types/express
,@types/jest
,@types/node
,@types/react
,@types/react-dom
,@types/semantic-release
,@typescript-eslint/eslint-plugin
,@typescript-eslint/parser
,antd
,cypress
,eslint
,eslint-config-prettier
,husky
,jest
,lint-staged
,next-auth
,nodemailer
,prettier
,sequelize
,ts-jest
,tsconfig-paths
,typescript
) - chore(deps): update dependency @types/semantic-release to v20
- chore(deps): update dependency semantic-release to v20
- chore(deps): update pulumi/actions action to v4
- fix(deps): update dependency @ant-design/icons to v5
- fix(deps): update dependency @pulumi/awsx to v1
- fix(deps): update dependency antd to v5
- 🔐 Create all rate-limited PRs at once 🔐
Open
These updates have all been created already. Click a checkbox below to force a retry/rebase of any.
- chore(deps): update nextjs monorepo to v13 (major) (
eslint-config-next
,next
) - chore(deps): update node.js to v19
Ignored or Blocked
These are blocked by an existing closed PR and will not be recreated unless you click a checkbox below.
Detected dependencies
dockerfile
images/aws-for-fluent-bit-multiline/Dockerfile
server/Dockerfile
node 18-alpine
github-actions
.github/workflows/build.yml
actions/checkout v3
actions/checkout v3
actions/checkout v3
cypress-io/github-action v4
actions/checkout v3
actions/checkout v3
pulumi/actions v3
actions/checkout v3
pulumi/actions v3
.github/workflows/cleanup-stacks.yml
actions/checkout v3
.github/workflows/deploy-dev.yml
actions/checkout v3
actions/checkout v3
pulumi/actions v3
.github/workflows/destroy-dev.yml
actions/checkout v3
pulumi/actions v3
npm
e2e/package.json
cypress 12.1.0
infra/app/package.json
@pulumi/aws 5.24.0
@pulumi/awsx 0.40.1
@pulumi/pulumi 3.49.0
@pulumi/random 4.8.2
date-fns 2.29.3
ts-node 10.9.1
@pulumi/digitalocean 4.16.0
@types/jest 29.2.4
@types/node 16.18.10
@typescript-eslint/eslint-plugin 5.46.1
@typescript-eslint/parser 5.46.1
eslint 8.30.0
eslint-config-prettier 8.5.0
eslint-plugin-prettier 4.2.1
jest 29.3.1
jest-mock-extended 3.0.1
prettier 2.8.1
ts-jest 29.0.3
tsconfig-paths 4.1.1
package.json
husky 8.0.2
lint-staged 13.1.0
prettier 2.8.1
server/package.json
@ant-design/icons 4.8.0
@next-auth/sequelize-adapter 1.0.7
antd 4.24.5
cookie 0.5.0
date-fns 2.29.3
debug 4.3.4
express 4.18.2
fp-ts 2.13.1
lodash 4.17.21
next 12.3.4
next-auth 4.18.6
nodemailer 6.8.0
react 18.2.0
react-dom 18.2.0
react-inject-env 2.1.0
sequelize 6.27.0
sqlite3 5.1.4
unique-names-generator 4.7.1
@semantic-release-plus/docker 3.1.2
@semantic-release/exec 6.0.3
@types/debug 4.1.7
@types/express 4.17.15
@types/jest 29.2.4
@types/lodash 4.14.191
@types/node 17.0.31
@types/nodemailer 6.4.7
@types/react 18.0.26
@types/react-dom 18.0.9
@types/semantic-release 17.2.4
@types/sequelize 4.28.14
@typescript-eslint/eslint-plugin 5.46.1
@typescript-eslint/parser 5.46.1
eslint 8.30.0
eslint-config-next 12.3.4
eslint-config-prettier 8.5.0
eslint-plugin-boundaries 3.1.0
eslint-plugin-prettier 4.2.1
jest 29.3.1
jest-mock-extended 3.0.1
nodemon 2.0.20
prettier 2.8.1
semantic-release 19.0.5
ts-jest 29.0.3
ts-node 10.9.1
typescript 4.9.4
- Check this box to trigger a request for Renovate to run again on this repository
Remove unused stacks
Maybe use pulumi automation framework to tidy up empty stacks and alert on unused ones.
Add easier sign in option for dev deployments
Sign in by email sometimes entails a delay.
The automated release is failing 🚨
🚨 The automated release from the semantic-release
branch failed. 🚨
I recommend you give this issue a high priority, so other packages depending on you can benefit from your bug fixes and new features again.
You can find below the list of errors reported by semantic-release. Each one of them has to be resolved in order to automatically publish your package. I’m sure you can fix this 💪.
Errors are usually caused by a misconfiguration or an authentication problem. With each error reported below you will find explanation and guidance to help you to resolve it.
Once all the errors are resolved, semantic-release will release your package the next time you push a commit to the semantic-release
branch. You can also manually restart the failed CI job that runs semantic-release.
If you are not sure how to resolve this, here are some links that can help you:
If those don’t help, or if this issue is reporting something you think isn’t right, you can always ask the humans behind semantic-release.
Cannot push to the Git repository.
semantic-release cannot push the version tag to the branch semantic-release
on the remote Git repository with URL https://x-access-token:[secure]@github.com/jbrunton/chat-demo
.
This can be caused by:
- a misconfiguration of the repositoryUrl option
- the repository being unavailable
- or missing push permission for the user configured via the Git credentials on your CI environment
Good luck with your project ✨
Your semantic-release bot 📦🚀
Monitoring and obervability
- Ship logs to Logz.io
- Correlation IDs
- Consider a JSON logging format for prod
- Metrics with Grafana/Prometheus
- Log http responses
See also https://medium.com/@JaouherK/creating-a-human-and-machine-freindly-logging-format-bb6d4bb01dca
Cannot create room until dispatcher is created
Local logs:
error - (api)/src/app/dependencies/index.ts (73:10) @ withReqDeps
error - Error: dispatcher is undefined
at withReqDeps (webpack-internal:///(api)/./src/app/dependencies/index.ts:57:15)
at eval (webpack-internal:///(api)/./src/app/utils/api.ts:35:77)
This is a race condition, because the dispatcher is only created when a user open a websocket.
Store room history in database
Fix unused import eslint checks
Add postgres for storage in staging and production
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.