petermetz / dci-lint Goto Github PK
View Code? Open in Web Editor NEWLints your git repositories for inclusive language.
License: Other
Lints your git repositories for inclusive language.
License: Other
Currently the default is a case sensitive mode of operation.
It would probably be nice to be able to choose this.
The default should also be changed to be case-insensitive.
Requests should be acceptable as a JSON string from the standard input.
This is needed so that GitHub actions can pass said requests in via the command line for evaluation.
The health check endpoint currently does not have an operation ID specified
but we need this to make the generated code more readable.
This would be a breaking change normally but since we are still sub-1.0.0
it's okay to make this kind of change for now.
Assignees: @petermetz
Labels: documentation,bug
Depends on #10
This can be a job that depends on the container image publishing job to
succeed first and then performing the fly.io deployment via that newly
published container image.
Another option could be to use fly.io's NodeJS flavored deployments but it is
unclear whether this would be simpler or in some other way advantageous like
if they had better terms for the free tier for these flavors or something.
This is a bug in the ci.yml GitHub workflow. We need to specify that only the main branch should execute on push
$ yarn tap --ts --timeout=6666 --no-coverage pkg/test-cmd-api-server/src/test/typescript/integration/api-server.test.ts
pkg/test-cmd-api-server/src/test/typescript/integration/api-server.test.ts 1> [2022-12-21T23:22:50.362Z] DEBUG (config-service): Configuration validation OK.
pkg/test-cmd-api-server/src/test/typescript/integration/api-server.test.ts 1> [2022-12-21T23:22:50.363Z] INFO (api-server): Setting tls.DEFAULT_MAX_VERSION to TLSv1.3...
pkg/test-cmd-api-server/src/test/typescript/integration/api-server.test.ts 1> [2022-12-21T23:22:50.364Z] INFO (api-server): wwwRoot: ./node_modules/@dci-lint/cockpit/www/
pkg/test-cmd-api-server/src/test/typescript/integration/api-server.test.ts 1> [2022-12-21T23:22:50.364Z] INFO (api-server): resolvedWwwRoot:
/****/dci-lint/node_modules/@dci-lint/cockpit/www
pkg/test-cmd-api-server/src/test/typescript/integration/api-server.test.ts 1> [2022-12-21T23:22:50.364Z] INFO (api-server): resolvedIndexHtml:
/****/dci-lint/node_modules/@dci-lint/cockpit/www/index.html
pkg/test-cmd-api-server/src/test/typescript/integration/api-server.test.ts 1> [2022-12-21T23:22:50.366Z] INFO (api-server): Cockpit net.AddressInfo { address:
'127.0.0.1', family: 'IPv4', port: 37591 }
pkg/test-cmd-api-server/src/test/typescript/integration/api-server.test.ts 1> [2022-12-21T23:22:50.370Z] INFO (api-server): Starting to install web services...
pkg/test-cmd-api-server/src/test/typescript/integration/api-server.test.ts 1> [2022-12-21T23:22:50.371Z] DEBUG (IgnoreFileParser): Created instance OK
pkg/test-cmd-api-server/src/test/typescript/integration/api-server.test.ts 1> [2022-12-21T23:22:50.371Z] INFO (api-server): DCI Lint API net.AddressInfo { address:
'127.0.0.1', family: 'IPv4', port: 40441 }
pkg/test-cmd-api-server/src/test/typescript/integration/api-server.test.ts 1> [2022-12-21T23:22:50.371Z] INFO (api-server): DCI Lint API reachable http://127.0.0.1:40441
pkg/test-cmd-api-server/src/test/typescript/integration/api-server.test.ts 1> [2022-12-21T23:22:50.371Z] INFO (api-server): Cockpit reachable http://127.0.0.1:37591
pkg/test-cmd-api-server/src/test/typescript/integration/api-server.test.ts 2> Not Found: not found
pkg/test-cmd-api-server/src/test/typescript/integration/api-server.test.ts 2> at
/****/dci-lint/node_modules/express-openapi-validator/src/middlewares/openapi.metadata.ts:58:13
pkg/test-cmd-api-server/src/test/typescript/integration/api-server.test.ts 2> at
/****/dci-lint/node_modules/express-openapi-validator/src/openapi.validator.ts:147:18
pkg/test-cmd-api-server/src/test/typescript/integration/api-server.test.ts 2> at processTicksAndRejections (node:internal/process/task_queues:95:5)
FAIL pkg/test-cmd-api-server/src/test/typescript/integration/api-server.test.ts
✖ Error: Request failed with status code 404
test: pkg/test-cmd-api-server/src/test/typescript/integration/api-server.test.ts
operator: error
at: bound
(/****/dci-lint/node_modules/tape-promise/node_modules/onetime/index.js:30:12)
stack: >-
Error: Request failed with status code 404
at createError (/****/dci-lint/node_modules/axios/lib/core/createError.js:16:15)
at settle (/****/dci-lint/node_modules/axios/lib/core/settle.js:17:12)
at IncomingMessage.handleStreamEnd (/****/dci-lint/node_modules/axios/lib/adapters/http.js:269:11)
at IncomingMessage.emit (node:events:525:35)
at IncomingMessage.emit (node:domain:489:12)
at endReadableNT (node:internal/streams/readable:1359:12)
at processTicksAndRejections (node:internal/process/task_queues:82:21)
pkg/test-cmd-api-server/src/test/typescript/integration/api-server.test.ts 1> [2022-12-21T23:22:50.501Z] INFO (api-server): Shutting down API server ...
pkg/test-cmd-api-server/src/test/typescript/integration/api-server.test.ts 1> [2022-12-21T23:22:50.501Z] INFO (api-server): Closing HTTP server of the API...
pkg/test-cmd-api-server/src/test/typescript/integration/api-server.test.ts 1> [2022-12-21T23:22:50.502Z] INFO (api-server): Close HTTP server of the API OK
pkg/test-cmd-api-server/src/test/typescript/integration/api-server.test.ts 1> [2022-12-21T23:22:50.502Z] INFO (api-server): Closing HTTP server of the cockpit ...
pkg/test-cmd-api-server/src/test/typescript/integration/api-server.test.ts 1> [2022-12-21T23:22:50.502Z] INFO (api-server): Close HTTP server of the cockpit OK
FAIL pkg/test-cmd-api-server/src/test/typescript/integration/api-server.test.ts 1 failed of 1 3s
✖ Error: Request failed with status code 404
The current (default) Dockerfile
pulls the latest
npm package by default but this has issues with release automation where the npm publishing and the dockerfile building are happening in parallel.
We need another src.Dockerfile
that builds from source so that the dev-main
tagged docker images are built with the latest and greatest dev code.
Most likely a regression caused by the migration to Debian from Ubuntu.
Depends on #35
"Health": {
"Status": "unhealthy",
"FailingStreak": 223,
"Log": [
{
"Start": "2022-12-21T00:32:55.422124341-08:00",
"End": "2022-12-21T00:32:55.48794025-08:00",
"ExitCode": 127,
"Output": "/healthcheck.sh: 3: wget: not found\n"
},
{
"Start": "2022-12-21T00:32:56.492328924-08:00",
"End": "2022-12-21T00:32:56.579029061-08:00",
"ExitCode": 127,
"Output": "/healthcheck.sh: 3: wget: not found\n"
},
Assignees: @petermetz
Labels: bug,dependencies
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.