Skip to content

Codex-generated pull request#42

Merged
rad1092 merged 1 commit into
mainfrom
codex/extend-chart-job-pattern-for-preprocessing
Feb 15, 2026
Merged

Codex-generated pull request#42
rad1092 merged 1 commit into
mainfrom
codex/extend-chart-job-pattern-for-preprocessing

Conversation

@rad1092
Copy link
Copy Markdown
Owner

@rad1092 rad1092 commented Feb 15, 2026

Codex generated this pull request, but encountered an unexpected error after generation. This is a placeholder PR message.


Codex Task

@rad1092 rad1092 merged commit 1aec86b into main Feb 15, 2026
4 checks passed
@rad1092 rad1092 deleted the codex/extend-chart-job-pattern-for-preprocessing branch February 15, 2026 04:30
Copy link
Copy Markdown

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

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: 6741efae77

ℹ️ 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 thread bitnet_tools/ui/app.js

async function runAnalyzeFromPreprocessed(result, fallbackQuestion = '') {
const body = {
input_type: result.input_type || 'csv',
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 Send preprocessed analyze requests as csv input

In runAnalyzeFromPreprocessed, the request keeps input_type: result.input_type, so preprocessed Excel/Document jobs are sent to /api/analyze as excel/document without file_base64. The server’s analyze handler (bitnet_tools/web.py, /api/analyze branch) re-enters raw-file preprocessing for those input types, which raises on empty file_base64, so Excel/Document analysis now fails after a successful preprocess job.

Useful? React with 👍 / 👎.

Comment thread bitnet_tools/ui/app.js
setPreprocessStatusText(`job=${queued.job_id} status=${queued.status}`);
setStatus('입력 전처리 큐 등록 완료');
await pollPreprocessJobOnce();
startPreprocessPolling();
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 Avoid restarting polling after terminal preprocess state

startPreprocessAndAnalyze always calls startPreprocessPolling() after awaiting pollPreprocessJobOnce(). If that first poll already observes a terminal state (especially done for fast CSV preprocess jobs), the timer schedules one more poll and re-runs terminal handling; for done this triggers a second runAnalyzeFromPreprocessed call and duplicate /api/analyze work.

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