Skip to content

[codex] Apply audit remediation#45

Merged
Pigbibi merged 1 commit into
mainfrom
codex/report-remediation-20260610
Jun 10, 2026
Merged

[codex] Apply audit remediation#45
Pigbibi merged 1 commit into
mainfrom
codex/report-remediation-20260610

Conversation

@Pigbibi

@Pigbibi Pigbibi commented Jun 10, 2026

Copy link
Copy Markdown
Contributor

Summary

  • apply the 2026-06-10 audit remediation items
  • tighten GitHub workflow permissions, job timeouts, and scheduled/manual concurrency where applicable
  • add focused characterization or governance checks where this repository has runtime-facing changes

Validation

  • targeted local tests and lint checks were run before publishing
  • workflow governance scan passed across the remediation scope
  • git diff --check passed across the remediation scope

See local audit report: QuantStrategyLab-review-2026-06-10.md.

@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.

Reviewed commit: dd1a2ba5cf

ℹ️ 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 +71 to +74
report = check_internal_dependency_matrix.check_matrix(
matrix_pins=matrix_pins,
projects_root=ROOT.parent,
)

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 Avoid requiring sibling checkouts in unit tests

This test assumes every matrix consumer repo exists next to this checkout via ROOT.parent, but the updated validate workflow only checks out this repository before running python3 -m unittest discover -s tests -v, so a normal GitHub Actions run has no BinancePlatform, LongBridgePlatform, etc. siblings. In that context the test fails with all matrix paths in missing_files (reproducible in a clean checkout), blocking every push/PR unless those external repos are manually present.

Useful? React with 👍 / 👎.

@Pigbibi Pigbibi force-pushed the codex/report-remediation-20260610 branch from dd1a2ba to a57b863 Compare June 10, 2026 12:54
@Pigbibi Pigbibi merged commit cb64eb6 into main Jun 10, 2026
2 checks passed
@Pigbibi Pigbibi deleted the codex/report-remediation-20260610 branch June 10, 2026 12:55

@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.

Reviewed commit: a57b8634a6

ℹ️ 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 +1426 to 1428
const response = await fetchWithTimeout(`https://api.github.com/user/orgs?per_page=100&page=${page}`, {
headers: githubHeaders(token),
});

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P2 Badge Keep login working when org lookup times out

When GitHub's org-membership endpoint is slow, this new timeout throws out of fetchGithubOrgLogins, and finishLogin awaits it before checking allowed_logins/admin_logins, so even users authorized explicitly by login get a 500 instead of a session. The function already treats non-OK org responses as non-fatal by returning the orgs collected so far; catch timeout/fetch errors here the same way so org lookup failures only affect org-based authorization.

Useful? React with 👍 / 👎.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant