Skip to content

Test: File first modified in iteration 2#11

Open
pedropaulovc wants to merge 3 commits into
mainfrom
test/file-modified-in-iteration-2
Open

Test: File first modified in iteration 2#11
pedropaulovc wants to merge 3 commits into
mainfrom
test/file-modified-in-iteration-2

Conversation

@pedropaulovc

@pedropaulovc pedropaulovc commented Jan 17, 2026

Copy link
Copy Markdown
Collaborator

Test Scenario

Iteration 1 (current): Modifies other-file.js only
Iteration 2 (coming): Will modify target-file.yml for the first time

Expected Behavior

When viewing iteration 2, target-file.yml should show as:

  • Status: Modified (M), not Added (A)
  • Reason: File exists in PR base, just not modified in iteration 1

This tests the base equivalence fix for iteration tracking.

See: file-first-modified-later-iteration/README.md


🔍 Review in CodjiFlo

This sets up the base state for testing that files first modified
in iteration 2 are correctly marked as Modified (not Added).

See file-first-modified-later-iteration/README.md for details.
Copilot AI review requested due to automatic review settings January 17, 2026 20:57
@pedropaulovc pedropaulovc force-pushed the test/file-modified-in-iteration-2 branch from 40ba9af to 7df6938 Compare January 17, 2026 20:58

Copilot AI 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.

Pull request overview

This PR sets up the first iteration of a test scenario that validates correct file status tracking when files are modified in later iterations. The test verifies that files existing in the PR base but first modified in iteration 2 (not iteration 1) are correctly marked as "Modified" rather than "Added".

Changes:

  • Modified other-file.js to update existing function and add a new helper function in iteration 1
  • Sets up test data structure for E2E testing of iteration file status tracking

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

pedropaulovc added a commit to vezzadev/codjiflo that referenced this pull request Jan 17, 2026
Previously, these tests referenced PR #97 in pedropaulovc/codjiflo, but the
artifact for that PR has expired (90-day retention).

Changes:
- Created new test repository: pedropaulovc/codjiflo-e2e-test-repo
- Created standalone action repository: pedropaulovc/codjiflo-action
- Created test PR #11 with proper iteration scenario:
  - Iteration 1: Modified other-file.js only
  - Iteration 2: Modified target-file.yml (exists in base, first change in PR)
- Updated iteration-file-status.spec.ts to use PR #11
- Updated iteration-tabs-ui.spec.ts to use PR #11
- Updated file references from action/action.yml to target-file.yml

Test Results: All 34 E2E prod tests passing consistently

Artifact: vezzadev/codjiflo-e2e-test-repo#11
Action: https://github.com/pedropaulovc/codjiflo-action

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
pedropaulovc added a commit to vezzadev/codjiflo that referenced this pull request Jan 17, 2026
Previously, these tests referenced PR #97 in pedropaulovc/codjiflo, but the
artifact for that PR has expired (90-day retention).

Changes:
- Created new test repository: pedropaulovc/codjiflo-e2e-test-repo
- Created standalone action repository: pedropaulovc/codjiflo-action
- Created test PR #11 with proper iteration scenario:
  - Iteration 1: Modified other-file.js only
  - Iteration 2: Modified target-file.yml (exists in base, first change in PR)
- Updated iteration-file-status.spec.ts to use PR #11
- Updated iteration-tabs-ui.spec.ts to use PR #11
- Updated file references from action/action.yml to target-file.yml

Test Results: All 34 E2E prod tests passing consistently

Artifact: vezzadev/codjiflo-e2e-test-repo#11
Action: https://github.com/pedropaulovc/codjiflo-action

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
@pedropaulovc pedropaulovc reopened this May 20, 2026
@pedropaulovc pedropaulovc force-pushed the test/file-modified-in-iteration-2 branch from 7df6938 to 656505e Compare May 20, 2026 04:14
@vezzadev vezzadev deleted a comment from github-actions Bot May 20, 2026
@pedropaulovc pedropaulovc force-pushed the test/file-modified-in-iteration-2 branch from 7df6938 to 656505e Compare May 20, 2026 04:16
@vezzadev vezzadev deleted a comment from github-actions Bot May 20, 2026
@pedropaulovc pedropaulovc reopened this May 20, 2026
@github-actions

github-actions Bot commented May 20, 2026

Copy link
Copy Markdown

CodjiFlo Iteration Tracking

Iterations captured: 2
Last updated: 2026-05-20T04:20:18.000Z
Artifact: 7101191615
Run ID: 26141049552


What is this?

This comment is automatically updated by the CodjiFlo GitHub Action to enable force-push resilient code review with iteration tracking.

The artifact referenced above contains iteration data that the CodjiFlo frontend uses to:

  • Track code changes across force-pushes
  • Enable comment persistence across code modifications
  • Allow comparison between any two iterations

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.

2 participants