Skip to content

Add tire test reporting platform scaffold - #2

Open
aykutmayali wants to merge 1 commit into
masterfrom
codex/generate-tire-test-reporting-platform-project
Open

aykutmayali wants to merge 1 commit into
masterfrom
codex/generate-tire-test-reporting-platform-project

Conversation

@aykutmayali

Copy link
Copy Markdown
Owner

Summary

  • scaffold Quarkus backend with domain model, REST APIs, Flyway migration, and basic service tests
  • add Angular frontend with labs/tests features, core services, and routing
  • provide Docker/docker-compose setup, CI workflow, and architecture documentation

Testing

  • mvn -f backend/pom.xml -q test (fails: unable to resolve Quarkus artifacts due to 403 from Maven Central in sandbox)

Codex Task

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment on lines +22 to +25
if (to != null) {
query.append(" and testDate <= ?3");
}
return find(query.toString(), labId, from, to).list();

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P1 Badge Adjust positional params in filtered test query

When /api/tests is called without all filters, findByFilters always passes three positional arguments to Panache even if the JPQL built in this method does not contain ?1/?2/?3. Panache will still bind those parameters, and JPA throws IllegalArgumentException: Parameter with that position [1] did not exist, making the list endpoint fail whenever any filter is omitted. Consider building the parameter list to match only the placeholders present in the query.

Useful? React with 👍 / 👎.

Comment thread .github/workflows/ci.yml
Comment on lines +29 to +31
- name: Install frontend deps
run: npm ci
working-directory: frontend

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P1 Badge npm ci step fails without package-lock

The CI workflow installs frontend dependencies using npm ci, but the repository does not include frontend/package-lock.json. npm ci exits with ERR! ci can only install with an existing package-lock.json or npm-shrinkwrap.json, so the frontend build job will fail on every run.

Useful? React with 👍 / 👎.

Comment on lines +6 to +9
@Injectable({ providedIn: 'root' })
export class TestRunService {
private apiUrl = '/api/tests';

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P1 Badge Frontend calls API on wrong host in docker-compose

All API calls are built against a hard-coded relative path (/api/tests), but in infra/docker-compose.yml the SPA is served by nginx on port 8081 with no proxy to the backend (backend listens on 8080 and exposes API_BASE_URL that is never used). As a result, browsers will request http://localhost:8081/api/... and receive 404s from nginx rather than the backend, leaving the UI unable to load data in the compose deployment.

Useful? React with 👍 / 👎.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant